aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/mainLayout.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-11-13 20:25:55 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-11-13 20:25:55 +0200
commit819fb9ca5082175f4afc595766e75dd2f045395b (patch)
treeed5bbfc6babf3fc4aa5035e9280914a6439d3f2f /src/js/ui/mainLayout.js
parent22bdc082a3fb26144f861732a971e091718a215f (diff)
downloadarching-kaos-web-ui-819fb9ca5082175f4afc595766e75dd2f045395b.tar.gz
arching-kaos-web-ui-819fb9ca5082175f4afc595766e75dd2f045395b.tar.bz2
arching-kaos-web-ui-819fb9ca5082175f4afc595766e75dd2f045395b.zip
Style update, refactoring with generator usage, bugfixesHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'src/js/ui/mainLayout.js')
-rw-r--r--src/js/ui/mainLayout.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/js/ui/mainLayout.js b/src/js/ui/mainLayout.js
new file mode 100644
index 0000000..f7adeae
--- /dev/null
+++ b/src/js/ui/mainLayout.js
@@ -0,0 +1,14 @@
+var scripts = [
+ {
+ element:"script",
+ src:"./js/ui/header.js"
+ },
+ {
+ element:"script",
+ src:"./js/ui/footer.js"
+ }
+]
+for ( var i = 0; i < scripts.length; i++ )
+{
+ makeElement(scripts[i], root.body);
+}