|
|
@ -1,40 +1,26 @@
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
|
|
<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">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
|
|
|
|
|
|
<meta name="robots" content="noindex,nofollow" />
|
|
|
|
<title>Bitwarden_rs Admin Panel</title>
|
|
|
|
<title>Bitwarden_rs Admin Panel</title>
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{urlpath}}/bwrs_static/bootstrap.css" />
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
body {
|
|
|
|
padding-top: 70px;
|
|
|
|
padding-top: 75px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width:768px) {
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
|
|
|
padding-top: 190px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
img {
|
|
|
|
width: 48px;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.navbar img {
|
|
|
|
.navbar img {
|
|
|
|
height: 24px;
|
|
|
|
height: 24px;
|
|
|
|
width: auto;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<script src="{{urlpath}}/bwrs_static/md5.js"></script>
|
|
|
|
|
|
|
|
<script src="{{urlpath}}/bwrs_static/identicon.js"></script>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
function reload() { window.location.reload(); }
|
|
|
|
function reload() { window.location.reload(); }
|
|
|
|
function msg(text, reload_page = true) {
|
|
|
|
function msg(text, reload_page = true) {
|
|
|
@ -86,47 +72,44 @@
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
<body class="bg-light">
|
|
|
|
<body class="bg-light">
|
|
|
|
<nav class="navbar navbar-expand-sm navbar-dark bg-dark fixed-top shadow mb-4">
|
|
|
|
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4 shadow fixed-top">
|
|
|
|
<div class="container">
|
|
|
|
<div class="container">
|
|
|
|
<a class="navbar-brand" href="{{urlpath}}/admin"><img class="pr-1" src="{{urlpath}}/bwrs_static/shield-white.png">Bitwarden_rs Admin</a>
|
|
|
|
<a class="navbar-brand" href="{{urlpath}}/admin"><img class="pr-1" src="{{urlpath}}/bwrs_static/shield-white.png">Bitwarden_rs Admin</a>
|
|
|
|
<div class="navbar-collapse">
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse"
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<li class="nav-item">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin">Settings</a>
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarCollapse">
|
|
|
|
<li class="nav-item">
|
|
|
|
<ul class="navbar-nav mr-auto">
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin/users/overview">Users</a>
|
|
|
|
{{#if logged_in}}
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin">Settings</a>
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin/organizations/overview">Organizations</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin/users/overview">Users</a>
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin/diagnostics">Diagnostics</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin/organizations/overview">Organizations</a>
|
|
|
|
<a class="nav-link" href="{{urlpath}}/">Vault</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
</ul>
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin/diagnostics">Diagnostics</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
|
|
|
<a class="nav-link" href="{{urlpath}}/">Vault</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
{{#if logged_in}}
|
|
|
|
{{#if version}}
|
|
|
|
<a class="btn btn-sm btn-secondary" href="{{urlpath}}/admin/logout">Log Out</a>
|
|
|
|
<li class="nav-item">
|
|
|
|
{{/if}}
|
|
|
|
<span class="navbar-text mr-2">Version: {{version}}</span>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{#if logged_in}}
|
|
|
|
|
|
|
|
<li class="nav-item rounded btn-secondary">
|
|
|
|
|
|
|
|
<a class="nav-link" href="{{urlpath}}/admin/logout">Log Out</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
{{> (page_content) }}
|
|
|
|
{{> (page_content) }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- This script needs to be at the bottom, else it will fail! -->
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
// get current URL path and assign 'active' class to the correct nav-item
|
|
|
|
// get current URL path and assign 'active' class to the correct nav-item
|
|
|
|
(function () {
|
|
|
|
(function () {
|
|
|
@ -138,6 +121,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})();
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!-- This script needs to be at the bottom, else it will fail! -->
|
|
|
|
|
|
|
|
<script src="{{urlpath}}/bwrs_static/bootstrap-native-v4.js"></script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|
|
|
|
</html>
|