--- a/web/data/cubicweb.login.css Sat Oct 09 00:38:02 2010 +0200
+++ b/web/data/cubicweb.login.css Sat Oct 09 00:38:07 2010 +0200
@@ -23,7 +23,7 @@
padding: 5px 3px 4px;
}
-div.loginBox {
+div#loginBox {
position : absolute;
top: 15%;
left : 50%;
@@ -49,12 +49,13 @@
background: %(headerBgColor)s url("banner.png") repeat-x top left;
}
-div.loginBox div.loginContent form {
+div#loginBox div.loginContent form {
padding-top: 1em;
width: 90%;
margin: auto;
}
+
.popupLoginBox table td {
padding: 0px 3px;
white-space: nowrap;
@@ -65,12 +66,12 @@
margin: auto;
}
-.loginBox table td {
+#loginBox table td {
padding: 0px 3px 0.6em;
white-space: nowrap;
}
-.loginBox .loginButton {
+#loginBox .loginButton {
margin-top: 0.6em;
}
--- a/web/views/basecomponents.py Sat Oct 09 00:38:02 2010 +0200
+++ b/web/views/basecomponents.py Sat Oct 09 00:38:07 2010 +0200
@@ -126,7 +126,7 @@
self.w(self._html % (self._cw._('login / password'),
self.loginboxid, self._cw._('i18n_login_popup')))
self.wview('logform', rset=self.cw_rset, id=self.loginboxid,
- klass='hidden', title=False, showmessage=False)
+ klass='%s hidden' % self.loginboxid, title=False, showmessage=False)
class HTTPLoginComponent(CookieLoginComponent):
--- a/web/views/basetemplates.py Sat Oct 09 00:38:02 2010 +0200
+++ b/web/views/basetemplates.py Sat Oct 09 00:38:07 2010 +0200
@@ -450,7 +450,7 @@
def call(self, id, klass, title=True, showmessage=True):
w = self.w
- w(u'<div id="%s" class="popupLoginBox %s">' % (id, klass))
+ w(u'<div id="%s" class="%s">' % (id, klass))
if title:
stitle = self._cw.property_value('ui.site-title')
if stitle: