[imp] Moving the blockquote in the center of the screen / moving right pannel to top

bzr revid: ahu@openerp.com-20111221154625-zyj0f1dnadrugxv9
This commit is contained in:
Antoine Huvelle
2011-12-21 16:46:25 +01:00
parent aac18d7176
commit cb1cae8b20
+19 -17
View File
@@ -415,6 +415,23 @@
<t t-name="ViewManager">
<table class="view-manager-main-table" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="oe_view_manager_menu_tips" colspan="2">
<blockquote t-if="self.action.help and !self.flags.low_profile
and !(self.action.id in self.session.hidden_menutips)">
<p><t t-esc="self.action.help"/></p>
<div>
<button type="button" name="hide">Hide this tip</button>
<button type="button" name="disable">Disable all tips</button>
</div>
</blockquote>
</td>
<td rowspan="3" class="view-manager-main-sidebar" height="100%">
<t t-foreach="views" t-as="view">
<div t-attf-id="#{prefix}_sidebar_#{view.view_type}" class="sidebar-main-div closed-sidebar" style="display: none"/>
</t>
</td>
</tr>
<tr>
<td class="view-manager-main-content">
<div class="oe-view-manager-header">
@@ -435,11 +452,7 @@
<div t-attf-id="#{prefix}_view_#{view.view_type}"/>
</t>
</td>
<td class="view-manager-main-sidebar" height="100%">
<t t-foreach="views" t-as="view">
<div t-attf-id="#{prefix}_sidebar_#{view.view_type}" class="sidebar-main-div closed-sidebar" style="display: none"/>
</t>
</td>
</tr>
</tbody>
</table>
@@ -447,18 +460,7 @@
<t t-extend="ViewManager" t-name="ViewManagerAction">
<t t-jquery=".view-manager-main-table tbody" t-operation="prepend">
<tr>
<td class="oe_view_manager_menu_tips" colspan="2">
<blockquote t-if="self.action.help and !self.flags.low_profile
and !(self.action.id in self.session.hidden_menutips)">
<p><t t-esc="self.action.help"/></p>
<div>
<button type="button" name="hide">Hide this tip</button>
<button type="button" name="disable">Disable all tips</button>
</div>
</blockquote>
</td>
</tr>
<!-- was here before -->
</t>
<t t-jquery="h2.oe_view_title" t-operation="prepend">
<a t-if="self.flags.display_title !== false" class="oe-shortcut-toggle" title="Add / Remove Shortcut..."