[IMP] changing icons for the column mode selection / changes in css and xml
authorAntoine Huvelle <ahu@openerp.com>
Mon, 19 Dec 2011 15:18:04 +0000 (16:18 +0100)
committerAntoine Huvelle <ahu@openerp.com>
Mon, 19 Dec 2011 15:18:04 +0000 (16:18 +0100)
bzr revid: ahu@openerp.com-20111219151804-tmn9xxh98dj6382f

addons/web_dashboard/static/src/css/dashboard.css
addons/web_dashboard/static/src/xml/web_dashboard.xml

index 1ac30e9..273d65e 100644 (file)
   -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;
+}
 
 
index 5f98df6..e96016f 100644 (file)
@@ -1,13 +1,13 @@
 <template>
 <t t-name="DashBoard">
     <div class="oe-dashboard-links">
-        <button type="button" class="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="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">