Instead of a mix between URL matching and manually setting the active fling, set
the active fling from the URL.
This fixes some strange edge cases where current URL and selected fling do not
add up.
Fling administration was directly beneth root path. For convenience the root
path should be reserved for retrieving flings.
Also adds fling content sections to real urls instead of hash urls,
parameterized by the active fling. A content section for a fling can hence now
be bookmarked or directly navigated to.
Sass and webpack don't interact well together. A (non-partial) SCSS file
compiled in Sass context and imported from a component will duplicate all its
internal imports.
Create a single SCSS/CSS stylesheet which is not duplicated multiple times due
to per-component import. The fling.scss master style sheet is now imported once
in index.js and contains styles for all components.
Signed-off-by: Armin Friedl <dev@friedl.net>
Basic Fling backend with admin interface.
Features:
- Basic admin site structure
- Token authorization
- Upload artifacts
- Change basic fling settings
Many things missing still or not fully functional.
Signed-off-by: Armin Friedl <dev@friedl.net>