Skip to content

Commit 157d195

Browse files
committed
footer on all pages
1 parent 52e6658 commit 157d195

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

example/example/templates/example/base.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
<style type="text/css">
1010
body {
1111
padding-top: 70px;
12-
padding-bottom: 40px;
12+
}
13+
14+
footer {
15+
border-top: 1px solid #eee;
16+
margin-top: 40px;
17+
padding-top: 30px;
18+
padding-bottom: 30px;
1319
}
1420
</style>
1521
</head>
@@ -80,6 +86,12 @@
8086
{% block content %}{% endblock %}
8187
</div>
8288

89+
90+
<footer class="container text-center">
91+
<a href="https://evonove.it"><img width="80px" src="https://evonove.it/img/logo.png"></a>
92+
&nbsp; Django OAuth Toolkit version {{version}}
93+
</footer>
94+
8395
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
8496
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
8597
{% block javascript %}{% endblock javascript %}

example/example/templates/example/home.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,4 @@ <h4>Create your own app on the playground</h4>
3333
<p><a class="btn" href="{% url 'api-client' %}">Use me as a Provider! &raquo;</a></p>
3434
</div>
3535
</div>
36-
37-
<hr>
38-
39-
<footer>
40-
<p><a href="https://evonove.it"><img width="80px" src="https://evonove.it/img/logo.png"></a>
41-
&nbsp Django OAuth Toolkit version {{version}}</p>
42-
</footer>
43-
4436
{% endblock %}

0 commit comments

Comments
 (0)