heavy-files-server/templates/index.html
2022-12-07 10:54:07 +01:00

29 lines
681 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ app_title }}</title>
<link rel="stylesheet" href="/assets/bootstrap.min.css">
</head>
<body style="margin-top: 80px">
<div class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand">{{ app_title }}</a>
</div>
</div>
<div class="container">
<div style="text-align: center">
<a type="button" class="btn btn-outline-primary btn-lg" href="/download">Download files</a>
</div>
<h3>Files list:</h3>
<ul>
{% for f in files -%}
<li>{{ f.to_str().unwrap() }}</li>
{% endfor -%}
</ul>
</div>
</body>
</html>