diff options
| author | 2018-03-04 16:33:01 +0000 | |
|---|---|---|
| committer | 2018-03-04 16:33:01 +0000 | |
| commit | 5099ae7055b313d1a93d53069c2cfbb0ca0dcf5a (patch) | |
| tree | e8d4b781a38b17502f24e1fd9f444926e88544d6 /pysite/views/main/info/rules.py | |
| parent | Fix navbar dropdown (diff) | |
Info pages #13xan #13xak (#36)
* Info pages and templates
* Info pages and templates
* Info pages and templates
* Update navigation and fix up HTML
* Navigation HTML spacing for readability
* Fix error views not using `self.render()`
* `render()` method should accept Any for context values
* Change header linking CSS to a dedicated class
* Rules page
* Basic resources page setup
* Fix headers for new CSS class
* Resource categories and initial resource data
* Add link to JSON file on GH - won't work until the branch is merged
* Remove info overview page and redirect info root url to resources
* Flake8
* Add some tests
* Line lengths
Diffstat (limited to 'pysite/views/main/info/rules.py')
| -rw-r--r-- | pysite/views/main/info/rules.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pysite/views/main/info/rules.py b/pysite/views/main/info/rules.py new file mode 100644 index 00000000..75faded1 --- /dev/null +++ b/pysite/views/main/info/rules.py @@ -0,0 +1,10 @@ +# coding=utf-8 +from pysite.base_route import RouteView + + +class RulesView(RouteView): + path = "/info/rules" + name = "info/rules" + + def get(self): + return self.render("main/info/rules.html") |