diff --git a/www/Makefile b/www/Makefile index 2d522b29..caa387d2 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 00000000..aa87aebc --- /dev/null +++ b/www/index.html.tpl @@ -0,0 +1,44 @@ + + + + + + + [% nodename %] - Proxmox Virtual Environment + + + + + + + [% IF langfile %] + + [%- ELSE %] + + [% END %] + [%- IF debug %] + + + [%- ELSE %] + + + [% END %] + + + + + + + + +
+ +
+ +