Changeset - 302ce4a23e57
[Not reviewed]
default
0 6 0
Mads Kiilerich - 9 years ago 2016-12-24 17:26:48
mads@kiilerich.com
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.
6 files changed with 6 insertions and 17 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -1484,7 +1484,6 @@ a.metatag[data-tag="license"]:hover {
 
#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 @@ a.metatag[data-tag="license"]:hover {
 
    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 @@ a.metatag[data-tag="license"]:hover {
 
    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 @@ div#legend_data, div#legend_container, d
 
    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#legend_data, div#legend_container, d
 
}
 

	
 
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.buttons
 
}
 

	
 
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 @@ div.form div.form-horizontal div.buttons
 
}
 

	
 
#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;
kallithea/templates/admin/repo_groups/repo_group_edit_perms.html
Show inline comments
 
${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>
kallithea/templates/admin/repos/repo_edit_caches.html
Show inline comments
 
${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>
kallithea/templates/admin/repos/repo_edit_remote.html
Show inline comments
 
@@ -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",
kallithea/templates/admin/user_groups/user_group_edit_perms.html
Show inline comments
 
${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>
kallithea/templates/base/base.html
Show inline comments
 
@@ -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>
0 comments (0 inline, 0 general)