webdist/app/templates/index.html

35 lines
939 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Silvan Calarco">
<meta name="generator" content="WebDist 0.1">
<title>WebDist</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/assets/css/custom.css">
</head>
<body>
<div class="container-fluid">
<h2>Welcome To WebDist</h2>
<a href="/">Home</a> | <a href="/latest">Latest packages</a>
<hr>
{% block body %}
<pre>{{ output }}</pre>
{% for button in config['BUTTONS'] %}
<div class="col">
<a href="button/{{ button }}" class="btn btn-warning" role="button">{{ config['BUTTONS'][button]['text'] }}</a>
</div>
</hr>
{% endfor %}
{% endblock %}
</div>
</body>
</html>