]> git.proxmox.com Git - pve-manager.git/blob - www/mobile/index.html.tpl
mobile ui: adhere debug flag when loading sencha touch
[pve-manager.git] / www / mobile / index.html.tpl
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>[% nodename %] - Proxmox Virtual Environment</title>
6
7 <link rel="icon" sizes="128x128" href="/pve2/images/logo-128.png" />
8 <link rel="apple-touch-icon" sizes="128x128" href="/pve2/images/logo-128.png" />
9 <link rel="stylesheet" type="text/css" href="/pve2/sencha-touch/resources/css/sencha-touch.css" />
10 <link rel="stylesheet" type="text/css" href="/pve2/touch/pve.css?ver=[% version %]" />
11 [% IF langfile %]
12 <script type='text/javascript' src='/pve2/locale/pve-lang-[% lang %].js'></script>
13 [% ELSE %]
14 <script type="text/javascript">function gettext(buf) { return buf; }</script>
15 [% END %]
16 <script type="text/javascript">
17 Proxmox = {
18 Setup: { auth_cookie_name: 'PVEAuthCookie' },
19 UserName: '[ % username %]',
20 CSRFPreventionToken: '[% token %]'
21 };
22 </script>
23 [%- IF debug %]
24 <script type="text/javascript" src="/pve2/sencha-touch/sencha-touch-all-debug.js"></script>
25 [%- ELSE %]
26 <script type="text/javascript" src="/pve2/sencha-touch/sencha-touch-all.js"></script>
27 [% END %]
28 <script type="text/javascript" src="/proxmoxlib.js?ver=[% wtversion %]"></script>
29 <script type="text/javascript" src="/pve2/touch/pvemanager-mobile.js?ver=[% version %]"></script>
30 <script type="text/javascript">
31 if (typeof(PVE) === 'undefined') PVE = {};
32 </script>
33 </head>
34 <body>
35 </body>
36 </html>