diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2017-12-19 14:23:53 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-12-19 14:23:53 +0100 |
commit | 0bef54c7899da717a8c60e1562c838381d014c10 (patch) | |
tree | e5cb7713ad88a04b9ff5aa59a240cd6e2d94885a /template/en/default/global/header.html.tmpl | |
parent | 6bcedf7e2cb411174220bff87e2c8318a210ce48 (diff) | |
download | bugzilla-0bef54c7899da717a8c60e1562c838381d014c10.tar.gz bugzilla-0bef54c7899da717a8c60e1562c838381d014c10.tar.xz |
Bug 1420771 - Remove global footer
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 9baecbb53..81db1910b 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -246,16 +246,20 @@ <header id="header" role="banner"> <div class="inner"> - <h1 id="header-title" class="title"><a href="./" title="Go to home page">[% terms.BugzillaTitle %]</a></h1> - <form role="search" id="header-search" class="quicksearch quicksearch_check_empty" action="buglist.cgi"> - <div class="searchbox-outer"> - <input role="searchbox" id="quicksearch_top" name="quicksearch" + <h1 id="header-title" class="title"><a href="./" title="Go to home page">[% terms.Bugzilla %]</a></h1> + <form role="search" id="header-search" class="quicksearch" action="buglist.cgi"> + <section class="searchbox-outer dropdown" role="combobox" aria-expanded="false" aria-haspopup="listbox" + aria-owns="header-search-dropdown"> + <h2>Quick Search</h2> + <input role="searchbox" id="quicksearch_top" class="dropdown-button" name="quicksearch" autocomplete="off" value="[% quicksearch FILTER html %]" placeholder="Search [% terms.Bugs %]" - title="Search [% terms.bugs %] by keywords"> + title="Enter a [% terms.bug %] number or some search terms" aria-controls="header-search-dropdown" + aria-label="Quick Search"> <button type="submit" id="find_top" aria-label="Submit"> <span class="icon" aria-hidden="true"></span> </button> - </div> + [% PROCESS "global/header-search-dropdown.html.tmpl" %] + </section> </form> <nav id="header-nav"> <ul class="links"> @@ -286,13 +290,7 @@ aria-label="More tools…" aria-expanded="false" aria-haspopup="true" aria-controls="header-tools-menu"> <span class="icon" aria-hidden="true"></span> </button> - <ul class="dropdown-content" id="header-tools-menu" role="menu" style="display:none;"> - [% IF user.showmybugslink %] - [% filtered_username = user.login FILTER uri %] - <li role="presentation"> - <a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]" role="menuitem" tabindex="-1">My [% terms.Bugs %]</a> - </li> - [% END %] + <ul class="dropdown-content left" id="header-tools-menu" role="menu" style="display:none;"> [% IF user.id %] <li role="presentation"> <a href="request.cgi?requester=[% user.login FILTER uri %]&requestee=[% user.login FILTER uri %]&do_union=1&group=type&action=queue" role="menuitem" tabindex="-1">My Requests</a> @@ -330,7 +328,7 @@ <span class="icon" aria-hidden="true"></span> [% END %] </button> - <ul class="dropdown-content" id="header-account-menu" role="menu" style="display:none;"> + <ul class="dropdown-content left" id="header-account-menu" role="menu" style="display:none;"> <li role="presentation"> <div href="user_profile" class="account-label"> <div class="name">[% user.name FILTER html %]</div> @@ -371,6 +369,7 @@ [% END %] </ul> [% END %] + [% Hook.process('external-links') %] </div> </header> [%# header %] |