initial commit, adding flask structure, README, routes

- routes defined in routes.py uses the <path:..> function to catch
  every non-empty url comming along
- request.full_path is used to get the entire url, as <path:> would
  remove eg GET '?' from the url, which we don't want
  for the link forwarding.
- request.full_path[1:] removes the '/' from the url
This commit is contained in:
2021-08-12 11:45:31 +02:00
commit 85850a9d63
13 changed files with 159 additions and 0 deletions

10
app/static/css/style.css Normal file
View File

@ -0,0 +1,10 @@
html
{
font-family: Segoe UI, Frutiger, sans-serif;
width: 100%; height: 100%
}
body {
margin: 0px;
}

BIN
app/static/res/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1 @@
[]