From 0074809382a625fef8f95b3157b38ea0d6a92a5d Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 7 Mar 2017 11:18:21 +0100 Subject: [PATCH] add the index.html.tpl files for the default ui and touch they are mostly copied from ExtJSIndex.pm and TouchIndex.pm, and they are prepared with the Template::Toolkit syntax Signed-off-by: Dominik Csapak --- www/Makefile | 8 +++++++- www/index.html.tpl | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 www/index.html.tpl diff --git a/www/Makefile b/www/Makefile index 2d522b29d..caa387d26 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1,7 +1,13 @@ +include ../defines.mk SUBDIRS = images css manager6 touch mobile -all: ${SUBDIRS} +all: ${SUBDIRS} index.html.tpl %: set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done +.PHONY: install +install: + set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done + install -m 0644 -o www-data -g www-data index.html.tpl ${WWWBASEDIR} + diff --git a/www/index.html.tpl b/www/index.html.tpl new file mode 100644 index 000000000..aa87aebc6 --- /dev/null +++ b/www/index.html.tpl @@ -0,0 +1,44 @@ + + + + + + + [% nodename %] - Proxmox Virtual Environment + + + + + + + [% IF langfile %] + + [%- ELSE %] + + [% END %] + [%- IF debug %] + + + [%- ELSE %] + + + [% END %] + + + + + + + + +
+ +
+ +