summaryrefslogtreecommitdiff
path: root/addons/web_mobile/static/src/xml/web_mobile.xml
diff options
context:
space:
mode:
authorJiten (OpenERP) <jra@tinyerp.com>2011-08-19 19:07:06 +0530
committerJiten (OpenERP) <jra@tinyerp.com>2011-08-19 19:07:06 +0530
commit2e400a3aafb8af74d1c5970ae3fbd59fae9f420c (patch)
tree4e04f90665c8cf1a1881e26ac92a5d5be46c70a9 /addons/web_mobile/static/src/xml/web_mobile.xml
parentc6ca8a3b702bce03d04ae15599497eee675bbd81 (diff)
[IMP] Improved login button as custom button.
bzr revid: jra@tinyerp.com-20110819133706-4g0pwjguksee0450
Diffstat (limited to 'addons/web_mobile/static/src/xml/web_mobile.xml')
-rw-r--r--addons/web_mobile/static/src/xml/web_mobile.xml14
1 files changed, 5 insertions, 9 deletions
diff --git a/addons/web_mobile/static/src/xml/web_mobile.xml b/addons/web_mobile/static/src/xml/web_mobile.xml
index 746080315c6..af7cdbdfda0 100644
--- a/addons/web_mobile/static/src/xml/web_mobile.xml
+++ b/addons/web_mobile/static/src/xml/web_mobile.xml
@@ -11,10 +11,10 @@
</t>
<t t-name="Login">
- <div data-role="header" data-theme="b">
+ <div role="banner" data-role="header" data-theme="b">
<h1 aria-level="1" role="heading" tabindex="0" class="ui-title">OpenERP</h1>
</div>
- <div data-role="content">
+ <div role="main" data-role="content">
<fieldset>
<div data-role="fieldcontain">
<label for="database" class="select">Database:</label>
@@ -29,11 +29,7 @@
<input class="ui-input-text ui-body-null ui-corner-all ui-shadow-inset ui-body-c" type="text" name="login" value=""/><br/>
<label class="ui-input-text" for="name">Password:</label>
<input class="ui-input-text ui-body-null ui-corner-all ui-shadow-inset ui-body-c" type="password" name="password" value=""/><br/>
- <a id="login" class="ui-btn ui-btn-corner-all ui-shadow ui-btn-up-c" data-theme="c" href="#" data-role="button">
- <span class="ui-btn-inner ui-btn-corner-all">
- <span class="ui-btn-text">Login</span>
- </span>
- </a>
+ <a id="login" data-theme="c" href="#" data-role="button">Login</a>
<div class="login_error_message ui-btn-inner ui-btn-corner-all">
<span class="ui-btn-text">Bad username or password</span>
</div>
@@ -51,7 +47,7 @@
</t>
<t t-name="Header">
-<div role="banner" class="ui-bar-b ui-header" data-role="header" data-theme="b">
+ <div role="banner" class="ui-bar-b ui-header" data-role="header" data-theme="b">
<h1 aria-level="1" role="heading" tabindex="0" class="ui-title">OpenERP</h1>
<a id="home" class="ui-btn-right jqm-home ui-btn ui-btn-icon-notext ui-btn-corner-all ui-shadow ui-btn-up-b" data-direction="reverse" data-iconpos="notext" data-icon="home" href="#" title="Home" data-theme="b">
<span class="ui-btn-inner ui-btn-corner-all">
@@ -59,7 +55,7 @@
<span class="ui-icon ui-icon-home ui-icon-shadow"></span>
</span>
</a>
-</div>
+ </div>
</t>
<t t-name="Shortcuts">