mirror of
https://github.com/tjsga/studyguides.git
synced 2025-04-04 19:30:17 -04:00
Add persistent navigation bar to top of page
This commit is contained in:
parent
8d66e49cab
commit
93052c7787
|
@ -1,6 +1,6 @@
|
|||
{% extends "base.html" %} {% block main %}
|
||||
{% extends "base.html" %} {% load static %} {% block main %}
|
||||
<main>
|
||||
<h2>{{subject.name}} / {{ course.name }}</h2>
|
||||
<h1><a href="/">All</a> / <a href="/{{subject.url}}">{{subject.name}}</a> / <a href="/{{subject.url}}/{{course.url}}">{{course.name}}</a></h1>
|
||||
{% for guide in guides %}
|
||||
<p class="color-primary"><a href="{{guide.url}}"/>{{ guide.name }}</a></p>
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% extends "base.html" %} {% block main %}
|
||||
{% extends "base.html" %} {% load static %} {% block main %}
|
||||
<main>
|
||||
<h1><a href="/">Subjects</a></h1>
|
||||
<h1><a href="/">All</a></h1>
|
||||
|
||||
{% for subject, courses in subjects %}
|
||||
<h2>{{ subject.name }}</h2>
|
||||
<a href="/{{subject.url}}"><h2>{{ subject.name }}</h2>
|
||||
|
||||
{% for course in courses %}
|
||||
<p class="color-primary"><a href="/{{subject.url}}/{{course.url}}"/>{{ course.name }}</a></p>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "base.html" %} {% block main %}
|
||||
{% extends "base.html" %} {% load static %} {% block main %}
|
||||
<main>
|
||||
<h2>{{ subject.name }}</h2>
|
||||
<h1><a href="/">All</a> / <a href="/{{subject.url}}">{{subject.name}}</a></h1>
|
||||
{% for course in courses %}
|
||||
<p class="color-primary"><a href="/{{subject.url}}/{{course.url}}"/>{{ course.name }}</a></p>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user