Commit c8a223c0 authored by Ben Waters's avatar Ben Waters

shut up people

parent 31a5504a
{% extends 'templates/base.html' %}
......@@ -22,6 +22,7 @@ urlpatterns = patterns('',
url(r'^api/', include(router.urls)),
url(r'^build/', build_trajectory, name='build'),
url(r'^new/', StartTrajectoryView.as_view(), name='new-trac'),
url(r'^compare/', compare, name='compare'),
#url(r'^student/(?P<slug>[^/]+)/$', DetailStudent.as_view(),
#name='detail-student'),
url(r'^profile/', profile, name='profile-detail'),
......
......@@ -26,6 +26,10 @@ class StartTrajectoryView(FormView):
template_name = 'new.html'
form_class = StartTrajectoryForm
def compare(request):
return render_to_response('compare.html', {
})
#API SHIT
@login_required
def profile(request):
......
......@@ -7,8 +7,8 @@
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="{% url 'profile-detail' %}">Me</a></li>
<li><a href="#">New</a></li>
<li><a href="#">Compare</a></li>
<li><a href="{% url 'new-trac' %}">New</a></li>
<li><a href="{% url 'compare' %}">Compare</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Search</a></li>
......
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