* adjust for todo block.

This commit is contained in:
wangyidong
2018-01-31 16:31:41 +08:00
parent 30bc8d7709
commit ed2ecf6fd6
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -87,10 +87,10 @@
var isFinished = $liTag.hasClass('active');
var todoID = $liTag.data('id');
var methodName = isFinished ? 'activate' : 'finish';
$liTag.removeClass('active');
$.get(createLink('todo', methodName, "todoID=" + todoID), function()
{
if(!isFinished) $liTag.addClass('active');
if(isFinished) $liTag.removeClass('active');
});
});
});
-2
View File
@@ -343,14 +343,12 @@ div.form-control[contenteditable='true'] {height: auto; text-align: left; outlin
/* Panel */
.panel > .table > thead > tr > th,.panel > form > .table > thead > tr > th {background-color: transparent;}
.panel > .panel-heading,.nav-stacked.nav-primary>li.nav-heading,.list > header {background-color: #f1f1f1;}
.panel-pure {box-shadow: none; border: 0; border-radius: 0;}
.panel-pure .panel-heading {background: transparent;}
.panel-actions {display: inline-block; margin-left: 8px;}
.panel-actions .btn-mini {margin-top: -3px;}
.panel-actions.pull-right{display: block; margin-top: -10px;margin-right: -10px;}
.panel-actions.pull-right .btn{margin-top: 3px;}
.panel-heading > h1,.panel-heading > h2,.panel-heading > h3,.panel-heading > h4,.panel-heading > h5,.panel-heading > h6 {margin: 0}
.panel-actions > .btn.btn-link:hover{background: none; box-shadow: none;}
.panel-actions a {display: inline-block;}
.panel .table {margin-bottom: 0; border: none!important}