summaryrefslogtreecommitdiff
path: root/addons/base_dashboard/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-07-14 14:53:46 +0200
committerXavier Morel <xmo@openerp.com>2011-07-14 14:53:46 +0200
commit79534ceae82b995f451d640954bcc2f43de1bdc7 (patch)
treecff61e35ffc30ae0a8d5b23c132d88a5939b318c /addons/base_dashboard/static/src/xml
parent07eda5cffe4b9f82113ef2bd1850e044df15a189 (diff)
[IMP] looks of config progress status
bzr revid: xmo@openerp.com-20110714125346-jn6wfozo8faw4x1x
Diffstat (limited to 'addons/base_dashboard/static/src/xml')
-rw-r--r--addons/base_dashboard/static/src/xml/base_dashboard.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/addons/base_dashboard/static/src/xml/base_dashboard.xml b/addons/base_dashboard/static/src/xml/base_dashboard.xml
index 8d751f5ac81..21bc457480f 100644
--- a/addons/base_dashboard/static/src/xml/base_dashboard.xml
+++ b/addons/base_dashboard/static/src/xml/base_dashboard.xml
@@ -65,19 +65,20 @@
</form>
</t>
<div t-name="ConfigOverview" class="oe-dashboard-config-overview">
- <div class="oe-config-progress" t-att-data-completion="completion"/>
+ <div class="oe-config-progress">
+ <h6 class="oe-config-progress-title">
+ <t t-esc="Math.round(completion)"/>% progress
+ </h6>
+ <div class="oe-config-progress-bar" t-att-data-completion="completion"/>
+ </div>
<dl>
<t t-foreach="groups" t-as="category">
<dt><t t-esc="category"/></dt>
<dd><ul>
<li t-foreach="category_value" t-as="todo"
- t-att-class="todo.to_do ? 'ui-state-error ui-priority-primary' : ''"
+ t-att-class="todo.done ? 'oe-done' : undefined"
t-att-data-action="todo.action">
- <span t-if="todo.done" class="ui-icon ui-icon-circle-check"/>
- <span t-if="todo.to_do" class="ui-icon ui-icon-circle-close"/>
- <span t-att-class="todo.to_do ? 'ui-state-error-text' : ''">
- <t t-esc="todo.name"/>
- </span>
+ <t t-esc="todo.name"/>
</li>
</ul></dd>
</t>