summaryrefslogtreecommitdiff
path: root/src/main/resources/META-INF
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-25 05:37:43 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-25 05:37:43 +0100
commitd8f164432c0b18765f74473001c54006e50787a9 (patch)
treedecbbad94a95d58b9a64d767e4d83716dafeb27b /src/main/resources/META-INF
parent514273e539bbe580f142ce96d96972667b779b73 (diff)
Clean up CSS and JavaScript files, change wiki layout a bit.
Change-Id: Ib47bf59db5e4e65ef58515b45d63bd7f1572c88b
Diffstat (limited to 'src/main/resources/META-INF')
-rw-r--r--src/main/resources/META-INF/resources/admin/admin.js2
-rw-r--r--src/main/resources/META-INF/resources/admin/index.html2
-rw-r--r--src/main/resources/META-INF/resources/common.css12
-rw-r--r--src/main/resources/META-INF/resources/components.js2
4 files changed, 15 insertions, 3 deletions
diff --git a/src/main/resources/META-INF/resources/admin/admin.js b/src/main/resources/META-INF/resources/admin/admin.js
deleted file mode 100644
index a4ba1cd..0000000
--- a/src/main/resources/META-INF/resources/admin/admin.js
+++ /dev/null
@@ -1,2 +0,0 @@
-import {AdminElement} from "./AdminElement.js";
-
diff --git a/src/main/resources/META-INF/resources/admin/index.html b/src/main/resources/META-INF/resources/admin/index.html
index f4db272..7e1aa0a 100644
--- a/src/main/resources/META-INF/resources/admin/index.html
+++ b/src/main/resources/META-INF/resources/admin/index.html
@@ -5,7 +5,7 @@
<meta charset="UTF-8">
<title>MulkCMS Admin</title>
- <script type="module" src="/admin/admin.js"></script>
+ <script type="module" src="/components.js"></script>
</head>
<body>
diff --git a/src/main/resources/META-INF/resources/common.css b/src/main/resources/META-INF/resources/common.css
new file mode 100644
index 0000000..4b07940
--- /dev/null
+++ b/src/main/resources/META-INF/resources/common.css
@@ -0,0 +1,12 @@
+/* Pure CSS */
+@import "web_modules/purecss/build/base.css";
+@import "web_modules/purecss/build/buttons.css";
+@import "web_modules/purecss/build/forms.css";
+@import "web_modules/purecss/build/menus.css";
+@import "web_modules/purecss/build/tables.css";
+
+/* Sanitize.css */
+@import "web_modules/sanitize.css/sanitize.css";
+@import "web_modules/sanitize.css/forms.css";
+@import "web_modules/sanitize.css/page.css";
+@import "web_modules/sanitize.css/typography.css";
diff --git a/src/main/resources/META-INF/resources/components.js b/src/main/resources/META-INF/resources/components.js
new file mode 100644
index 0000000..61d4657
--- /dev/null
+++ b/src/main/resources/META-INF/resources/components.js
@@ -0,0 +1,2 @@
+import {AdminElement} from "./admin/AdminElement.js";
+