blob: 5fd09ab96d0cf37460de5d6a323a28a16c2d5eb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
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 %]
|