tartiflette/app/templates/base.html
2019-01-25 15:44:55 +00:00

77 lines
3.8 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="unstable")}}">Unstable</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="unstable")}}">Stable vs. Unstable</a>
<a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="stretch")}}">Stable vs. Stretch</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown">Apps observatory</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="{{ url_for('main.appsobservatory_history')}}">History graphs</a>
<a class="dropdown-item" href="{{ url_for('main.appsobservatory_rss')}}">RSS</a>
<a class="dropdown-item" href="{{ url_for('main.appsobservatory_unlisted')}}">Unlisted apps</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('main.app_maintainer_dash') }}">App maintainer dashboard</span></a>
</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>