gitust/templates/base.html

35 lines
1.5 KiB
HTML
Raw Normal View History

2021-07-01 06:52:04 +02:00
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
2021-07-04 07:43:03 +02:00
<link rel="stylesheet" href="/static/w3/w3.css">
<link rel="stylesheet" href="/static/gitust/gitust.css">
2021-07-04 06:23:47 +02:00
<link rel="stylesheet" href="/static/fontawesome/css/all.min.css">
<link rel="stylesheet" href="/static/fontawesome/css/v4-shims.min.css">
2021-07-02 06:31:43 +02:00
<title>{{repo.name}}</title>
2021-07-01 06:52:04 +02:00
</head>
2021-07-03 07:24:43 +02:00
<body class="w3-white">
2021-07-02 06:31:43 +02:00
<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">
2021-07-02 07:04:00 +02:00
<button class="w3-button">{{user.name}} <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4" style="right:0">
2021-07-02 06:31:43 +02:00
<a href="#" class="w3-bar-item w3-button">Link 1</a>
<a href="#" class="w3-bar-item w3-button">Link 2</a>
2021-07-02 07:04:00 +02:00
<a href="#" class="w3-bar-item w3-button">Link 3 lkj lkj lkj lkj lkj </a>
<a href="#" class="w3-bar-item w3-button"><i class="fa fa-sign-out"></i> Log out</a>
2021-07-02 06:31:43 +02:00
</div>
</div>
{% when None %}
<a href="#" class="w3-bar-item w3-button w3-right"><i class="fa fa-sign-in"></i> Log in</a>
{% endmatch %}
</div>
2021-07-01 06:52:04 +02:00
{% block content %}{% endblock %}
2021-07-02 06:31:43 +02:00
</div>
2021-07-01 06:52:04 +02:00
</body>
</html>