mv $@.tmp $@
.PHONY: install
-install: pvemanager-mobile.js
+install: pvemanager-mobile.js index.html.tpl pve.css
install -d ${WWWTOUCHDIR}
+ install -m 0644 index.html.tpl ${WWWTOUCHDIR}
+ install -m 0644 pve.css ${WWWTOUCHDIR}
install -m 0644 pvemanager-mobile.js ${WWWTOUCHDIR}
.PHONY: clean
--- /dev/null
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>[% nodename %] - Proxmox Virtual Environment</title>
+
+ <link rel="icon" sizes="128x128" href="/pve2/images/logo-128.png" />
+ <link rel="apple-touch-icon" sizes="128x128" href="/pve2/images/logo-128.png" />
+ <link rel="stylesheet" type="text/css" href="/pve2/sencha-touch/resources/css/sencha-touch.css" />
+ <link rel="stylesheet" type="text/css" href="/pve2/touch/pve.css?ver=[% version %]" />
+ [% IF langfile %]
+ <script type='text/javascript' src='/pve2/locale/pve-lang-[% lang %].js'></script>
+ [% ELSE %]
+ <script type="text/javascript">function gettext(buf) { return buf; }</script>
+ [% END %]
+ <script type="text/javascript">
+ Proxmox = {
+ Setup: { auth_cookie_name: 'PVEAuthCookie' },
+ UserName: '[ % username %]',
+ CSRFPreventionToken: '[% token %]'
+ };
+ </script>
+ <script type="text/javascript" src="/pve2/sencha-touch/sencha-touch-all-debug.js"></script>
+ <script type="text/javascript" src="/proxmoxlib.js?ver=[% wtversion %]"></script>
+ <script type="text/javascript" src="/pve2/touch/pvemanager-mobile.js?ver=[% version %]"></script>
+ <script type="text/javascript">
+if (typeof(PVE) === 'undefined') PVE = {};
+ </script>
+ </head>
+ <body>
+ </body>
+</html>