Commit 3bcee508 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

404, login to urls, ldap to requirements

parent 9a62dbc5
......@@ -42,6 +42,14 @@ urlpatterns = patterns('trajectories.views',
# url(r'^user/(?P<username>\w+)/compare/$', 'compare', name = 'compare'),
url(r'^compare/$', 'compare', name = 'compare'),
# admin pages
url(r'^admin/', include(,
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
urlpatterns += patterns('django.contrib.auth.views',
# auth pages
url(r'^login$', 'login', {'template_name': 'login.html'},
url(r'^logout$', 'logout', {'next_page': '/'}, name='website_logout'),
<!DOCTYPE html>
body {
text-align: center;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
height: 100%;
.container {
margin: auto;
h1 {
font-family: "Helvetica Neue", "Helvetica", sans-serif;
margin-top: ;
#squirrels {
width: 100%;
#acorn {
width: 52px;
position: fixed;
bottom: 10px;
right: 10px;
<div class="container">
<h1>404 Error - Page Not Found</h1>
<img id="squirrels" src="/static/img/squirrels.png">
<a href="/"><img id="acorn" src="/static/img/acorn.png"></a>
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