changeset 6411:302ce4a23e57

style: drop dead 'fields' class references The last references to the class do not match anything essential, and all css styles can thus also be removed. Based on work by Dominik Ruf.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 24 Dec 2016 17:26:48 +0100
parents 8656c0073e17
children 482b6ac31603
files kallithea/public/css/style.css kallithea/templates/admin/repo_groups/repo_group_edit_perms.html kallithea/templates/admin/repos/repo_edit_caches.html kallithea/templates/admin/repos/repo_edit_remote.html kallithea/templates/admin/user_groups/user_group_edit_perms.html kallithea/templates/base/base.html
diffstat 6 files changed, 6 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Sat Dec 24 17:26:48 2016 +0100
+++ b/kallithea/public/css/style.css	Sat Dec 24 17:26:48 2016 +0100
@@ -1484,7 +1484,6 @@
 #quick_login .links .logout {
 }
 
-#quick_login div.form div.fields,
 #quick_login div.form div.form-horizontal {
     padding-top: 2px;
     padding-left: 10px;
@@ -1512,7 +1511,6 @@
     padding: 5px 7px 4px;
 }
 
-#quick_login div.form div.fields div.buttons,
 #quick_login div.form div.form-horizontal div.buttons {
     clear: both;
     overflow: hidden;
@@ -1592,7 +1590,6 @@
     padding: 7px 7px 6px;
 }
 
-#register div.form div.fields div.buttons,
 #register div.form div.form-horizontal div.buttons {
     clear: both;
     overflow: hidden;
@@ -3196,12 +3193,10 @@
     padding: 0 20px 10px;
 }
 
-#content div.panel div.form div.fields,
 #content div.panel div.form div.form-horizontal,
 #login div.form-horizontal,
 #login div.form-horizontal div.form-group,
 #register div.form,
-#register div.form div.fields,
 #register div.form div.form-horizontal {
     clear: both;
     overflow: hidden;
@@ -3265,9 +3260,7 @@
 }
 
 div.form div.form-horizontal div.form-group div.button input,
-#content div.panel div.form div.fields div.buttons input
-#content div.panel div.form div.form-horizontal div.buttons input
-div.form div.fields div.buttons input,
+#content div.panel div.form div.form-horizontal div.buttons input,
 div.form div.form-horizontal div.buttons input,
 #content div.panel div.action div.button input {
     font-size: 11px;
@@ -3276,14 +3269,11 @@
 }
 
 div.form div.form-horizontal div.form-group div.highlight,
-#content div.panel div.form div.fields div.buttons div.highlight,
 #content div.panel div.form div.form-horizontal div.buttons div.highlight {
     display: inline;
 }
 
-#content div.panel div.form div.fields div.buttons,
 #content div.panel div.form div.form-horizontal div.buttons,
-div.form div.fields div.buttons,
 div.form div.form-horizontal div.buttons {
     margin: 10px 10px 0 200px;
     padding: 0;
@@ -3379,7 +3369,6 @@
 }
 
 #login div.form div.buttons input,
-#register div.form div.fields div.buttons input,
 #register div.form div.form-horizontal div.buttons input {
     color: #000;
     font-size: 1em;
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html	Sat Dec 24 17:26:48 2016 +0100
+++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html	Sat Dec 24 17:26:48 2016 +0100
@@ -1,6 +1,6 @@
 ${h.form(url('edit_repo_group_perms', group_name=c.repo_group.group_name))}
 <div class="form">
-    <div class="fields">
+    <div>
         <div>
             <table id="permissions_manage" class="noborder">
                 <tr>
--- a/kallithea/templates/admin/repos/repo_edit_caches.html	Sat Dec 24 17:26:48 2016 +0100
+++ b/kallithea/templates/admin/repos/repo_edit_caches.html	Sat Dec 24 17:26:48 2016 +0100
@@ -1,6 +1,6 @@
 ${h.form(url('update_repo_caches', repo_name=c.repo_name))}
 <div class="form">
-   <div class="fields">
+   <div>
        ${h.submit('reset_cache_%s' % c.repo_info.repo_name,_('Invalidate Repository Cache'),class_="btn btn-default btn-sm")}
       <div class="text-muted" style="border:none">
       <ul>
--- a/kallithea/templates/admin/repos/repo_edit_remote.html	Sat Dec 24 17:26:48 2016 +0100
+++ b/kallithea/templates/admin/repos/repo_edit_remote.html	Sat Dec 24 17:26:48 2016 +0100
@@ -4,7 +4,7 @@
 </div>
 ${h.form(url('edit_repo_remote_update', repo_name=c.repo_name))}
 <div class="form">
-    <div class="fields">
+    <div>
         ${h.submit('remote_pull_%s' % c.repo_info.repo_name,
             _('Pull Changes from Remote Repository'),
             class_="btn btn-default btn-sm",
--- a/kallithea/templates/admin/user_groups/user_group_edit_perms.html	Sat Dec 24 17:26:48 2016 +0100
+++ b/kallithea/templates/admin/user_groups/user_group_edit_perms.html	Sat Dec 24 17:26:48 2016 +0100
@@ -1,6 +1,6 @@
 ${h.form(url('edit_user_group_perms_update', id=c.user_group.users_group_id))}
 <div class="form">
-   <div class="fields">
+   <div>
         <div>
             <table id="permissions_manage" class="noborder">
                 <tr>
--- a/kallithea/templates/base/base.html	Sat Dec 24 17:26:48 2016 +0100
+++ b/kallithea/templates/base/base.html	Sat Dec 24 17:26:48 2016 +0100
@@ -370,7 +370,7 @@
             <h4 id="quick_login_h">${_('Login to Your Account')}</h4>
             ${h.form(h.url('login_home', came_from=request.path_qs))}
             <div class="form">
-                <div class="fields">
+                <div>
                     <div>
                         <div>
                             <label for="username">${_('Username')}:</label>