Restyling of the config todo list

bzr revid: mit@openerp.com-20120111110743-ir7lg59is1y9fegp
This commit is contained in:
Minh Tran 2012-01-11 12:07:43 +01:00
parent ae446d476d
commit d63c20b73d
2 changed files with 21 additions and 4 deletions

View File

@ -201,7 +201,6 @@
.openerp .oe-dashboard-config-overview li {
cursor: pointer;
position: relative;
text-indent: 20px;
}
.openerp .oe-dashboard-config-overview li:hover {
cursor: pointer;
@ -213,6 +212,26 @@
color: #999999;
}
.openerp span.oe-label {
display: inline-block;
padding: 1px 3px 2px;
min-width: 38px;
font-size: 10px;
font-weight: bold;
color: white;
text-transform: uppercase;
text-align: center;
white-space: nowrap;
background-color: #BFBFBF;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.openerp span.oe-todo {
background: #7F82AC;
}
.openerp .oe-dashboard-layout_2-1 .index_0 .oe-dashboard-config-overview ul,
.openerp .oe-dashboard-layout_1-2 .index_1 .oe-dashboard-config-overview ul {
-moz-column-count: 2;

View File

@ -73,9 +73,7 @@
t-att-class="todo.done ? 'oe-done' : undefined"
t-att-data-id="todo.id"
t-att-title="!todo.done ? 'Execute task \'' + todo.name + '\'' : undefined">
<input type="checkbox" t-att-value="todo.id"
t-att-title="!todo.done ? 'Mark this task as done' : undefined"
t-att-checked="todo.done ? 'checked' : undefined"/>
<span t-att-class="todo.done ? 'oe-label' : 'oe-label oe-todo'"><t t-esc="todo.done ? 'Done' : 'To do'"/></span>
<t t-esc="todo.name"/>
</li>
</ul></dd>