# HG changeset patch # User Mads Kiilerich # Date 1482596808 -3600 # Node ID 302ce4a23e57ff2e3ce54cf088ae0e98bea7654a # Parent 8656c0073e1722c163cf6f3dc9e47db2b585fd04 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. diff -r 8656c0073e17 -r 302ce4a23e57 kallithea/public/css/style.css --- 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; diff -r 8656c0073e17 -r 302ce4a23e57 kallithea/templates/admin/repo_groups/repo_group_edit_perms.html --- 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))}
-
+
diff -r 8656c0073e17 -r 302ce4a23e57 kallithea/templates/admin/repos/repo_edit_caches.html --- 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))}
-
+
${h.submit('reset_cache_%s' % c.repo_info.repo_name,_('Invalidate Repository Cache'),class_="btn btn-default btn-sm")}
    diff -r 8656c0073e17 -r 302ce4a23e57 kallithea/templates/admin/repos/repo_edit_remote.html --- 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 @@
${h.form(url('edit_repo_remote_update', repo_name=c.repo_name))}
-
+
${h.submit('remote_pull_%s' % c.repo_info.repo_name, _('Pull Changes from Remote Repository'), class_="btn btn-default btn-sm", diff -r 8656c0073e17 -r 302ce4a23e57 kallithea/templates/admin/user_groups/user_group_edit_perms.html --- 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))}
-
+
diff -r 8656c0073e17 -r 302ce4a23e57 kallithea/templates/base/base.html --- 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 @@

${_('Login to Your Account')}

${h.form(h.url('login_home', came_from=request.path_qs))}
-
+