summaryrefslogtreecommitdiff
path: root/addons/web_mobile/static/src/xml/web_mobile.xml
diff options
context:
space:
mode:
authorJiten (OpenERP) <jra@tinyerp.com>2011-08-31 12:06:08 +0530
committerJiten (OpenERP) <jra@tinyerp.com>2011-08-31 12:06:08 +0530
commitd7ed83bd7cdd63b671f9ec3fd50552e85ba906d4 (patch)
tree0d20bd5f6984b946ecea50d236463b9fec4abd60 /addons/web_mobile/static/src/xml/web_mobile.xml
parentf9a31ab33e1759cbbdab9da3f396d23b0347f04a (diff)
[IMP] Improved the code to fixed position of header and footer.
bzr revid: jra@tinyerp.com-20110831063608-fvxutezjxt7sjcyf
Diffstat (limited to 'addons/web_mobile/static/src/xml/web_mobile.xml')
-rw-r--r--addons/web_mobile/static/src/xml/web_mobile.xml22
1 files changed, 16 insertions, 6 deletions
diff --git a/addons/web_mobile/static/src/xml/web_mobile.xml b/addons/web_mobile/static/src/xml/web_mobile.xml
index aca6ed04c9e..59e54e66e37 100644
--- a/addons/web_mobile/static/src/xml/web_mobile.xml
+++ b/addons/web_mobile/static/src/xml/web_mobile.xml
@@ -41,24 +41,29 @@
</t>
<t t-name="HomePage">
- <div id="oe_header"></div>
+ <div data-role="header" data-theme="b" data-position="fixed">
+ <h1>OpenERP</h1>
+ <a id="home" class="ui-btn-right" data-iconpos="notext" data-icon="home" href="#oe_home" title="Home" data-theme="b"></a>
+ </div>
<div data-role="content">
<div id="oe_shortcuts"></div>
<div id="oe_menu"></div>
<div id="oe_options"></div>
</div>
- <div id="oe_footer"></div>
+ <div data-role="footer" data-theme="b" data-position="fixed">
+ <h1>Footer</h1>
+ </div>
</t>
<t t-name="Header">
- <div data-role="header" data-theme="b">
+ <div data-role="header" data-theme="b" data-position="fixed">
<h1>OpenERP</h1>
<a id="home" class="ui-btn-right" data-iconpos="notext" data-icon="home" href="#oe_home" title="Home" data-theme="b"></a>
</div>
</t>
<t t-name="Footer">
- <div data-role="footer" data-theme="b">
+ <div data-role="footer" data-theme="b" data-position="fixed">
<h1>Footer</h1>
</div>
</t>
@@ -100,8 +105,7 @@
</t>
<t t-name="Menu.secondary">
- <div id="oe_header"></div>
- <div data-role="header" data-theme="b">
+ <div data-role="header" data-theme="b" data-position="fixed">
<h1>OpenERP</h1>
<a id="home" class="ui-btn-right" data-iconpos="notext" data-icon="home" href="#" title="Home" data-theme="b"></a>
</div>
@@ -114,6 +118,9 @@
</li>
</ul>
</div>
+ <div data-role="footer" data-theme="b" data-position="fixed">
+ <h1>Footer</h1>
+ </div>
</t>
<t t-name="Options">
@@ -144,6 +151,9 @@
</li>
</ul>
</div>
+ <div data-role="footer" data-theme="b" data-position="fixed">
+ <h1>Footer</h1>
+ </div>
</t>
<t t-name="FormView">