diff --git a/public/template_logo.svg b/public/template_logo.svg
new file mode 100644
index 0000000..6d7f29c
--- /dev/null
+++ b/public/template_logo.svg
@@ -0,0 +1,109 @@
+
+
+
+
diff --git a/src/branding/branding.js b/src/branding/branding.js
index 92bb583..83e038d 100644
--- a/src/branding/branding.js
+++ b/src/branding/branding.js
@@ -21,6 +21,9 @@ import villasweb_values from './villasweb/villasweb-values';
import { slew_home, slew_welcome } from './slew/slew-functions';
import slew_values from './slew/slew-values';
+import { template_welcome, template_home, template_footer } from './template/template-functions';
+import template_values from './template/template-values';
+
class Branding {
constructor(chosenbrand) {
if (Branding.branding) {
@@ -43,6 +46,9 @@ class Branding {
case 'slew':
this.values = slew_values;
break;
+ case 'template':
+ this.values = template_values;
+ break;
default:
console.error("Branding '" + this.brand + "' not available, will use 'villasweb' branding");
this.brand = 'villasweb';
@@ -60,6 +66,9 @@ class Branding {
case 'slew':
homepage = slew_home();
break;
+ case 'template':
+ homepage = template_home();
+ break;
default:
homepage = villasweb_home(this.getTitle(), username, userid, role);
break;
@@ -68,7 +77,16 @@ class Branding {
}
getFooter() {
- return villasweb_footer();
+ var footer = '';
+ switch(this.brand) {
+ case 'template':
+ footer = template_footer();
+ break;
+ default:
+ footer = villasweb_footer();
+ break;
+ }
+ return footer;
}
getWelcome() {
@@ -77,6 +95,9 @@ class Branding {
case 'slew':
welcome = slew_welcome();
break;
+ case 'template':
+ welcome = template_welcome();
+ break;
default:
welcome = this.defaultWelcome();
break;
diff --git a/src/branding/template/img/template_logo.svg b/src/branding/template/img/template_logo.svg
new file mode 100644
index 0000000..6d7f29c
--- /dev/null
+++ b/src/branding/template/img/template_logo.svg
@@ -0,0 +1,109 @@
+
+
+
+
diff --git a/src/branding/template/template-functions.js b/src/branding/template/template-functions.js
new file mode 100644
index 0000000..d6b8d58
--- /dev/null
+++ b/src/branding/template/template-functions.js
@@ -0,0 +1,52 @@
+/**
+ * This file is part of VILLASweb.
+ *
+ * VILLASweb is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * VILLASweb is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with VILLASweb. If not, see
+ Welcome to BRAND! +
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut + labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. + Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore + et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. + Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut + labore et dolore magna aliquyam erat, sed diam voluptua.
+