crafty-4/app/frontend/templates/panel/denied.html

104 lines
4.6 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
2023-07-05 20:34:35 +00:00
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
2023-07-29 21:16:09 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
2023-07-05 20:34:35 +00:00
<title>Crafty Controller</title>
<!-- plugins:css -->
2023-07-29 21:16:09 +00:00
<link rel="stylesheet" href="/static/assets/vendors/mdi/css/materialdesignicons.min.css" />
<link rel="stylesheet" href="/static/assets/vendors/flag-icon-css/css/flag-icon.min.css" />
<link rel="stylesheet" href="/static/assets/vendors/ti-icons/css/themify-icons.css" />
<link rel="stylesheet" href="/static/assets/vendors/typicons/typicons.css" />
<link rel="stylesheet" href="/static/assets/vendors/css/vendor.bundle.base.css" />
2023-07-05 20:34:35 +00:00
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Crafty" />
2023-07-29 21:16:09 +00:00
<link rel="apple-touch-icon" href="../static/assets/images/Crafty_4-0.png" />
2023-03-09 01:50:32 +00:00
2023-07-05 20:34:35 +00:00
<!-- endinject -->
<!-- Plugin css for this page -->
<!-- End Plugin css for this page -->
<!-- Layout styles -->
<link rel="stylesheet" href="/static/assets/css/dark/style.css" />
<!-- End Layout styles -->
2023-07-29 21:16:09 +00:00
<link rel="shortcut icon" type="image/svg+xml" href="/static/assets/images/logo_small.svg" />
2023-07-05 20:34:35 +00:00
<link rel="alternate icon" href="/static/assets/images/favicon.png" />
</head>
<style>
.auth.auth-bg-1 {
background: url("../../static/assets/images/auth/{% raw data['background'] %}"),
url("/static/assets/images/auth/login_1.jpg");
background-size: cover;
}
</style>
2023-03-09 01:50:32 +00:00
2023-07-05 20:34:35 +00:00
<body class="dark-theme">
<div class="container-scroller">
<div class="container-fluid page-body-wrapper full-page-wrapper">
2023-07-29 21:16:09 +00:00
<div class="content-wrapper d-flex align-items-center auth auth-bg-1 theme-one" >
2023-07-05 20:34:35 +00:00
<div class="row w-100">
<div class="col-lg-4 mx-auto">
<div class="auto-form-wrapper">
<div class="text-center">
2023-07-29 21:16:09 +00:00
<img alt="Crafty Logo" src="/static/assets/images/logo_long.svg" /><br /><br />
2023-07-05 20:34:35 +00:00
<div class="col-sm-12 grid-margin stretch-card">
2023-07-29 21:16:09 +00:00
<div class="card card-statistics social-card google-card card-colored" >
2023-07-05 20:34:35 +00:00
<div class="card-body">
2023-07-29 21:16:09 +00:00
<h4 class="platform-name mb-3 mt-4 font-weight-semibold user-name" >
{{ translate('accessDenied', 'accessDenied', data['lang']) }}
2023-07-05 20:34:35 +00:00
</h4>
<h5 class="headline font-weight-medium">
2023-07-29 21:16:09 +00:00
{{ translate('accessDenied', 'noAccess', data['lang']) }}
2023-07-05 20:34:35 +00:00
</h5>
<p class="mb-2 comment font-weight-light">
{{ translate('accessDenied', 'contactAdmin',
2023-07-29 21:16:09 +00:00
data['lang']) }}<br /><br />
<a class="d-inline font-weight-medium" href="https://discord.gg/9VJPhCE" > {{ translate('accessDenied', 'contact', data['lang']) }}</a>
2023-07-05 20:34:35 +00:00
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
2023-07-05 20:34:35 +00:00
<!-- content-wrapper ends -->
</div>
2023-07-05 20:34:35 +00:00
<!-- page-body-wrapper ends -->
</div>
2023-07-05 20:34:35 +00:00
<!-- container-scroller -->
<!-- plugins:js -->
<script src="/static/assets/vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- inject:js -->
<script src="/static/assets/js/shared/off-canvas.js"></script>
<script src="/static/assets/js/shared/hoverable-collapse.js"></script>
<script src="/static/assets/js/shared/misc.js"></script>
<script src="/static/assets/js/shared/settings.js"></script>
<script src="/static/assets/js/shared/todolist.js"></script>
<!-- endinject -->
<script>
$(document).ready(function () {
let login_opacity_div = document.getElementById("login_opacity");
let opacity = login_opacity_div.getAttribute("data-value");
document.getElementById("login-form-background").style.background =
"rgb(34, 36, 55, " + opacity / 100 + ")";
//Register Service worker for mobile app
if ("serviceWorker" in navigator) {
navigator.serviceWorker
.register("/static/assets/js/shared/service-worker.js", {
scope: "/",
})
.then(function (registration) {
console.log("Service Worker Registered");
});
}
});
</script>
</body>
</html>