Commit b4ab9588 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 478232: Fix HTML validation of pages after index/header UI changes.

Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent 573ea7b8
...@@ -62,8 +62,7 @@ body { ...@@ -62,8 +62,7 @@ body {
-moz-border-radius: 5px; -moz-border-radius: 5px;
} }
a:link, a, a:hover {
a:link:hover {
color: #6169c0; color: #6169c0;
} }
...@@ -71,13 +70,11 @@ a:visited { ...@@ -71,13 +70,11 @@ a:visited {
color: #3d4a68; color: #3d4a68;
} }
a:link, a, a:visited {
a:visited {
text-decoration: none; text-decoration: none;
} }
a:link:hover, a:hover {
a:visited:hover {
text-decoration: underline; text-decoration: underline;
} }
......
...@@ -202,19 +202,19 @@ ...@@ -202,19 +202,19 @@
/* tabs (end) */ /* tabs (end) */
/* generic (begin) */ /* generic (begin) */
:link { a {
color: #039; color: #039;
} }
:visited { a:visited {
color: #636; color: #636;
} }
:link:hover, :visited:hover { a:hover {
color: #333; color: #333;
} }
:link:active, :link:active { a:active {
color: #000; color: #000;
} }
......
...@@ -42,34 +42,30 @@ ...@@ -42,34 +42,30 @@
font-weight: bold; font-weight: bold;
} }
div.bz_common_actions .bz_common_actions {
{ display: block;
height: 190px; height: 190px;
width: 195px; width: 195px;
background-color: blue;
float: left; float: left;
margin: 0 3ex; margin: 0 3ex 3em 0;
text-align: center; text-align: center;
margin-bottom: 3em;
} }
div.bz_common_actions span .bz_common_actions span {
{
position: relative; position: relative;
top: 95%; top: 95%;
font-weight: bold; font-weight: bold;
} }
div.bz_common_actions, .bz_common_actions,
div.bz_common_actions a, .bz_common_actions:visited,
div.bz_common_actions a div, .bz_common_actions:hover
div.bz_common_actions a:visited, {
div.bz_common_actions a:hover {
text-decoration: none;
}
a.bz_common_actions {
text-decoration: none; text-decoration: none;
} }
#enter_bug { background: url(index/bug.gif) no-repeat; }
#query { background: url(index/search.gif) no-repeat; }
#account { background: url(index/account.gif) no-repeat; }
#quicksearchForm #quicksearchForm
{ {
...@@ -102,21 +98,6 @@ ...@@ -102,21 +98,6 @@
padding: 0; padding: 0;
} }
#enter_bug
{
background: url(index/bug.gif) no-repeat;
}
#query
{
background: url(index/search.gif) no-repeat;
}
#account
{
background: url(index/account.gif) no-repeat;
}
ul.additional_links ul.additional_links
{ {
list-style: none; list-style: none;
......
...@@ -30,9 +30,8 @@ ...@@ -30,9 +30,8 @@
[% target = urlbase _ target %] [% target = urlbase _ target %]
<li> <li>
<form name="login" action="[% target FILTER html %]" <form action="[% target FILTER html %]" method="POST" class="mini_login"
class="mini_login" id="mini_login[% qs_suffix FILTER html %]"
method="POST" id="mini_login[% qs_suffix FILTER html %]"
onsubmit="return check_mini_login_fields( '[% qs_suffix FILTER html %]' );" onsubmit="return check_mini_login_fields( '[% qs_suffix FILTER html %]' );"
> >
<span class="separator">| </span> <span class="separator">| </span>
...@@ -58,7 +57,8 @@ ...@@ -58,7 +57,8 @@
[%+ "checked" IF Param('rememberlogin') == "defaulton" %]> [%+ "checked" IF Param('rememberlogin') == "defaulton" %]>
<label for="Bugzilla_remember[% qs_suffix %]">Remember</label> <label for="Bugzilla_remember[% qs_suffix %]">Remember</label>
[% END %] [% END %]
<input type="submit" name="GoAheadAndLogIn" value="Log in" id="log_in"> <input type="submit" name="GoAheadAndLogIn" value="Log in"
id="log_in[% qs_suffix %]">
<div class="bz_default_hidden"> <div class="bz_default_hidden">
[% PROCESS "global/hidden-fields.html.tmpl" [% PROCESS "global/hidden-fields.html.tmpl"
exclude="^Bugzilla_(login|password|restrictlogin|remember)$" %] exclude="^Bugzilla_(login|password|restrictlogin|remember)$" %]
......
...@@ -128,37 +128,22 @@ YAHOO.util.Event.onDOMReady(onLoadActions); ...@@ -128,37 +128,22 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
<tr> <tr>
<td> <td>
<h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1> <h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1>
<a href="enter_bug.cgi" class="bz_common_actions"> <a id="enter_bug" class="bz_common_actions"
<div class="bz_common_actions" id="enter_bug"> href="enter_bug.cgi"><span>File [% terms.aBug %]</span></a>
<span>File [% terms.aBug %]</span>
</div> <a id="query" class="bz_common_actions"
</a> href="query.cgi"><span>Search</span></a>
<a href="query.cgi" class="bz_common_actions"> <a id="account" class="bz_common_actions quicksearch_help_text"
<div class="bz_common_actions" id="query"> [% IF user.id %]
<span>Search</span> href="userprefs.cgi"><span>User Preferences</span></a>
</div> [% ELSIF Param('createemailregexp')
</a> && user.authorizer.user_can_create_account
%]
<a class="bz_common_actions quicksearch_help_text" href=" href="createaccount.cgi"><span>Open a New Account</span></a>
[% IF user.id %] [% ELSE %]
userprefs.cgi href="?GoAheadAndLogIn=1"><span>Log In</span></a>
[% ELSIF Param('createemailregexp') && user.authorizer.user_can_create_account %] [% END %]
createaccount.cgi
[% ELSE %]
?GoAheadAndLogIn=1
[% END %]">
<div class="bz_common_actions" id="account">
<span>
[% IF user.id %]
User Preferences
[% ELSIF Param('createemailregexp') && user.authorizer.user_can_create_account %]
Open a New Account
[% ELSE %]
Log In
[% END%]</span>
</div>
</a>
<form id="quicksearchForm" name="quicksearchForm" action="buglist.cgi" <form id="quicksearchForm" name="quicksearchForm" action="buglist.cgi"
onsubmit="return checkQuicksearch(this);"> onsubmit="return checkQuicksearch(this);">
<div> <div>
...@@ -188,7 +173,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions); ...@@ -188,7 +173,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
<li> <li>
<a href="page.cgi?id=release-notes.html" > Release Notes</a> <a href="page.cgi?id=release-notes.html" > Release Notes</a>
</li> </li>
</div> </ul>
</div> </div>
</form> </form>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment