blob: d133a1a5806a827bd9917f3468523b60570f6afe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Blind Guild site (?)
This repository contains a web server which implements some guild management stuff, I guess.
## Project layout
The main server is implemented in `app.py`.
`views/` contains Jinja2 templates.
These are rendered using the `bottle#template_jinja()` function,
imported as `template()` in `app.py`.
Every view `views/X.html` has a corresponding `static/styles/X.css`
containing styles specific to that view.
Global styles are thus contained in `static/styles/base.css`
since that template forms the base for all other views.
`static/` is for files that never change.
All HTTP requests that begin with `/images/` or `/styles/` will be resolved relative to their corresponding subfolder in `static/`.
|