Convert the admin homepage to use hoplite templates.
[bugdar.git] / admin / templates / admin_index.tpl
1 {%#import 'admin_header'%}
2
3 <h1>{%=T('Welcome to the Bugdar Admin Panel')%}</h1>
4
5 {% if ($new_version_number): %}
6 <div style="background-color: white; border-color: red; border-width: 2px; border-style: solid; color: red; padding: 4px">
7 <div style="font-size: 18px; font-weight: bold">{%=T('Update Avaliable')%}:</div>
8 {%=sprintf(T('Your installation of Bugdar is out-of-date. You are running version <strong>%1$s</strong> and the latest version is <strong>%2$s</strong>. You can download the update at <a href="https://www.bluestatic.org">Blue Static\'s website</a>. You are strongly encouraged to apply all updates to fix bugs and any security issues (if present).'), $current_version, $new_version_number) | raw %}
9 </div>
10 {% else: %}
11 <div style="background-color: white; border-color: green; border-width: 2px; border-style: solid; color: green; padding: 4px">
12 <div style="font-size: 18px; font-weight: bold">{%=T('Up-to-Date')%}:</div>
13 {%=sprintf(T('Your installation of Bugdar is up-to-date. You are running version <strong>%1$s</strong>.'), $current_version) | raw %}
14 </div>
15 {% endif %}
16
17 <table>
18 <tr><th colspan="2">{%=T('Version Information')%}</th></tr>
19 <tr>
20 <td>{%=T('Bugdar Version')%}</td>
21 <td>{%= $current_version %}</td>
22 </tr>
23 <tr>
24 <td>{%=T('PHP Version')%}</td>
25 <td>{%= $php_version %}</td>
26 </tr>
27 <tr>
28 <td>{%=T('MySQL Version')%}</td>
29 <td>{%= $mysql_version %}</td>
30 </tr>
31 <tr>
32 <td>{%=T('Web Server')%}</td>
33 <td>{%= $web_server %}</td>
34 </tr>
35
36 <tr><th colspan="2">{%=T('Server Options')%}</th></tr>
37 <tr>
38 <td>{%=T('MySQL: Maximum Packet Size')%}</td>
39 <td>{%= $mysql_max_packet %}</td>
40 </tr>
41 <tr>
42 <td>{%=T('MySQL: Maximum Upload Size')%}</td>
43 <td>{%= $max_upload_size %}</td>
44 </tr>
45 <tr>
46 <td>{%=T('MySQL: Full-Text Search Minimum Word Length')%}</td>
47 <td>{%= $mysql_ft_min_length %}</td>
48 </tr>
49 </table>
50
51 {%#import 'admin_footer'%}