install GUI index file
This commit is contained in:
parent
7eef9426e0
commit
ebc9a69215
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ deb:
|
|||
rm -rf build
|
||||
# build here to cache results
|
||||
cargo build --release
|
||||
rsync -a debian Cargo.lock Cargo.toml src target build
|
||||
rsync -a debian Cargo.lock Cargo.toml src www target build
|
||||
cd build; dpkg-buildpackage -b -us -uc
|
||||
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
target/release/api-test-server /usr/sbin
|
||||
www/pbs-index.html.tt /usr/share/javascript/proxmox-backup-server/
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Proxmox Backup Server</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/ext6/theme-crisp/resources/theme-crisp-all.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/fontawesome/css/font-awesome.css" />
|
||||
<script type='text/javascript'> function gettext(buf) { return buf; } </script>
|
||||
<script type="text/javascript" src="/pve2/ext6/ext-all-debug.js"></script>
|
||||
<script type="text/javascript" src="/pve2/ext6/charts-debug.js"></script>
|
||||
<script type="text/javascript">
|
||||
Proxmox = {
|
||||
Setup: { auth_cookie_name: 'PBSAuthCookie' },
|
||||
NodeName: '[% nodename %]',
|
||||
UserName: '[% username %]',
|
||||
CSRFPreventionToken: '[% token %]'
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="/proxmoxlib.js"></script>
|
||||
<script type="text/javascript" src="/pve2/ext6/locale/locale-en.js"></script>
|
||||
<script type="text/javascript">
|
||||
Ext.History.fieldid = 'x-history-field';
|
||||
</script>
|
||||
<script type="text/javascript" src="/pve2/js/pbsmanagerlib.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Fields required for history management -->
|
||||
<form id="history-form" class="x-hidden">
|
||||
<input type="hidden" id="x-history-field"/>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue