This commit is contained in:
Hubert 2021-07-04 07:43:03 +02:00
parent a8742ec487
commit 54889ccea5
3 changed files with 39 additions and 6 deletions

22
static/gitust/gitust.css Normal file
View File

@ -0,0 +1,22 @@
ul.breadcrumb {
/*padding: 10px 16px;*/
list-style: none;
/*background-color: #eee;*/
}
ul.breadcrumb li {
display: inline;
/*font-size: 18px;*/
}
ul.breadcrumb li+li:before {
/*padding: 8px;*/
color: black;
content: "/\00a0";
}
ul.breadcrumb li a {
color: #0275d8;
text-decoration: none;
}
ul.breadcrumb li a:hover {
color: #01447e;
text-decoration: underline;
}

View File

@ -2,7 +2,8 @@
<html lang="fr">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="/static/w3/w3.css">
<link rel="stylesheet" href="/static/gitust/gitust.css">
<link rel="stylesheet" href="/static/fontawesome/css/all.min.css">
<link rel="stylesheet" href="/static/fontawesome/css/v4-shims.min.css">
<title>{{repo.name}}</title>

View File

@ -21,10 +21,12 @@
</div>
<div id="Code" class="w3-container w3-border repoview">
<div class="w3-container">
<p><a href="https://www.wikipedia.org">https://www.wikipedia.org</a></p>
<p>Repository description</p>
</div>
<div class="w3-cell-row">
<div class="w3-container w3-cell-row">
<div class="w3-center w3-cell">
<i class="fa fa-history"></i> 112 revisions
</div>
@ -39,7 +41,7 @@
</div>
</div>
<div class="w3-cell-row">
<div class="w3-container w3-cell-row">
<div class="w3-cell w3-cell-middle">
<button class="w3-button w3-round w3-border">Branch: master</button>
<button class="w3-button w3-round w3-border">New merge request</button>
@ -59,7 +61,15 @@
</div>
</div>
{% for (dir, prev) in root %}/<a href="{{prev}}">{{dir}}</a>{% endfor %}
<div class="w3-container">
<ul class="breadcrumb">
{% for (dir, prev) in root %}
<li><a href="{{prev}}">{{dir}}</a></li>
{% endfor %}
</ul>
</div>
<!-- {% for (dir, prev) in root %}/<a href="{{prev}}">{{dir}}</a>{% endfor %}-->
<ul>
{% for entry in browse %}