aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/custom/index.html.tmpl')
-rw-r--r--template/en/custom/index.html.tmpl197
1 files changed, 197 insertions, 0 deletions
diff --git a/template/en/custom/index.html.tmpl b/template/en/custom/index.html.tmpl
new file mode 100644
index 000000000..5fd09ab96
--- /dev/null
+++ b/template/en/custom/index.html.tmpl
@@ -0,0 +1,197 @@
+[%# 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.
+ #%]
+
+[%# INTERFACE:
+ # release: a hash containing data about new releases, if any.
+ #%]
+
+[% PROCESS global/header.html.tmpl
+ title = "$terms.Bugzilla Main Page"
+ header = "Main Page"
+ header_addl_info = "version ${constants.BUGZILLA_VERSION}${constants.GENTOO_APPEND_VERSION} node ${constants.GENTOO_NODE}"
+%]
+
+[% IF release %]
+ <div id="new_release" class="alert alert-danger">
+ [% IF release.data %]
+ [% IF release.deprecated %]
+ <p>Bugzilla [%+ release.deprecated FILTER html %] is no longer
+ supported. You are highly encouraged to upgrade in order to keep your
+ system secure.</p>
+ [% END %]
+
+ <p>A new Bugzilla version ([% release.data.latest_ver FILTER html %])
+ is available at
+ <a href="[% release.data.url FILTER html %]">[% release.data.url FILTER html %]</a>.<br>
+ Release date: [% release.data.date FILTER html %]</p>
+
+ <p class="notice">This message is only shown to logged in users with admin privs.
+ You can configure this notification from the
+ <a href="editparams.cgi?section=general#upgrade_notification_desc">Parameters</a> page.</p>
+ [% ELSIF release.error == "cannot_download" %]
+ <p>The remote file <a href="[% constants.REMOTE_FILE FILTER html %]">
+ [%~ constants.REMOTE_FILE FILTER html %]</a> cannot be downloaded
+ (reason: [% release.reason FILTER html %]).<br>
+ Either the remote server is temporarily unavailable, or your web server cannot access
+ the web. If you are behind a proxy, set the
+ <a href="editparams.cgi?section=advanced#proxy_url_desc">proxy_url</a> parameter correctly.</p>
+ [% ELSIF release.error == "no_write" %]
+ <p>The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be created
+ (reason: [% release.reason FILTER html %]).<br>
+ Please make sure the web server can write into this directory.
+ [% ELSIF release.error == "no_update" %]
+ <p>The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be updated.
+ Please make sure the web server can edit this file.</p>
+ [% ELSIF release.error == "no_access" %]
+ <p>The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be read.
+ Please make sure this file has the correct rights set on it.</p>
+ [% ELSIF release.error == "corrupted" %]
+ <p>The local XML file '[% constants.LOCAL_FILE FILTER html %]' has an invalid XML format.
+ Please delete it and try accessing this page again.</p>
+ [% ELSIF release.error == "unknown_parameter" %]
+ <p>'[% Param("upgrade_notification") FILTER html %]' is not a valid notification
+ parameter. Please check this parameter in the
+ <a href="editparams.cgi?section=general#upgrade_notification_desc">Parameters</a> page.</p>
+ [% END %]
+ </div>
+[% END %]
+
+<div id="page-index">
+
+<div class="jumbotron">
+ <h2 class="site-welcome stick-top" style="font-family: Bitter,'Open Sans',sans-serif; font-size: 2.5em;text-align: center;margin-bottom: 1em;">Welcome to [% terms.Bugzilla %]</h2>
+
+ <div>
+ <form id="quicksearchForm" name="quicksearchForm" action="buglist.cgi">
+
+
+ <div class="row">
+ <div class="col-lg-12">
+ <div class="input-group">
+ <input id="quicksearch_main" name="quicksearch" class="form-control" title="Quick Search" placeholder="Enter [% terms.abug %] # or some search terms" autofocus required>
+ <div class="input-group-btn">
+ <div class="btn-group">
+ <a href="page.cgi?id=quicksearch.html" title="Quick Search help" class="btn btn-default" type="button"><span class="fa fa-question"></span></a>
+ </div>
+ <div class="btn-group">
+ <button id="find" type="submit" class="btn btn-default" value="Quick Search">Search</button>
+ </div>
+ </div>
+ </div><!-- /input-group -->
+ </div><!-- /.col-lg-6 -->
+ </div>
+
+ </form>
+
+ <ul class="additional_links" style="display: none;">
+ [% Hook.process('additional_links') %]
+ </ul>
+ </div><br>
+ <small class="text-muted">[% Hook.process('intro') %]</small>
+
+</div>
+
+ <div class="intro"></div>
+
+
+ <div class="bz_common_actions">
+
+ <div class="row" style="width:80%; margin: 0 auto;">
+
+ <div class="col-lg-3" style="cursor:pointer;">
+ <a href="enter_bug.cgi">
+ <div class="row index_page_icon" style="height: 170px; width: 145px; margin: 0 auto">
+ <div class="col-12">
+ <i class="fa fa-file-text" aria-hidden="true" style="font-size:100px;"></i>
+ </div>
+ <div class="col-12" style="margin-top: 15px;">
+ File a Bug
+ </div>
+ </div>
+ </a>
+ </div>
+
+ <div class="col-lg-3" style="cursor:pointer;">
+ <a href="query.cgi">
+ <div class="row index_page_icon" style="height: 170px; width: 145px; margin: 0 auto">
+ <div class="col-12">
+ <i class="fa fa-search" aria-hidden="true" style="font-size:100px;"></i>
+ </div>
+ <div class="col-12" style="margin-top: 15px;">
+ Search
+ </div>
+ </div>
+ </a>
+ </div>
+
+
+ <div class="col-lg-3" onclick="" style="cursor:pointer;">
+ <a href="[% IF user.id %] userprefs.cgi [% ELSIF Param('createemailregexp') && user.authorizer.user_can_create_account %] createaccount.cgi [% ELSE %] ?GoAheadAndLogIn=1 [% END %]">
+ <div class="row index_page_icon" style="height: 170px; width: 145px; margin: 0 auto">
+ <div class="col-12">
+ <i class="fa fa-user-circle-o" aria-hidden="true" style="font-size:100px;"></i>
+ </div>
+ <div class="col-12" style="margin-top: 15px;">
+ [% IF user.id %]
+ User Preferences
+ [% ELSIF Param('createemailregexp') && user.authorizer.user_can_create_account %]
+ New Account
+ [% ELSE %]
+ Log In
+ [% END %]
+ </div>
+ </div>
+ </a>
+ </div>
+
+ <div class="col-lg-3" style="cursor:pointer;">
+ <a href="[% docs_urlbase FILTER html %]using/index.html">
+ <div class="row index_page_icon" style="height: 170px; width: 145px; margin: 0 auto">
+ <div class="col-12">
+ <i class="fa fa-question-circle" aria-hidden="true" style="font-size:100px;"></i>
+ </div>
+ <div class="col-12" style="margin-top: 15px;">
+ Documentation
+ </div>
+ </div>
+ </a>
+ </div>
+ </div>
+
+ <br><br><br><br><br>
+ <ul style="display: none">
+ <li>
+ <a id="enter_bug" href="enter_bug.cgi"><span>File [% terms.aBug %]</span></a>
+
+
+ </li>
+ <li>
+ <a id="query" href="query.cgi"><span>Search</span></a>
+ </li>
+ <li>
+ <a id="account"
+ [% IF user.id %]
+ href="userprefs.cgi"><span>User Preferences</span></a>
+ [% ELSIF Param('createemailregexp') && user.authorizer.user_can_create_account %]
+ href="createaccount.cgi"><span>New Account</span></a>
+ [% ELSE %]
+ href="?GoAheadAndLogIn=1"><span>Log In</span></a>
+ [% END %]
+ </li>
+ <li>
+ <a id="help" href="[% docs_urlbase FILTER html %]using/index.html"><span>Documentation</span></a>
+ </li>
+ </ul>
+ </div>
+
+
+
+
+</div>
+
+[% PROCESS global/footer.html.tmpl %]