JaBa/dashboard/views/docs.ejs

188 lines
6.4 KiB
Text
Raw Normal View History

2022-01-04 02:18:28 +05:00
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html class="dark">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="Сайт с документацией JaBa">
<meta name="author" content="Jonny_Bro">
<meta name="keywords" content="">
<title>Документация</title>
<link rel="shortcut icon" href="/dist/img/jaba.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/dist/fonts/font-awesome-4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="/dist/css/stroke.css">
<link rel="stylesheet" type="text/css" href="/dist/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="/dist/css/animate.css">
<link rel="stylesheet" type="text/css" href="/dist/css/style.css">
<link rel="stylesheet" type="text/css" href="/dist/js/syntax-highlighter/styles/shCore.css" media="all">
<link rel="stylesheet" type="text/css" href="/dist/js/syntax-highlighter/styles/shThemeRDark.css" media="all">
<!-- CUSTOM -->
<link rel="stylesheet" type="text/css" href="/dist/css/customDocs.css">
<!-- <zero-md> -->
<script type="module" src="/bower_components/zero-md/dist/zero-md.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<button onclick="topFunction()" id="topButton" title="Наверх"><i class="fa fa-chevron-up"
aria-hidden="true"></i></button>
<script>
var mybutton = document.getElementById("topButton");
window.onscroll = function () {
scrollFunction()
};
function scrollFunction() {
if (document.body.scrollTop > 1000 || document.documentElement.scrollTop > 1000) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
function topFunction() {
window.scrollTo({
top: 0,
behavior: "smooth"
})
document.documentElement.scrollTo({
top: 0,
behavior: "smooth"
})
}
// document.addEventListener("DOMContentLoaded", () => {
// document.querySelector("#mode").addEventListener("click", () => {
// document.querySelector("html").classList.toggle("dark");
// })
// });
</script>
<div id="wrapper">
<!--
<div id="mode">
<div class="dark">
<svg aria-hidden="true" viewBox="0 0 512 512">
<title>lightmode</title>
<path fill="currentColor"
d="M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z">
</path>
</svg>
</div>
<div class="light">
<svg aria-hidden="true" viewBox="0 0 512 512">
<title>darkmode</title>
<path fill="currentColor"
d="M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z">
</path>
</svg>
</div>
</div>
-->
<div class="col-md-3">
<nav class="docs-sidebar" data-spy="affix" data-offset-top="300" data-offset-bottom="200" role="navigation">
<ul class="nav">
<li><a href="#commands">Список команд</a></li>
<li><a href="#updates">Список изменений</a></li>
</ul>
</nav>
</div>
2022-01-04 02:18:28 +05:00
<div class="container">
<div class="row">
<div>
2022-01-04 02:18:28 +05:00
<section id="commands" class="section">
<div class="row">
<div class="col-md-12 left-align">
<h2 class="dark-text">Список команд
<hr>
</h2>
</div>
<!-- end col -->
</div>
<!-- end row -->
<div class="row">
<div class="col-md-12">
2022-03-28 23:34:43 +05:00
<zero-md src="<%=site%>/docs/commands.md">
2022-01-04 02:18:28 +05:00
<template>
<link rel="stylesheet" href="/dist/css/zero-md.css">
</template>
</zero-md>
</div>
<!-- end col -->
</div>
<!-- end row -->
</section>
<!-- end section -->
<section id="updates" class="section">
<div class="row">
<div class="col-md-12 left-align">
<h2 class="dark-text">Список изменений
<hr>
</h2>
</div>
<!-- end col -->
</div>
<!-- end row -->
<div class="row">
<div class="col-md-12">
2022-03-28 23:36:41 +05:00
<zero-md src="<%=site%>/docs/updates.md">
<template>
<link rel="stylesheet" href="/dist/css/zero-md.css">
</template>
</zero-md>
2022-01-04 02:18:28 +05:00
</div>
<!-- end col -->
2022-01-04 02:18:28 +05:00
</div>
<!-- end row -->
</section>
<!-- end section -->
</div>
<!-- // end .col -->
<div class="row">
<div class="col-md-12">
<p>© 2021 - 2022 Jonny_Bro#4226</a></p>
2022-01-04 02:18:28 +05:00
</div>
</div>
</div>
<!-- // end .row -->
</div>
<!-- // end container -->
</div>
<!-- end wrapper -->
<script src="/dist/js/jquery.min.js"></script>
<script src="/dist/js/bootstrap.min.js"></script>
<script src="/dist/js/retina.js"></script>
<script src="/dist/js/jquery.fitvids.js"></script>
<script src="/dist/js/wow.js"></script>
<!-- CUSTOM PLUGINS -->
<script src="/dist/js/custom.js"></script>
<script src="/dist/js/main.js"></script>
<script src="/dist/js/syntax-highlighter/scripts/shCore.js"></script>
<script src="/dist/js/syntax-highlighter/scripts/shBrushXml.js"></script>
<script src="/dist/js/syntax-highlighter/scripts/shBrushCss.js"></script>
<script src="/dist/js/syntax-highlighter/scripts/shBrushJScript.js"></script>
</body>
</html>