summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src
diff options
context:
space:
mode:
authorMinh Tran <mit@openerp.com>2012-01-11 12:07:43 +0100
committerMinh Tran <mit@openerp.com>2012-01-11 12:07:43 +0100
commitd63c20b73de27d5b272ce8b1442044cc8d5fbb93 (patch)
treeab98dcf3a6b0881ac86c9c85674858673126184c /addons/web_dashboard/static/src
parentae446d476d9fa8e94e9c2fd472325b4ba8129fd2 (diff)
Restyling of the config todo list
bzr revid: mit@openerp.com-20120111110743-ir7lg59is1y9fegp
Diffstat (limited to 'addons/web_dashboard/static/src')
-rw-r--r--addons/web_dashboard/static/src/css/dashboard.css21
-rw-r--r--addons/web_dashboard/static/src/xml/web_dashboard.xml4
2 files changed, 21 insertions, 4 deletions
diff --git a/addons/web_dashboard/static/src/css/dashboard.css b/addons/web_dashboard/static/src/css/dashboard.css
index fe31f0a9a87..955f864093f 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;
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml
index 5d503d94f1e..a342f4312b1 100644
--- a/addons/web_dashboard/static/src/xml/web_dashboard.xml
+++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml
@@ -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>