From 137310ed4a4e0fed5a20f1520662f2b3a8bd7b4f Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 12 Jan 2012 13:54:16 +0100 Subject: [FIX] adapt auth_openid to new login page bzr revid: chs@openerp.com-20120112125416-uixisb5sks604ejg --- addons/auth_openid/static/src/xml/auth_openid.xml | 33 ++++++++++++++++++----- 1 file changed, 27 insertions(+), 6 deletions(-) (limited to 'addons/auth_openid/static/src/xml/auth_openid.xml') diff --git a/addons/auth_openid/static/src/xml/auth_openid.xml b/addons/auth_openid/static/src/xml/auth_openid.xml index 6fbab72e831..34894555668 100644 --- a/addons/auth_openid/static/src/xml/auth_openid.xml +++ b/addons/auth_openid/static/src/xml/auth_openid.xml @@ -3,7 +3,7 @@ - +
  • Password
  • Google
  • @@ -30,14 +30,35 @@ + + +
  • + Google Apps Domain +
  • +
  • + +
  • +
  • + Username +
  • +
  • + +
  • +
  • + OpenID URL +
  • +
  • + +
  • +
    +
    - - //this.addClass('auth_choice'); // XXX for some reason, not all tr tags are HTMLElement's and thus, jQuery decide to not change the class... - this.attr('class', 'auth_choice'); + this.each(function() { - var $i = $(this); - $i.attr('data-provider', $i.find('input').attr('name')); + var $i = $(this), + dp = $i.find('input').attr('name'); + $i.add($i.prev()).attr('class', 'auth_choice').attr('data-provider', dp); }); -- cgit v1.2.3