diff options
| author | Fabien Meghazi <fme@openerp.com> | 2014-01-14 15:52:10 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2014-01-14 15:52:10 +0100 |
| commit | 0275c4ecef2a319a6f5f3d8b77a4fbb1aede6e0c (patch) | |
| tree | 5f637c5852c2dd4b228e7a8ca9891f5d945cadc1 | |
| parent | cd213eb6521fd54082c97eb467ce9f8d2f6d3e64 (diff) | |
[IMP] Improve login footer
bzr revid: fme@openerp.com-20140114145210-omve768o1t50xjdk
| -rw-r--r-- | addons/web/static/src/css/base.css | 5 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 3 | ||||
| -rw-r--r-- | addons/web/views/webclient_templates.xml | 5 |
3 files changed, 12 insertions, 1 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 52a84f9a0ff..916497f1e82 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -899,7 +899,7 @@ background-image: -moz-linear-gradient(top, #fc8787, maroon); background-image: -ms-linear-gradient(top, #fc8787, maroon); background-image: -o-linear-gradient(top, #fc8787, maroon); - background-image: linear-gradient(to bottom, #fc8787, maroon); + background-image: linear-gradient(to bottom, #fc8787, #800000); } .openerp .navbar .oe_topbar_anonymous_login a { display: block; @@ -3128,6 +3128,9 @@ div.ui-widget-overlay { .oe_single_form_footer { position: absolute; bottom: -30px; + right: 0px; + width: 100%; + text-align: center; } .oe_login_form { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 4e49c8e3c94..7d4d1f87297 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2514,6 +2514,9 @@ div.ui-widget-overlay .oe_single_form_footer position: absolute bottom: -30px + right: 0px + width: 100% + text-align: center .oe_login_form @include single-form(400px) diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index 5aacf1d6c10..bc60900fc53 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -82,6 +82,11 @@ <hr/> <input type="hidden" name="redirect" t-att-value="redirect"/> <button type="submit" class="btn btn-primary pull-right">Log in</button> + + <div class="oe_single_form_footer"> + <a class="oe_login_manage_db" href="/web/database/manager{% if debug %}?debug{% endif %}">Manage Databases</a> | + <a href="http://www.openerp.com" target="_blank">Powered by <span>OpenERP</span></a> + </div> </form> </div> |
