summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml78
1 files changed, 47 insertions, 31 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 98d99f74ef6..9b361f13e8f 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -17,35 +17,39 @@
</div>
</div>
</t>
-<t t-name="Interface">
- <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="main_table">
- <tr>
- <td colspan="2" valign="top">
- <div id="oe_header" class="header"></div>
- <div id="oe_menu" class="menu"></div>
- </td>
- </tr>
- <tr>
- <td colspan="2" valign="top" height="100%">
+<t t-name="WebClient">
+ <div class="oe_webclient">
+ <div class="oe_topbar">
+ <div class="oe_menu_placeholder"/>
+ <div class="oe_dropdown_menu_placeholder"/>
+ </div>
+ <div id="oe_header" class="header" style="display: none"></div>
+ <div class="oe_leftbar">
+ <!--
+ <a href="#" class="oe_logo"><img src="img/logo.png"/></a>
+
+ <div class="oe_secondary_menu"/>
+
+ <div class="oe_footer">
+ Powered by <a href="http://www.openerp.com" class="openerp"><span class="red">Open</span>ERP</a>
+ </div>
+ -->
+ </div>
+ <div class="oe_application">
+ <!-- This table will be removed as soon as we decide what will happen to the sidebar -->
<table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
<tr>
- <td valign="top" id="oe_secondary_menu" class="secondary_menu"></td>
+ <td valign="top" class="secondary_menu">
+ <div class="oe_secondary_menu"/>
+ </td>
<td valign="top" class="oe-application-container">
<div id="oe_app" class="oe-application">
</div>
</td>
</tr>
</table>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div id="oe_footer" class="oe_footer">
- <p class="oe_footer_powered">Powered by <a href="http://www.openerp.com">OpenERP</a></p>
- </div>
- </td>
- </tr>
- </table>
+ </div>
+ </div>
</t>
<t t-name="Loading">
<div id="oe_loading">
@@ -372,22 +376,17 @@
t-att-data-shortcut-id="shortcut.id"
><t t-esc="shortcut.name"/></li>
</ul>
+
<t t-name="Menu">
- <table align="center">
- <tr>
- <td t-foreach="widget.data.data.children" t-as="menu">
+ <ul class="oe_menu" t-if="widget.data">
+ <li t-foreach="widget.data.data.children" t-as="menu">
<a href="#" t-att-data-menu="menu.id">
<t t-esc="menu.name"/>
</a>
- </td>
- </tr>
- </table>
+ </li>
+ </ul>
</t>
<t t-name="Menu.secondary">
- <div t-attf-class="oe_toggle_secondary_menu">
- <span class="oe_menu_fold" title="Fold menu"><t t-raw="'&amp;laquo;'"/></span>
- <span class="oe_menu_unfold" title="Unfold menu"><t t-raw="'&amp;raquo;'"/></span>
- </div>
<div t-foreach="widget.data.data.children" t-as="menu" style="display: none" class="oe_secondary_menu" t-att-data-menu-parent="menu.id">
<t t-foreach="menu.children" t-as="menu">
<t t-set="classname" t-translation="off">oe_secondary_menu_item</t>
@@ -410,6 +409,23 @@
</t>
</div>
</t>
+
+<t t-name="DropDownMenu">
+ <ul class="oe_dropdown_menu oe_topbar_item">
+ <li class="oe_dropdown">
+ <a href="#" class="oe_dropdown_toggle">
+ <img class="oe_topbar_avatar" src="http://www.amigrave.com/ClarkGableSmall.jpg"/>
+ Clark Gable
+ </a>
+ <ul class="oe_dropdown_options">
+ <!--<li><a href="#" data-menu="profile">Profile</a></li>-->
+ <li><a href="#" data-menu="settings">Settings</a></li>
+ <li><a href="#" data-menu="logout">Log out</a></li>
+ </ul>
+ </li>
+ </ul>
+</t>
+
<t t-name="ViewManager">
<table class="view-manager-main-table" cellpadding="0" cellspacing="0">
<tbody>