[IMP] Restyling of the config todo list

bzr revid: fme@openerp.com-20120111155933-bh30vkmnxx53wrka
This commit is contained in:
Fabien Meghazi
2012-01-11 16:59:33 +01:00
2 changed files with 26 additions and 5 deletions
@@ -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;
@@ -273,6 +292,10 @@
padding: 2px;
}
.openerp .oe-dashboard-action-content {
padding: 8px;
}
.oe-static-home {
padding: 0.5em 0.5em;
text-align: center;
@@ -72,10 +72,8 @@
<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 ? '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"/>
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"/>
</li>
</ul></dd>