changeset 6346:2e1f40e605b0

style: drop unused 'focus' class - controls should be 'form-control' instead Based on work by Dominik Ruf.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 01 Dec 2016 00:40:36 +0100
parents 67e53a272e1a
children ad2a922da0ba
files kallithea/templates/base/base.html kallithea/templates/login.html kallithea/templates/password_reset_confirmation.html
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/base/base.html	Mon Nov 07 19:06:29 2016 +0100
+++ b/kallithea/templates/base/base.html	Thu Dec 01 00:40:36 2016 +0100
@@ -374,14 +374,14 @@
                     <div class="field">
                         <label for="username">${_('Username')}:</label>
                         <div class="input">
-                            ${h.text('username',class_='focus')}
+                            ${h.text('username',class_='form-control')}
                         </div>
 
                     </div>
                     <div class="field">
                         <label for="password">${_('Password')}:</label>
                         <div class="input">
-                            ${h.password('password',class_='focus')}
+                            ${h.password('password',class_='form-control')}
                         </div>
 
                     </div>
--- a/kallithea/templates/login.html	Mon Nov 07 19:06:29 2016 +0100
+++ b/kallithea/templates/login.html	Thu Dec 01 00:40:36 2016 +0100
@@ -25,14 +25,14 @@
                 <div class="form-group">
                     <label class="control-label col-sm-5" for="username">${_('Username')}:</label>
                     <div class="input col-sm-7">
-                        ${h.text('username',class_='form-control focus')}
+                        ${h.text('username',class_='form-control')}
                     </div>
 
                 </div>
                 <div class="form-group">
                     <label class="control-label col-sm-5" for="password">${_('Password')}:</label>
                     <div class="input col-sm-7">
-                        ${h.password('password',class_='form-control focus')}
+                        ${h.password('password',class_='form-control')}
                     </div>
 
                 </div>
--- a/kallithea/templates/password_reset_confirmation.html	Mon Nov 07 19:06:29 2016 +0100
+++ b/kallithea/templates/password_reset_confirmation.html	Thu Dec 01 00:40:36 2016 +0100
@@ -28,21 +28,21 @@
                 <div class="form-group">
                     <label class="control-label" for="token">${_('Code you received in the email')}:</label>
                     <div class="input">
-                        ${h.text('token', class_='focus')}
+                        ${h.text('token', class_='form-control')}
                     </div>
                 </div>
 
                 <div class="form-group">
                     <label class="control-label" for="password">${_('New Password')}:</label>
                     <div class="input">
-                        ${h.password('password',class_='focus')}
+                        ${h.password('password',class_='form-control')}
                     </div>
                 </div>
 
                 <div class="form-group">
                     <label class="control-label" for="password_confirm">${_('Confirm New Password')}:</label>
                     <div class="input">
-                        ${h.password('password_confirm',class_='focus')}
+                        ${h.password('password_confirm',class_='form-control')}
                     </div>
                 </div>