Antony Lesuisse (OpenERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-dashboard-ahu into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-dashboard-ahu/+merge/87127
style
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-dashboard-ahu/+merge/87127
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-dashboard-ahu.
=== modified file 'addons/web_dashboard/static/src/css/dashboard.css'
--- addons/web_dashboard/static/src/css/dashboard.css 2011-12-22 08:59:50 +0000
+++ addons/web_dashboard/static/src/css/dashboard.css 2011-12-30 10:11:24 +0000
@@ -368,5 +368,14 @@
-o-box-shadow: 0 1px 2px #bbb;
box-shadow: 0 1px 2px #bbb;
}
+/* changing icon for the change layout button */
+
+.openerp .oe-dashboard-link-change_layout, .openerp .oe-dashboard-link-reset {
+ padding-top: 1px;
+ height: 22px;
+}
+.openerp .oe-dashboard-link-change_layout > *, .openerp .oe-dashboard-link-reset > *{
+ vertical-align: middle;
+}
=== modified file 'addons/web_dashboard/static/src/xml/web_dashboard.xml'
--- addons/web_dashboard/static/src/xml/web_dashboard.xml 2011-12-22 08:59:50 +0000
+++ addons/web_dashboard/static/src/xml/web_dashboard.xml 2011-12-30 10:11:24 +0000
@@ -1,13 +1,13 @@
<template>
<t t-name="DashBoard">
<div class="oe-dashboard-links">
- <button type="button" class="oe_button oe-dashboard-link-reset" t-att-style="view.fields_view.custom_view_id ? null : 'display: none'">
- <img src="/web/static/src/img/icons/STOCK_GOTO_FIRST.png" width="16" height="16"/>
- <span>Reset</span>
+ <button type="button" class="button oe-dashboard-link-reset" title="Reset Layout.." t-att-style="view.fields_view.custom_view_id ? null : 'display: none'">
+ <img src="/web_dashboard/static/src/img/layout_2-1.png" width="16" height="16"/>
+ <span> Reset Layout </span>
</button>
- <button type="button" class="oe_button oe-dashboard-link-change_layout">
- <img src="/web/static/src/img/icons/gtk-edit.png" width="16" height="16"/>
- <span>Change layout</span>
+ <button type="button" class="button oe-dashboard-link-change_layout" title="Change Layout..">
+ <img src="/web_dashboard/static/src/img/layout_1-1-1.png" width="16" height="16"/>
+ <span> Change Layout </span>
</button>
</div>
<table t-att-data-layout="node.attrs.style" t-attf-class="oe-dashboard oe-dashboard-layout_#{node.attrs.style}" cellspacing="0" cellpadding="0" border="0">
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp