Skip to content

Commit

Permalink
[#744] Updated header and footer, and MyRSR page
Browse files Browse the repository at this point in the history
  • Loading branch information
KasperBrandt committed Sep 29, 2014
1 parent b6b8327 commit 4e04142
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
16 changes: 4 additions & 12 deletions akvo/templates/v3/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,15 @@

<!-- Piwik -->
{% tracking_code %}

{% block custom_page_css %}{% endblock %}
</head>

<body>

<!-- Part 1: Wrap all page content here -->


{% include 'v3/navigation.html' %}

<!-- Begin page content -->
<div class="container">
{% block maincontent %}{% endblock %}
</div>

{% include 'v3/navigation.html' %}

<div class="container">
{% block maincontent %}{% endblock %}
</div>

{% include 'v3/footer.html' %}

Expand Down
10 changes: 9 additions & 1 deletion akvo/templates/v3/navigation.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% load bootstrap3 %}

<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
Expand All @@ -19,7 +21,13 @@
<li><a href="#">Organisations</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Add an update</a></li>
<li>
<form>
<a href="/#" class="btn btn-primary btn-sm navbar-btn">
{% bootstrap_icon "bullhorn" %} Add an update
</a>
</form>
</li>
{% if not user.username %}
<li><a href="/register">Register</a></li>
<li><a href="/sign_in">Sign in</a></li>
Expand Down
6 changes: 0 additions & 6 deletions akvo/templates/v3/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@

{% block title %}{% trans 'Register your Akvo RSR account' %}{% endblock %}

{% block custom_page_css %}
<style type="text/css">
form { padding-bottom: 55px; }
</style>
{% endblock %}

{% block maincontent %}
<div class="col-md-6 col-md-offset-3">
<form method="post" action="" name="registrationForm">
Expand Down

0 comments on commit 4e04142

Please sign in to comment.