mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 14:32:37 +00:00
www: merge remaining touch files into mobile
only the index and (empty) css files left-over, so just merge this to where it belongs Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
80cb7dda78
commit
33d0357208
@ -1,5 +1,5 @@
|
||||
include ../defines.mk
|
||||
SUBDIRS = images css manager6 touch mobile
|
||||
SUBDIRS = images css manager6 mobile
|
||||
|
||||
all:
|
||||
|
||||
|
@ -32,8 +32,10 @@ pvemanager-mobile.js: ${JSSRC}
|
||||
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
|
||||
|
32
www/mobile/index.html.tpl
Normal file
32
www/mobile/index.html.tpl
Normal file
@ -0,0 +1,32 @@
|
||||
<!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>
|
1
www/mobile/pve.css
Normal file
1
www/mobile/pve.css
Normal file
@ -0,0 +1 @@
|
||||
/* currently empty */
|
Loading…
Reference in New Issue
Block a user