mirror of
https://github.com/correl/codereview.git
synced 2024-12-26 19:16:49 +00:00
Added a navigation sidebar
This commit is contained in:
parent
630e080da7
commit
e7285b2324
4 changed files with 17 additions and 2 deletions
|
@ -5,6 +5,15 @@ body, th, td {
|
|||
a {
|
||||
color: black;
|
||||
}
|
||||
div.navigation {
|
||||
width: 200px;
|
||||
float: left;
|
||||
background-color: #ddd;
|
||||
}
|
||||
div.content {
|
||||
margin-left: 200px;
|
||||
background-color: #eee;
|
||||
}
|
||||
span.marker {
|
||||
display: block;
|
||||
float: left;
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
{% extends "layouts/default.html" %}
|
||||
{% load gravatar %}
|
||||
|
||||
{% load vcs %}
|
||||
|
||||
{% block navigation %}
|
||||
{% include "browser/navigation.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Commit Log</h2>
|
||||
Branches:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "layouts/default.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% block navigation %}
|
||||
<h2>Repositories</h2>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
<h1><a href="{% url codereview.dashboard.views.index %}">CodeReview</a></title>
|
||||
</div>
|
||||
<div class="navigation">
|
||||
{% block navigation %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class="content">
|
||||
{% block content %}
|
||||
|
|
Loading…
Reference in a new issue