diff --git a/index.html b/index.html
index e149fce4a..35f65085a 100644
--- a/index.html
+++ b/index.html
@@ -8,15 +8,16 @@
+
-
-
-
+
diff --git a/static/app.js b/static/app.js
index 0acd35c44..7b09c49f0 100644
--- a/static/app.js
+++ b/static/app.js
@@ -1,16 +1,18 @@
;(async () => {
const options = {
- moduleCache: {vue: Vue},
+ moduleCache: {
+ vue: Vue,
+ less: less
+ },
getFile(url) {
return fetch(url).then(res => {
if (!res.ok) throw Object.assign(new Error(url + ' ' + res.statusText), {res});
return res.text();
- })
+ });
},
addStyle(textContent) {
- document.head.insertBefore(
- Object.assign(document.createElement('style'), {textContent}),
- document.head.getElementsByTagName('style')[0] || null);
+ const object = Object.assign(document.createElement('style'), {textContent});
+ document.head.insertBefore(object, document.head.getElementsByTagName('style')[0] || null);
},
};
diff --git a/static/template/layout.vue b/static/template/layout.vue
index 06f4bfef9..68acdf973 100644
--- a/static/template/layout.vue
+++ b/static/template/layout.vue
@@ -13,6 +13,45 @@
+