2024-02-23 13:55:05 +11:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html data-bs-theme="light" lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
|
|
|
<title>Dashboard - Site Manager</title>
|
|
|
|
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/img/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon-16x16.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="180x180" href="/assets/img/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/img/android-chrome-192x192.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="512x512" href="/assets/img/android-chrome-512x512.png">
|
|
|
|
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i&display=swap">
|
|
|
|
<link rel="stylesheet" href="/assets/fonts/fontawesome-all.min.css">
|
|
|
|
<link rel="stylesheet" href="/assets/css/files.min.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body id="page-top">
|
|
|
|
<div id="wrapper">
|
|
|
|
<nav class="navbar align-items-start sidebar sidebar-dark accordion bg-gradient-primary p-0 navbar-dark">
|
|
|
|
<div class="container-fluid d-flex flex-column p-0"><a class="navbar-brand d-flex justify-content-center align-items-center sidebar-brand m-0" href="#">
|
|
|
|
<div class="sidebar-brand-icon"><img src="/assets/img/favicon-32x32.png"></div>
|
|
|
|
<div class="sidebar-brand-text mx-3"><span>Site Manager</span></div>
|
|
|
|
</a>
|
|
|
|
<hr class="sidebar-divider my-0">
|
|
|
|
<ul class="navbar-nav text-light" id="accordionSidebar">
|
|
|
|
<li class="nav-item"><a class="nav-link" href="/"><i class="fas fa-tachometer-alt"></i><span>Dashboard</span></a></li>
|
|
|
|
</ul>
|
|
|
|
<div class="text-center d-none d-md-inline"><button class="btn rounded-circle border-0" id="sidebarToggle" type="button"></button></div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<div class="d-flex flex-column" id="content-wrapper">
|
|
|
|
<div id="content">
|
|
|
|
<nav class="navbar navbar-expand bg-white shadow mb-4 topbar static-top navbar-light">
|
|
|
|
<div class="container-fluid"><button class="btn btn-link d-md-none rounded-circle me-3" id="sidebarToggleTop" type="button"><i class="fas fa-bars"></i></button>
|
|
|
|
<form class="d-none d-sm-inline-block me-auto ms-md-3 my-2 my-md-0 mw-100 navbar-search">
|
|
|
|
<div class="input-group"><input class="bg-light form-control border-0 small" type="text" placeholder="Search for ..."><button class="btn btn-primary py-0" type="button"><i class="fas fa-search"></i></button></div>
|
|
|
|
</form>
|
|
|
|
<ul class="navbar-nav flex-nowrap ms-auto">
|
|
|
|
<li class="nav-item dropdown d-sm-none no-arrow"><a class="dropdown-toggle nav-link" aria-expanded="false" data-bs-toggle="dropdown" href="#"><i class="fas fa-search"></i></a>
|
|
|
|
<div class="dropdown-menu dropdown-menu-end p-3 animated--grow-in" aria-labelledby="searchDropdown">
|
|
|
|
<form class="me-auto navbar-search w-100">
|
|
|
|
<div class="input-group"><input class="bg-light form-control border-0 small" type="text" placeholder="Search for ...">
|
|
|
|
<div class="input-group-append"><button class="btn btn-primary py-0" type="button"><i class="fas fa-search"></i></button></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown no-arrow">
|
|
|
|
<div class="nav-item dropdown no-arrow"><a class="dropdown-toggle nav-link" aria-expanded="false" data-bs-toggle="dropdown" href="#"><span class="d-none d-lg-inline me-2 text-gray-600 small">{{user}}</span></a>
|
|
|
|
<div class="dropdown-menu shadow dropdown-menu-end animated--grow-in"><a class="dropdown-item" href="#"><i class="fas fa-user fa-sm fa-fw me-2 text-gray-400"></i> Profile</a><a class="dropdown-item" href="#"><i class="fas fa-cogs fa-sm fa-fw me-2 text-gray-400"></i> Settings</a><a class="dropdown-item" href="#"><i class="fas fa-list fa-sm fa-fw me-2 text-gray-400"></i> Activity log</a>
|
|
|
|
<div class="dropdown-divider"></div><a class="dropdown-item" href="#"><i class="fas fa-sign-out-alt fa-sm fa-fw me-2 text-gray-400"></i> Logout</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="d-sm-flex justify-content-between align-items-center mb-4">
|
|
|
|
<h3 class="text-dark mb-0">{{site}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6 col-xl-3 mb-4">
|
|
|
|
<div class="card shadow border-start-primary py-2">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row align-items-center no-gutters">
|
|
|
|
<div class="col me-2">
|
|
|
|
<div class="text-uppercase text-primary fw-bold text-xs mb-1"><span>Domain</span></div>
|
|
|
|
<div class="text-dark fw-bold h5 mb-0"><span>{{domain}}</span></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 col-xl-3 mb-4">
|
|
|
|
<div class="card shadow border-start-success py-2">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row align-items-center no-gutters">
|
|
|
|
<div class="col me-2">
|
|
|
|
<div class="text-uppercase text-success fw-bold text-xs mb-1"><span>Alt Domains</span></div>
|
|
|
|
<div class="text-dark fw-bold h5 mb-0"><span>{{alt_domains|safe}}</span></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 col-xl-3 mb-4">
|
|
|
|
<div class="card shadow border-start-success py-2">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row align-items-center no-gutters">
|
|
|
|
<div class="col me-2">
|
|
|
|
<div class="text-uppercase text-success fw-bold text-xs mb-1"><span>Enabled</span></div>
|
|
|
|
<div class="text-dark fw-bold h5 mb-0">
|
|
|
|
<form method="post" action="/manage/{{site}}/enable"><div class="form-check form-switch"><input id="formCheck-1" class="form-check-input" type="checkbox" name="enable" {{checked}}/><label class="form-check-label" for="formCheck-1">{{enabled}}</label></div><input class="btn btn-sm btn-primary" type="submit" value="Save" style="margin-top: 10px;"></form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<form action="/manage/{{site}}/alt" method="post">
|
|
|
|
<h1>Add alternative domain</h1><input class="form-control form-control-user" type="text" style="margin-bottom: 20px;" name="domain" placeholder="domain"><input class="btn btn-primary" type="submit" value="Add domain">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col" style="margin-top: 25px;">
|
|
|
|
<h1>Content</h1>
|
|
|
|
<div id="dropZone" class="drop-zone">
|
2024-02-23 15:15:34 +11:00
|
|
|
<p>Click or drop files here. Drop a zip to include folders</p><input type="file" id="fileInput" multiple="">
|
2024-02-23 13:55:05 +11:00
|
|
|
</div><ul class="list-group">
|
|
|
|
{{files|safe}}
|
2024-02-23 17:07:34 +11:00
|
|
|
</ul>{{git|safe}}
|
2024-02-23 13:55:05 +11:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col" style="margin-top: 25px;">
|
|
|
|
<h1>DNS INFO</h1><div class="table-responsive">
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Domain</th>
|
|
|
|
<th>A</th>
|
|
|
|
<th>TLSA</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{dns_info|safe}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<footer class="bg-white sticky-footer">
|
|
|
|
<div class="container my-auto">
|
|
|
|
<div class="text-center my-auto copyright"><span>Copyright © Woodburn/ {{year}}</span></div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</div><a class="border rounded d-inline scroll-to-top" href="#page-top"><i class="fas fa-angle-up"></i></a>
|
|
|
|
</div>
|
|
|
|
<script src="/assets/bootstrap/js/bootstrap.min.js"></script>
|
|
|
|
<script src="/assets/js/script.min.js"></script>
|
|
|
|
<script src="/assets/js/files.min.js"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|