Skip to content
This repository was archived by the owner on Apr 12, 2020. It is now read-only.

Commit 3a9c422

Browse files
author
alexandresalome
committed
add a footer
1 parent d6804d2 commit 3a9c422

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

src/Gitonomy/Browser/Resources/views/layout.html.twig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
<div class="gitonomy-browser-content">
1919
{% block content '' %}
2020
</div>
21+
<div class="gitonomy-browser-footer">
22+
<p>
23+
Powered by <a href="http://gitonomy.com">gitonomy</a>
24+
</p>
25+
</div>
2126
</div>
2227
</div>
2328
<script type="text/javascript" src="/vendor/jquery-1.9.0.min.js"></script>

src/Gitonomy/Browser/Resources/views/reference.html.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
{% block content %}
66
<h2>
7-
<a href="{{ path('repository') }}">
8-
{{ repository }}
9-
</a>
10-
&gt;
117
{% if reference is git_branch %}
128
branch {{ reference.name }}
139
{% elseif reference is git_tag %}

web/css/layout.css

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,33 @@
1+
h1, h2, h3, p, body {
2+
margin: 0;
3+
padding: 0;
4+
}
5+
16
body {
27
margin: 0;
38
font-family: sans-serif;
9+
padding-bottom: 20px;
410
}
511

612
.gitonomy-browser-wrapper {
713
width: 1000px;
814
margin: 0 auto;
9-
box-shadow: 0px 0px 60px #aaa;
15+
box-shadow: 0px 0px 60px #aaa;
16+
}
17+
18+
.gitonomy-browser-footer {
19+
line-height : 20px;
20+
height : 20px;
21+
font-size : 0.75em;
22+
color : #aaa;
23+
text-align : center;
24+
margin-top : 20px;
25+
border-top : 1px solid #dfdfdf;
26+
background-color: #efefef;
27+
}
28+
29+
.gitonomy-browser .gitonomy-browser-footer a {
30+
color: #777;
1031
}
1132

1233
.gitonomy-browser-content {

0 commit comments

Comments
 (0)