diff options
author | 2018-04-14 18:09:30 +0100 | |
---|---|---|
committer | 2018-04-14 19:09:30 +0200 | |
commit | b8b62a2bddfa548a96533900338700155f4b3885 (patch) | |
tree | 34188bf18a651276f669349c2d515eacef8efdc6 /pysite/views/main/about/rules.py | |
parent | [Wiki] Fix wiki page interpreted text role (diff) |
Added an About category with Partners view (#1pv7h) (#50)
* Added Partners view, and Navbar item
* Moved info/rules to about/rules and fixed references
* Added Partner images, and populated the partners page
* Fixed responsiveness on smaller displays
Added like 2 characters to the column tag, to enable stacking of columns if the display
width is lower than 960 pixels.
* Fixed indentation
* Updated Code Monkeys Banner
Added the shiny new CM Banner, and rearranged the partner cards.
* Fixed newlines at end of HTML files
* Partners page updated to generate from JSON file
• The templates/main/about/partners.html file now uses the
static/partners.json file to generate the Partner cards.
• Flexboxes are nice.
* Rearranged containers on Partners page
I have no idea how flexboxes work :DDD
* Updated Partners page to fix styling issues
* Moved tag styling to the appropriate CSS file
* Changed code style of stylesheet :D
* Addresses Lemon's code style issues
• Partner cards now have id="partner-card", which is selected with a CSS
selector for styling, rather than styling all card objects.
• Removed nonbreaking spaces that PyCharm didn't tell me about
• Indented conditional HTML content to match Jinja conditionals
• Fixed unclosed image tag
* Removed div bloating, and increased specifity of CSS selection
Diffstat (limited to 'pysite/views/main/about/rules.py')
-rw-r--r-- | pysite/views/main/about/rules.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pysite/views/main/about/rules.py b/pysite/views/main/about/rules.py new file mode 100644 index 00000000..805936a8 --- /dev/null +++ b/pysite/views/main/about/rules.py @@ -0,0 +1,10 @@ +# coding=utf-8 +from pysite.base_route import RouteView + + +class RulesView(RouteView): + path = "/about/rules" + name = "about.rules" + + def get(self): + return self.render("main/about/rules.html") |