]> git.proxmox.com Git - pmg-gui.git/blame - index.html.tpl
restructure configuration panel
[pmg-gui.git] / index.html.tpl
CommitLineData
8b0b6db4
DM
1[% DEFAULT lang = "en" %]
2<!DOCTYPE html>
3<html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta http-equiv="X-UA-Compatible" content="IE=edge">
7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8 <title>[% nodename %] - Proxmox Mail Gateway</title>
9 <link rel="icon" sizes="128x128" href="/pve2/images/logo-128.png" />
10 <link rel="apple-touch-icon" sizes="128x128" href="/pve2/images/logo-128.png" />
11 <link rel="stylesheet" type="text/css" href="/pve2/ext6/theme-crisp/resources/theme-crisp-all.css" />
12 <link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css" />
ee8bac38 13 <link rel="stylesheet" type="text/css" href="/fontawesome/css/font-awesome.css" />
fe81f069 14 <link rel="stylesheet" type="text/css" href="/pve2/css/ext6-pmg.css" />
8b0b6db4
DM
15 [% IF debug %]
16 <script type="text/javascript" src="/pve2/ext6/ext-all-debug.js"></script>
17 <script type="text/javascript" src="/pve2/ext6/charts-debug.js"></script>
18 [% ELSE %]
19 <script type="text/javascript" src="/pve2/ext6/ext-all.js"></script>
20 <script type="text/javascript" src="/pve2/ext6/charts.js"></script>
21 [% END %]
2c7b542d
DM
22 <script type="text/javascript">
23 Proxmox = {
24 Setup: { auth_cookie_name: 'PMGAuthCookie' },
25 NodeName: '[% nodename %]',
26 UserName: '[% username %]',
508f46c2 27 CSRFPreventionToken: '[% token %]'
2c7b542d
DM
28 };
29 </script>
30 <script type="text/javascript" src="/proxmoxlib.js"></script>
8b0b6db4
DM
31 <script type="text/javascript" src="/pve2/js/pmgmanagerlib.js"></script>
32 <script type="text/javascript" src="/pve2/ext6/locale/locale-[% lang %].js"></script>
33 <script type="text/javascript">
8b0b6db4
DM
34 Ext.History.fieldid = 'x-history-field';
35 Ext.onReady(function() { Ext.create('PMG.StdWorkspace');});
36 </script>
37 </head>
38 <body>
39 <!-- Fields required for history management -->
40 <form id="history-form" class="x-hidden">
41 <input type="hidden" id="x-history-field"/>
42 </form>
43 </body>
44</html>