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

Commit d6804d2

Browse files
author
alexandresalome
committed
stylish titles, links and fix link
1 parent 0c03095 commit d6804d2

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="gitonomy-browser">
1111
<h1>
1212
{% if repository|default(false) %}
13-
<a class="project-name" href="#">{{ repository.name }}</a>
13+
<a class="project-name" href="{{ path('repository') }}">{{ repository.name }}</a>
1414
-
1515
{% endif %}
1616
<a href="{{ path('repositories') }}">gitonomy/browser</a>
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{% extends "layout.html.twig" %}
22

33
{% block content %}
4-
<h2>{{ repository }}</h2>
5-
6-
<h3>Branches:</h3>
4+
<h2>Branches</h2>
75
{{ git_branches(repository) }}
86

9-
<h3>Tags:</h3>
7+
<h2>Tags</h2>
108
{{ git_tags(repository) }}
119

12-
<h3>Logs:</h3>
10+
<h2>Logs</h2>
1311
{{ git_log(repository.log.setLimit(30), {query_url: path('log_ajax')}) }}
1412
{% endblock %}

web/css/layout.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,20 @@ body {
4949
width: 100%;
5050
text-align: right;
5151
}
52+
53+
.gitonomy-browser h2 {
54+
font-weight: normal;
55+
font-size: 1.3em;
56+
padding-top: 1em;
57+
color: #333;
58+
border-bottom: 1px solid #ddd;
59+
}
60+
61+
.gitonomy-browser a {
62+
color: blue;
63+
text-decoration: none;
64+
}
65+
66+
.gitonomy-browser a:hover {
67+
text-decoration: underline;
68+
}

0 commit comments

Comments
 (0)