mirror of
https://forge.pointfixe.fr/hubert/gitust.git
synced 2026-02-04 10:17:28 +01:00
save
This commit is contained in:
@@ -3,9 +3,31 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||
<title>{{repo}}</title>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<title>{{repo.name}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="w3-container">
|
||||
<div class="w3-bar w3-border w3-light-grey">
|
||||
<a href="#" class="w3-bar-item w3-button w3-green"><i class="fa fa-home"></i> Home</a>
|
||||
<a href="#" class="w3-bar-item w3-button">Link 1</a>
|
||||
<a href="#" class="w3-bar-item w3-button">Link 2</a>
|
||||
{% match user_opt %}
|
||||
{% when Some with (user) %}
|
||||
<div class="w3-dropdown-hover w3-right">
|
||||
<button class="w3-button">{{user.name}}</button>
|
||||
<div class="w3-dropdown-content w3-bar-block w3-card-4">
|
||||
<a href="#" class="w3-bar-item w3-button">Link 1</a>
|
||||
<a href="#" class="w3-bar-item w3-button">Link 2</a>
|
||||
<a href="#" class="w3-bar-item w3-button">Link 3</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" class="w3-bar-item w3-button w3-right"><i class="fa fa-sign-out"></i> Log out</a>
|
||||
{% when None %}
|
||||
<a href="#" class="w3-bar-item w3-button w3-right"><i class="fa fa-sign-in"></i> Log in</a>
|
||||
{% endmatch %}
|
||||
</div>
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -13,7 +13,7 @@
|
||||
<div class="w3-col m3 w3-center"><p></p></div>
|
||||
<div class="w3-col m6 w3-left-align">
|
||||
<div class="w3-container w3-amber w3-round w3-margin">
|
||||
<h1>{{user}}/{{repo}}</h1>
|
||||
<h1>{{repo.owner.name}}/{{repo.name}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user