Skip to content
Snippets Groups Projects
Verified Commit 20290359 authored by Jakob Moser's avatar Jakob Moser
Browse files

Move frontend code (= all current code) into portal/{static,template} dirs

parent c2bc782d
No related branches found
No related tags found
1 merge request!4Add a Flask-based backend
Showing
with 6 additions and 4 deletions
@import url("/lib/fontawesome-free-6.5.2-web/css/all.min.css");
@import url("/static/lib/fontawesome-free-6.5.2-web/css/all.min.css");
/* ----------------------- Variables ----------------------- */
......@@ -35,11 +35,11 @@ body {
}
body.blue {
background-image: url("/lib/nautilus/nautilus_blue.svg");
background-image: url("/static/lib/nautilus/nautilus_blue.svg");
}
body.green {
background-image: url("/lib/nautilus/nautilus_green.svg");
background-image: url("/static/lib/nautilus/nautilus_green.svg");
}
header {
......
File moved
File moved
File moved
import { All } from "./components/pages/AllServices.mjs"
import { Start } from "./components/pages/Start.mjs"
import { Unlock } from "./components/pages/Unlock.mjs"
import "/lib/mithril/mithril.min.js"
import "/static/lib/mithril/mithril.min.js"
// See https://mithril.js.org/route.html#routing-strategies
m.route.prefix = ""
m.route(document.body, "/", {
"/": Start,
"/all-services": All,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment