tartiflette/app/templates/base.html
2018-05-22 23:51:23 +02:00

68 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Yunohost Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" media="screen">
<link rel="stylesheet" href="{{ url_for('static', filename='css/tartiflette.css') }}" media="screen">
<link rel="stylesheet" href="{{ url_for('static', filename='css/open-iconic-bootstrap.css') }}" media="screen">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<span class="navbar-brand font-weight-bold">
<span class="oi oi-dashboard" aria-hidden="true"></span>
YunoHost Dev Dashboard</span>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarColor01">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{ url_for('main.pullrequests') }}">Pull Requests</span></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown">Apps CI</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<span class="dropdown-header">Per branch</span>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="stable")}}">Stable</a>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="testing")}}">Testing</a>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="arm")}}">ARM</a>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="stretch")}}">Stretch</a>
<div class="dropdown-divider"></div>
<span class="dropdown-header">Branch comparisons</span>
<a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="arm")}}">Stable vs. ARM</a>
<a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="testing")}}">Stable vs. Testing</a>
<a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="stretch")}}">Stable vs. Stretch</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{{ url_for('main.applist_history')}}">Apps list history graph</a>
</div>
</li>
</ul>
</div>
</nav>
<div id="main">
{% block content %}
{% endblock %}
</div>
<div id="footer" class="text-center">
<hr>
<h6>Powered by <a href="https://github.com/YunoHost/Tartiflette">Tartiflette</a></h6>
</div>
<script src="{{ url_for('static', filename='js/popper.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/tartiflette.js') }}"></script>
</body>
</html>