Bug 956190 (part 2): Merge params.css and editusers.css with admin.css

r/a=justdave


git-svn-id: svn://10.0.0.236/trunk@265270 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2014-03-04 22:45:52 +00:00
parent 38ff46d997
commit 9dcf99c88c
10 changed files with 123 additions and 170 deletions

View File

@ -1 +1 @@
8945 8946

View File

@ -84,6 +84,15 @@ td.admin_links dt.forbidden a, td.admin_links dd.forbidden a {
cursor: default; cursor: default;
} }
div.table {
display: inline-table;
}
div.cell {
display: table-cell;
vertical-align: top;
}
.open-status, .closed-status { .open-status, .closed-status {
width: 8em; width: 8em;
padding: 0.3em; padding: 0.3em;
@ -213,3 +222,84 @@ table.schedule_list th, table.search_list th {
border: 1px dotted black; border: 1px dotted black;
text-align: center; text-align: center;
} }
#group_membership tr.indirect {
background-color: #cccccc;
}
#group_membership th {
text-align: left;
padding: 0 1ex;
}
#group_membership th.checkbox, #group_membership td.checkbox {
text-align: center;
white-space: nowrap;
}
#user_responsibilities th {
text-align: center;
padding: 0 1em 1em;
}
#user_responsibilities th.product {
text-align: left;
padding: 1em 0 0;
}
#menu {
width: 10em;
margin-right: 0.5em;
border: solid thin;
border-spacing: 0px;
border-collapse: collapse;
text-align: center;
color: black;
background-color: #edf2f2;
font-weight: normal;
}
#menu a:link, #menu a:visited {
color: #039;
background-color: transparent;
}
#menu a:hover, #menu a:active {
color: red;
background-color: transparent;
}
#menu td {
border: solid thin;
padding: 0.2em 0.5em;
}
#menu td.selected_section {
color: #090;
background-color: white;
}
#menu td.index {
color: black;
background-color: #edf;
}
#params_index {
padding-left: 1em;
}
#edit_params dd {
margin-bottom: 1.5em;
}
.sortlist_separator {
font-weight: bold;
font-size: 80%;
background-color: #dddddd;
}
#contribute {
border: 1px dotted black;
padding: .5em;
font-size: small;
}

View File

@ -1,64 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
table.main {
border-spacing: 1em;
}
table.main tr {
vertical-align: top;
border-top: solid thin black;
}
table.main th {
text-align: right;
white-space: nowrap;
}
table.main th,
table.main td {
padding: 0;
}
table.main ul {
list-style-type: none;
padding-left: 0
}
table.groups {
border-spacing: 1px;
}
table.groups tr.indirect {
background-color: #cccccc;
}
table.groups th {
text-align: left;
padding: 0 1ex;
}
table.groups td {
padding: 2px;
}
table.groups th.checkbox, table.groups td.checkbox {
text-align: center;
white-space: nowrap;
}
table#user_responsibilities th {
text-align: center;
padding: 0 1em 1em;
}
table#user_responsibilities th.product {
text-align: left;
padding: 1em 0 0;
}
table#user_responsibilities td.center {
text-align: center;
}
.missing {
color: red;
border-color: inherit;
}

View File

@ -1,77 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
#menu {
width: 10em;
margin-right: 0.5em;
border: solid thin;
border-spacing: 0px;
border-collapse: collapse;
text-align: center;
color: black;
background-color: #edf2f2;
font-weight: normal;
}
#menu a:link, #menu a:visited {
color: #039;
background-color: transparent;
}
#menu a:hover, #menu a:active {
color: red;
background-color: transparent;
}
#menu td {
border: solid thin;
padding: 0.2em 0.5em;
}
#params_index {
padding-left: 1em;
}
div.table {
display: inline-table;
}
div.cell {
display: table-cell;
vertical-align: top;
}
td.selected_section {
color: #090;
background-color: white;
}
td.index {
color: black;
background-color: #edf;
}
dt {
font-weight: bold;
}
dd {
margin-bottom: 1.5em;
}
.sortlist_separator {
font-weight: bold;
font-size: 80%;
background-color: #dddddd;
}
.contribute {
border: 1px dotted black;
padding: .5em;
font-size: small;
}

View File

@ -35,7 +35,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
message = message message = message
style_urls = ['skins/standard/params.css'] style_urls = ['skins/standard/admin.css']
javascript_urls = ['js/params.js', 'js/util.js'] javascript_urls = ['js/params.js', 'js/util.js']
doc_section = "administration.html#bugzilla-configuration" doc_section = "administration.html#bugzilla-configuration"
%] %]
@ -68,7 +68,8 @@
</div> </div>
<div class="cell"> <div class="cell">
<div class="contribute"><strong>Note:</strong> <div id="contribute">
<strong>Note:</strong>
Bugzilla is developed entirely by volunteers. Bugzilla is developed entirely by volunteers.
The best way to give back to the Bugzilla project is to The best way to give back to the Bugzilla project is to
<a href="http://www.bugzilla.org/contribute/">contribute</a> yourself! <a href="http://www.bugzilla.org/contribute/">contribute</a> yourself!
@ -86,7 +87,7 @@
</p> </p>
[%# CONTENT PANEL %] [%# CONTENT PANEL %]
<form method="post" action="editparams.cgi"> <form id="edit_params" method="post" action="editparams.cgi">
[% PROCESS admin/params/common.html.tmpl panel = current_panel %] [% PROCESS admin/params/common.html.tmpl panel = current_panel %]
<input type="hidden" name="section" value="[% current_panel.name FILTER html %]"> <input type="hidden" name="section" value="[% current_panel.name FILTER html %]">
<input type="hidden" name="action" value="save"> <input type="hidden" name="action" value="save">

View File

@ -38,8 +38,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css', style_urls = ['skins/standard/admin.css']
'skins/standard/editusers.css']
doc_section = "administration.html#deleting-users" doc_section = "administration.html#deleting-users"
%] %]
@ -47,7 +46,11 @@
listselectionvalues = listselectionvalues listselectionvalues = listselectionvalues
%] %]
<table class="main"> <table id="admin_table">
<tr class="column_header">
<th>Field</th>
<th>Value</th>
</tr>
<tr> <tr>
<th>Login name:</th> <th>Login name:</th>
<td>[% otheruser.login FILTER html %]</td> <td>[% otheruser.login FILTER html %]</td>

View File

@ -14,7 +14,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Add user" title = "Add user"
style_urls = ['skins/standard/editusers.css'] style_urls = ['skins/standard/admin.css']
doc_section = "administration.html#creating-new-users" doc_section = "administration.html#creating-new-users"
%] %]
@ -22,20 +22,20 @@
listselectionvalues = listselectionvalues listselectionvalues = listselectionvalues
%] %]
<form name="f" method="post" action="editusers.cgi"> <form method="post" action="editusers.cgi">
<table class="main"> <table id="admin_table_edit">
[% PROCESS admin/users/userdata.html.tmpl [% PROCESS admin/users/userdata.html.tmpl
editform = 0 editform = 0
editusers = editusers editusers = editusers
otheruser = [] otheruser = []
%] %]
</table> </table>
<p> <p>
<input type="submit" id="add" value="Add"> <input type="submit" id="add" value="Add">
<input type="hidden" name="action" value="new"> <input type="hidden" name="action" value="new">
<input type="hidden" name="token" value="[% token FILTER html %]"> <input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %] [% INCLUDE listselectionhiddenfields %]
</p> </p>
</form> </form>
<p> <p>

View File

@ -22,7 +22,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
message = message message = message
style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] style_urls = ['skins/standard/admin.css']
doc_section = "administration.html#modifying-users" doc_section = "administration.html#modifying-users"
javascript_urls = [ 'js/field.js' ] javascript_urls = [ 'js/field.js' ]
%] %]
@ -32,7 +32,7 @@
%] %]
<form method="post" action="editusers.cgi"> <form method="post" action="editusers.cgi">
<table class="main"> <table id="admin_table_edit">
[% PROCESS admin/users/userdata.html.tmpl [% PROCESS admin/users/userdata.html.tmpl
editform = 1 editform = 1
editusers = editusers editusers = editusers
@ -42,7 +42,7 @@
<tr> <tr>
<th>Group access:</th> <th>Group access:</th>
<td> <td>
<table class="groups"> <table id="group_membership">
<tr> <tr>
[% IF editusers %] [% IF editusers %]
<th colspan="3"> <th colspan="3">

View File

@ -16,7 +16,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Select user" title = "Select user"
style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] style_urls = ['skins/standard/admin.css']
doc_section = "administration.html#user-administration" doc_section = "administration.html#user-administration"
%] %]
@ -65,11 +65,11 @@
[% FOREACH thisuser = users %] [% FOREACH thisuser = users %]
[% IF !thisuser.realname %] [% IF !thisuser.realname %]
[%# We cannot pass one class now and one class later. %] [%# We cannot pass one class now and one class later. %]
[% SET classes = (thisuser.is_enabled ? "missing" : "bz_inactive missing") %] [% SET classes = (thisuser.is_enabled ? "warning" : "bz_inactive warning") %]
[% overrides.realname.login_name.${thisuser.login_name} = { [% overrides.realname.login_name.${thisuser.login_name} = {
content => "missing" content => "missing"
override_content => 1 override_content => 1
class => "$classes" class => classes
override_class => 1 override_class => 1
} }
%] %]

View File

@ -17,7 +17,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Search users" title = "Search users"
style_urls = ['skins/standard/editusers.css'] style_urls = ['skins/standard/admin.css']
doc_section = "administration.html#managing-other-users" doc_section = "administration.html#managing-other-users"
%] %]