diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-03-11 09:31:45 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-03-11 09:35:35 +0100 |
commit | b23f2007a3c869f8794adc8e9c0ddd879e7bbed1 (patch) | |
tree | c21ef6834a7bd05141610500c388ef5525a752f1 /skins | |
parent | 1394025bdf0e85dc0c14bf55b0285023653fc3f6 (diff) |
Add id for login submit button (#1489676) - make it skin independent
Diffstat (limited to 'skins')
-rw-r--r-- | skins/classic/common.css | 4 | ||||
-rw-r--r-- | skins/classic/templates/login.html | 6 | ||||
-rw-r--r-- | skins/larry/templates/login.html | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/skins/classic/common.css b/skins/classic/common.css index b1ec7c7df..ec58af0a4 100644 --- a/skins/classic/common.css +++ b/skins/classic/common.css @@ -882,6 +882,10 @@ font.bold font-weight: bold; } +.formbuttons +{ + text-align: center; +} /***** onclick menu list *****/ diff --git a/skins/classic/templates/login.html b/skins/classic/templates/login.html index 2dacd48ff..8b549df0d 100644 --- a/skins/classic/templates/login.html +++ b/skins/classic/templates/login.html @@ -16,11 +16,9 @@ <div class="boxcontent"> <roundcube:form name="form" method="post"> -<roundcube:object name="loginform" form="form" /> - -<p style="text-align:center;"><input type="submit" class="button mainaction" value="<roundcube:label name='login' />" /></p> - +<roundcube:object name="loginform" form="form" submit=true /> </form> + </div> </div> diff --git a/skins/larry/templates/login.html b/skins/larry/templates/login.html index 8da941189..64ff6be92 100644 --- a/skins/larry/templates/login.html +++ b/skins/larry/templates/login.html @@ -12,11 +12,9 @@ <roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" /> <roundcube:form name="form" method="post"> -<roundcube:object name="loginform" form="form" size="40" /> - -<p class="formbuttons"><input type="submit" class="button mainaction" value="<roundcube:label name='login' />" /></p> - +<roundcube:object name="loginform" form="form" size="40" submit=true /> </form> + </div> <div class="box-bottom"> |