Added a navigation sidebar

This commit is contained in:
Correl Roush 2010-11-22 00:48:29 -05:00
parent 630e080da7
commit e7285b2324
4 changed files with 17 additions and 2 deletions

View file

@ -5,6 +5,15 @@ body, th, td {
a { a {
color: black; color: black;
} }
div.navigation {
width: 200px;
float: left;
background-color: #ddd;
}
div.content {
margin-left: 200px;
background-color: #eee;
}
span.marker { span.marker {
display: block; display: block;
float: left; float: left;

View file

@ -1,7 +1,11 @@
{% extends "layouts/default.html" %} {% extends "layouts/default.html" %}
{% load gravatar %} {% load gravatar %}
{% load vcs %} {% load vcs %}
{% block navigation %}
{% include "browser/navigation.html" %}
{% endblock %}
{% block content %} {% block content %}
<h2>Commit Log</h2> <h2>Commit Log</h2>
Branches: Branches:

View file

@ -1,6 +1,6 @@
{% extends "layouts/default.html" %} {% extends "layouts/default.html" %}
{% block content %} {% block navigation %}
<h2>Repositories</h2> <h2>Repositories</h2>
<ul> <ul>

View file

@ -11,6 +11,8 @@
<h1><a href="{% url codereview.dashboard.views.index %}">CodeReview</a></title> <h1><a href="{% url codereview.dashboard.views.index %}">CodeReview</a></title>
</div> </div>
<div class="navigation"> <div class="navigation">
{% block navigation %}
{% endblock %}
</div> </div>
<div class="content"> <div class="content">
{% block content %} {% block content %}