mirror of
https://github.com/correl/codereview.git
synced 2024-11-15 03:00:10 +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 {
|
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;
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "layouts/default.html" %}
|
{% extends "layouts/default.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block navigation %}
|
||||||
<h2>Repositories</h2>
|
<h2>Repositories</h2>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue