From 94a2d1a6d25303258b23a75c103244c8e34bd56b Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Tue, 13 Mar 2018 12:36:42 +0000 Subject: Update info section with an index --- templates/main/info/index.html | 41 +++++++++++++++++++++++++++++++++++++++++ templates/main/navigation.html | 16 ++++++++-------- 2 files changed, 49 insertions(+), 8 deletions(-) create mode 100644 templates/main/info/index.html (limited to 'templates/main') diff --git a/templates/main/info/index.html b/templates/main/info/index.html new file mode 100644 index 00000000..fe779a3b --- /dev/null +++ b/templates/main/info/index.html @@ -0,0 +1,41 @@ +{% extends "main/base.html" %} +{% block title %}Information{% endblock %} +{% block content %} +
+
+
+

+ Information + + + + +

+ + +

+ Getting Help   + +
+ How to ask for help - and how to interpret the responses +

+ +

+ Resources   + +
+ A page full of useful resources for learning and working with Python +

+ +

+ Server Rules   + +
+ Rules and infraction information for our server +

+
+
+
+{% endblock %} \ No newline at end of file diff --git a/templates/main/navigation.html b/templates/main/navigation.html index 3178895e..9cc2cb3d 100644 --- a/templates/main/navigation.html +++ b/templates/main/navigation.html @@ -31,9 +31,9 @@
  • {% if current_page.startswith("info") %} -
  • Information
  • +
  • Information
  • {% else %} -
  • Information
  • +
  • Information
  • {% endif %} {% if current_page == "info/help" %} @@ -42,18 +42,18 @@
  • Getting Help
  • {% endif %} - {% if current_page == "info/rules" %} -
  • Server Rules
  • - {% else %} -
  • Server Rules
  • - {% endif %} - {% if current_page == "info/resources" %}
  • Resources
  • {% else %}
  • Resources
  • {% endif %} + {% if current_page == "info/rules" %} +
  • Server Rules
  • + {% else %} +
  • Server Rules
  • + {% endif %} +
  • -- cgit v1.2.3