2021-07-01 06:52:04 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-07-03 07:24:43 +02:00
|
|
|
<div class="w3-bar">
|
|
|
|
|
2021-07-03 08:22:23 +02:00
|
|
|
<span class="w3-bar-item"><span class="w3-xlarge">{{repo.owner.name}}/{{repo.name}}</span></span>
|
2021-07-03 07:24:43 +02:00
|
|
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Fork</button></span>
|
|
|
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Star</button></span>
|
|
|
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Follow</button></span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2021-07-03 07:38:12 +02:00
|
|
|
<div class="w3-bar w3-light-grey">
|
|
|
|
<button class="w3-bar-item w3-button repotablink w3-grey" onclick="openCity(event,'Code')">Code</button>
|
|
|
|
<button class="w3-bar-item w3-button repotablink" onclick="openCity(event,'Issues')">Issues</button>
|
|
|
|
<button class="w3-bar-item w3-button repotablink" onclick="openCity(event,'Pull')">Pull requests</button>
|
|
|
|
<button class="w3-bar-item w3-button repotablink" onclick="openCity(event,'Projects')">Projects</button>
|
|
|
|
<button class="w3-bar-item w3-button repotablink" onclick="openCity(event,'Versions')">Versions</button>
|
|
|
|
<button class="w3-bar-item w3-button repotablink" onclick="openCity(event,'Wiki')">Wiki</button>
|
|
|
|
<button class="w3-bar-item w3-button repotablink" onclick="openCity(event,'Activity')">Activity</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="Code" class="w3-container w3-border repoview">
|
2021-07-03 08:22:23 +02:00
|
|
|
<p><a href="https://www.wikipedia.org">https://www.wikipedia.org</a></p>
|
|
|
|
<p>Repository description</p>
|
2021-07-03 10:27:10 +02:00
|
|
|
|
2021-07-03 08:22:23 +02:00
|
|
|
<div class="w3-cell-row">
|
|
|
|
<div class="w3-container w3-center w3-cell">
|
|
|
|
<i class="fa fa-history"></i> 112 revisions
|
|
|
|
</div>
|
|
|
|
<div class="w3-container w3-center w3-cell">
|
2021-07-03 10:21:54 +02:00
|
|
|
<i class="fa fa-code-branch"></i> 10 branches
|
2021-07-03 08:22:23 +02:00
|
|
|
</div>
|
|
|
|
<div class="w3-container w3-center w3-cell">
|
|
|
|
<i class="fa fa-tag"></i> 5 tags
|
|
|
|
</div>
|
|
|
|
<div class="w3-container w3-center w3-cell">
|
2021-07-03 13:21:22 +02:00
|
|
|
<i class="fa fa-database">::before</i> 10 KiB
|
2021-07-03 08:22:23 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-03 10:27:10 +02:00
|
|
|
|
|
|
|
<div class="w3-cell-row">
|
|
|
|
<div class="w3-container w3-center w3-cell">
|
2021-07-03 13:21:22 +02:00
|
|
|
<button class="w3-button w3-round w3-border">Branch: master</button>
|
2021-07-03 10:27:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="w3-container w3-center w3-cell">
|
2021-07-03 13:21:22 +02:00
|
|
|
<button class="w3-button w3-round w3-border">New merge request</button>
|
2021-07-03 10:27:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="w3-container w3-center w3-cell">
|
2021-07-03 13:21:22 +02:00
|
|
|
<button class="w3-button w3-round w3-border">New file</button>
|
|
|
|
<button class="w3-button w3-round w3-border">Upload file</button>
|
2021-07-03 10:27:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="w3-container w3-center w3-cell">
|
2021-07-03 13:21:22 +02:00
|
|
|
<button class="w3-button w3-border">HTTPS</button>
|
|
|
|
<button class="w3-button w3-border">SSH</button><input class="w3-input" type="text" value="git@domain.net:plop/plip.git">
|
2021-07-03 10:27:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% for (dir, prev) in root %}/<a href="{{prev}}">{{dir}}</a>{% endfor %}
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
{% for entry in browse %}
|
|
|
|
<li>{{ entry }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2021-07-03 07:38:12 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="Issues" class="w3-container w3-border repoview" style="display:none">
|
|
|
|
<h2>Issues</h2>
|
|
|
|
<p>Paris is the capital of France.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="Pull" class="w3-container w3-border repoview" style="display:none">
|
|
|
|
<h2>Pull</h2>
|
|
|
|
<p>Tokyo is the capital of Japan.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="Projects" class="w3-container w3-border repoview" style="display:none">
|
|
|
|
<h2>Projects</h2>
|
|
|
|
<p>Tokyo is the capital of Japan.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="Versions" class="w3-container w3-border repoview" style="display:none">
|
|
|
|
<h2>Versions</h2>
|
|
|
|
<p>Tokyo is the capital of Japan.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="Wiki" class="w3-container w3-border repoview" style="display:none">
|
|
|
|
<h2>Wiki</h2>
|
|
|
|
<p>Tokyo is the capital of Japan.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="Activity" class="w3-container w3-border repoview" style="display:none">
|
|
|
|
<h2>Activity</h2>
|
|
|
|
<p>Tokyo is the capital of Japan.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
function openCity(evt, viewName) {
|
|
|
|
var i, x, tablinks;
|
|
|
|
x = document.getElementsByClassName("repoview");
|
|
|
|
for (i = 0; i < x.length; i++) {
|
|
|
|
x[i].style.display = "none";
|
|
|
|
}
|
|
|
|
tablinks = document.getElementsByClassName("repotablink");
|
|
|
|
for (i = 0; i < x.length; i++) {
|
|
|
|
tablinks[i].className = tablinks[i].className.replace(" w3-grey", "");
|
|
|
|
}
|
|
|
|
document.getElementById(viewName).style.display = "block";
|
|
|
|
evt.currentTarget.className += " w3-grey";
|
|
|
|
}
|
|
|
|
</script>
|
2021-07-03 07:24:43 +02:00
|
|
|
|
2021-07-01 06:52:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|