[IMP] revert ir config todo styling move checkbox at the right

bzr revid: al@openerp.com-20120112131459-lt3rmnpannlfbr9i
This commit is contained in:
Antony Lesuisse
2012-01-12 14:14:59 +01:00
parent 059a8068f2
commit b7b04bd17d
2 changed files with 6 additions and 27 deletions
@@ -201,6 +201,7 @@
.openerp .oe-dashboard-config-overview li {
cursor: pointer;
position: relative;
text-indent: 20px;
}
.openerp .oe-dashboard-config-overview li:hover {
cursor: pointer;
@@ -212,26 +213,6 @@
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;
@@ -292,10 +273,6 @@
padding: 2px;
}
.openerp .oe-dashboard-action-content {
padding: 8px;
}
.oe-static-home {
padding: 0.5em 0.5em;
text-align: center;
@@ -72,9 +72,11 @@
<li t-foreach="category_value" t-as="todo"
t-att-class="todo.done ? 'oe-done' : undefined"
t-att-data-id="todo.id"
t-att-title="!todo.done ? _t('Execute task') + ' \'' + todo.name + '\'' : undefined">
<span t-att-class="todo.done ? 'oe-label' : 'oe-label oe-todo'"><t t-esc="todo.done ? _t('Done') : _t('To do')"/></span>
<t t-esc="todo.name"/>
t-att-title="!todo.done ? 'Execute task \'' + todo.name + '\'' : undefined">
<span style="text-decoration: underline;"><t t-esc="todo.name"/></span>
<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"/>
</li>
</ul></dd>
</t>