summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-01-11 16:59:33 +0100
committerFabien Meghazi <fme@openerp.com>2012-01-11 16:59:33 +0100
commit36ff9d800f086ada3fed1aa490933a4125fd7d01 (patch)
tree5312cc5fa22f3909641aced76d11e2dda3f76d5c /addons/web_dashboard/static/src
parent7c19651b7912b8545d217752c9fee8beca51e7d8 (diff)
parentee54da8b9026b51cdfbcff0bddd90a700915403d (diff)
[IMP] Restyling of the config todo list
bzr revid: fme@openerp.com-20120111155933-bh30vkmnxx53wrka
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.xml6
2 files changed, 26 insertions, 5 deletions
diff --git a/addons/web_dashboard/static/src/css/dashboard.css b/addons/web_dashboard/static/src/css/dashboard.css
index fe31f0a9a87..96ed4bed6fd 100644
--- a/addons/web_dashboard/static/src/css/dashboard.css
+++ b/addons/web_dashboard/static/src/css/dashboard.css
@@ -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;
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml
index 5d503d94f1e..76857f07377 100644
--- a/addons/web_dashboard/static/src/xml/web_dashboard.xml
+++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml
@@ -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>