Commit 24432a7d authored by Daniel W Bond's avatar Daniel W Bond
Browse files

navbar

parent fd7959ec
advisor/static/img/favicon.ico

947 Bytes | W: | H:

advisor/static/img/favicon.ico

1.12 KB | W: | H:

advisor/static/img/favicon.ico
advisor/static/img/favicon.ico
advisor/static/img/favicon.ico
advisor/static/img/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
......@@ -6,7 +6,10 @@ SRCT Advisor | Compare
{% block content %}
<p>Trajectories in columns</p>
<p>Select one of your trajectories from a dropdown</p>
<p>Or a public trajectory</p>
<p>Trajectories in columns, up to three sounds reasonable</p>
<p>Some sort of timeline along the side so that they're aligned properly</p>
{% endblock %}
......@@ -12,6 +12,8 @@ SRCT Advisor
<p><h6>Not intended as a replacement for formal academic advising.</h6></p>
<!--change text if logged it: this is where "create a new trajectory" goes-->
<p>Dropdown menus for Courses. Hopefully some fill-in-the-blanksing.</p>
<p>Select your degree(s).</p>
......
<nav class="navbar navbar-static-top" role="navigation">
<div class="container">
</div>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="{% url 'homepage' %}"><strong>GMU</strong>Advisor</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="#student">Me</a></li>
<li><a href="{% url 'homepage' %}">New Trajectory</a></li>
<li><a href="#compare">Compare</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#login">Log In</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
from django.shortcuts import render_to_response
from django.shortcuts import render, render_to_response
from trajectories.models import Course, Trajectory, Student
# other functions
......@@ -45,7 +45,7 @@ def nextCourses(coursesTaken, remainingReqCourses):
#@login_required -- not sure how this part works
def index(request):
return render_to_response('index.html', {
return render(request, 'index.html', {
},
)
......@@ -53,7 +53,7 @@ def index(request):
# student creates trajectory
def makeTrajectory(request):
return render_to_repsonse('maketrajectory.html', {
return render(request, 'maketrajectory.html', {
},
)
......@@ -61,7 +61,7 @@ def makeTrajectory(request):
# just displays a page for the course
def course(request, slug):
return render_to_response('course.html', {
return render(request, 'course.html', {
},
)
......@@ -70,7 +70,7 @@ def course(request, slug):
#@login_required
def student(request, slug):
return render_to_response('student.html', {
return render(request, 'student.html', {
},
)
......@@ -79,7 +79,7 @@ def student(request, slug):
#@login_required
def compare(request):
return render_to_response('compare.html', {
return render(request, 'compare.html', {
},
)
......@@ -87,7 +87,7 @@ def compare(request):
# SRCT, how to contribute information
def about(request):
return render_to_response('about.html', {
return render(request, 'about.html', {
},
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment