diff options
| author | Fabien Meghazi <fme@openerp.com> | 2014-01-27 19:16:06 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2014-01-27 19:16:06 +0100 |
| commit | 289074e0c835eb4d5bba2cf5b6da1706c22abc6f (patch) | |
| tree | df59e66edf75e4dece1a28342bfb324ddc8680b2 /addons/auth_oauth/views | |
| parent | c83ad0d1b6c1d683dedbcb477fa15329529f4af0 (diff) | |
[IMP] auth_oauth converted to server side views
bzr revid: fme@openerp.com-20140127181606-236dvru2tcvg42qo
Diffstat (limited to 'addons/auth_oauth/views')
| -rw-r--r-- | addons/auth_oauth/views/auth_oauth_login.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/addons/auth_oauth/views/auth_oauth_login.xml b/addons/auth_oauth/views/auth_oauth_login.xml new file mode 100644 index 00000000000..f969d2f5eed --- /dev/null +++ b/addons/auth_oauth/views/auth_oauth_login.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- vim:fdn=3: +--> +<openerp> + <data> + <template id="auth_oauth.login" inherit_id="web.login" name="OAuth Login buttons"> + <xpath expr="//button[@type='submit']" position="before"> + <div class="pull-right"> + <div t-foreach="providers" t-as="p"> + <a t-att-href="p['auth_link']" class="btn btn-link"> + <i t-att-class="p['css_class']"/> + <t t-esc="p['body']"/> + </a> + </div> + </div> + </xpath> + </template> + </data> +</openerp> |
