diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-10-01 17:46:40 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-10-01 17:46:40 +0200 |
commit | 7e6845e954da409b07d9e8ccb8c1e1ea6df6cfde (patch) | |
tree | cb6fedeb4c7b9b477c83a228aee6b4df14e54292 /template | |
parent | 0497ad51f61619b615a76d458c42f46eab28f499 (diff) | |
download | bugzilla-7e6845e954da409b07d9e8ccb8c1e1ea6df6cfde.tar.gz bugzilla-7e6845e954da409b07d9e8ccb8c1e1ea6df6cfde.tar.xz |
Bug 1418378 - Use Material Icons on Bugzilla home page instead of low-res images
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/index.html.tmpl | 59 |
1 files changed, 44 insertions, 15 deletions
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 92583ffe9..d6a4f2105 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -39,21 +39,50 @@ <td> <h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1> <div class="intro">[% Hook.process('intro') %]</div> - <a id="enter_bug" class="bz_common_actions" - href="enter_bug.cgi"><span>File [% terms.aBug %]</span></a> - <a id="query" class="bz_common_actions" - href="query.cgi"><span>Search</span></a> - <a id="account" class="bz_common_actions" - [% IF user.id %] - href="userprefs.cgi"><span>User Preferences</span></a> - [% ELSIF Param('createemailregexp') - && user.authorizer.user_can_create_account - %] - href="createaccount.cgi"><span>Open a New Account</span></a> - [% ELSE %] - href="?GoAheadAndLogIn=1"><span>Log In</span></a> - [% END %] - + <ul id="tiles"> + [% IF Param('docs_urlbase') %] + <li id="tile-docs"> + <a href="[% docs_urlbase FILTER html %]"> + <span class="icon" aria-hidden="true"></span> + <span class="label">Documentation</span> + </a> + </li> + [% END %] + <li id="tile-search"> + <a href="query.cgi"> + <span class="icon" aria-hidden="true"></span> + <span class="label">Advanced Search</span> + </a> + </li> + <li id="tile-new-bug"> + <a href="enter_bug.cgi"> + <span class="icon" aria-hidden="true"></span> + <span class="label">New [% terms.Bug %]</span> + </a> + </li> + [% IF user.id %] + <li id="tile-prefs"> + <a href="userprefs.cgi"> + <span class="icon" aria-hidden="true"></span> + <span class="label">Preferences</span> + </a> + </li> + [% ELSIF Param('createemailregexp') && user.authorizer.user_can_create_account %] + <li id="tile-new-account"> + <a href="createaccount.cgi"> + <span class="icon" aria-hidden="true"></span> + <span class="label">New Account</span> + </a> + </li> + [% ELSE %] + <li id="tile-login"> + <a href="?GoAheadAndLogIn=1"> + <span class="icon" aria-hidden="true"></span> + <span class="label">Log In</span> + </a> + </li> + [% END %] + </ul> <form id="quicksearchForm" name="quicksearchForm" action="buglist.cgi" data-no-csrf> <div> <input id="quicksearch_main" type="text" name="quicksearch" autofocus |