1
0
Fork 0
vaultwarden-test/src/static/templates/admin/base.hbs

68 Zeilen
1,8 KiB
Handlebars

2019-01-19 22:12:52 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Bitwarden_rs Admin Panel</title>
2020-02-22 17:49:33 +01:00
<link rel="stylesheet" href="{{urlpath}}/bwrs_static/bootstrap.css" />
<script src="{{urlpath}}/bwrs_static/bootstrap-native-v4.js"></script>
<script src="{{urlpath}}/bwrs_static/md5.js"></script>
<script src="{{urlpath}}/bwrs_static/identicon.js"></script>
2019-01-19 22:12:52 +01:00
<style>
body {
padding-top: 70px;
}
@media (max-width:768px) {
body {
padding-top: 190px;
}
2019-02-18 20:43:34 +01:00
.container {
max-width: 100%;
}
}
2019-01-19 22:12:52 +01:00
img {
width: 48px;
height: 48px;
}
</style>
</head>
<body class="bg-light">
2019-12-01 21:15:14 +01:00
<nav class="navbar navbar-expand-sm navbar-dark bg-dark fixed-top shadow">
2019-01-19 22:12:52 +01:00
<a class="navbar-brand" href="#">Bitwarden_rs</a>
<div class="navbar-collapse">
<ul class="navbar-nav">
<li class="nav-item active">
2020-02-22 17:49:33 +01:00
<a class="nav-link" href="{{urlpath}}/admin">Admin Panel</a>
2019-01-19 22:12:52 +01:00
</li>
<li class="nav-item">
2020-02-22 17:49:33 +01:00
<a class="nav-link" href="{{urlpath}}/">Vault</a>
2019-01-19 22:12:52 +01:00
</li>
</ul>
</div>
2019-12-01 21:15:14 +01:00
<ul class="navbar-nav">
{{#if version}}
<li class="nav-item">
<span class="navbar-text mr-2">Version: {{version}}</span>
</li>
{{/if}}
{{#if logged_in}}
<li class="nav-item">
2020-02-22 17:49:33 +01:00
<a class="nav-link" href="{{urlpath}}/admin/logout">Log Out</a>
2019-12-01 21:15:14 +01:00
</li>
{{/if}}
</ul>
2019-01-19 22:12:52 +01:00
</nav>
2019-02-05 22:17:02 +01:00
2019-01-19 22:12:52 +01:00
{{> (page_content) }}
</body>
</html>