summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-01-12 14:14:59 +0100
committerAntony Lesuisse <al@openerp.com>2012-01-12 14:14:59 +0100
commitb7b04bd17db068176c8671792fb2e80dfcbcc7fe (patch)
treebb5fc77bdb7b9909a5f969cdd24d0a105f3d10eb /addons/web_dashboard/static/src
parent059a8068f242dd8e3a6d7e5fc453073ff251d016 (diff)
[IMP] revert ir config todo styling move checkbox at the right
bzr revid: al@openerp.com-20120112131459-lt3rmnpannlfbr9i
Diffstat (limited to 'addons/web_dashboard/static/src')
-rw-r--r--addons/web_dashboard/static/src/css/dashboard.css25
-rw-r--r--addons/web_dashboard/static/src/xml/web_dashboard.xml8
2 files changed, 6 insertions, 27 deletions
diff --git a/addons/web_dashboard/static/src/css/dashboard.css b/addons/web_dashboard/static/src/css/dashboard.css
index 96ed4bed6fd..fe31f0a9a87 100644
--- a/addons/web_dashboard/static/src/css/dashboard.css
+++ b/addons/web_dashboard/static/src/css/dashboard.css
@@ -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;
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml
index 76857f07377..4db96d5ebbe 100644
--- a/addons/web_dashboard/static/src/xml/web_dashboard.xml
+++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml
@@ -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>