ErrorsManager/HTML/ErrorsManager.base.html

125 lines
6.2 KiB
HTML

<!DOCTYPE html>
<html lang="{language}">
<head>
<title data-i18n="{title_i18n}">{title_text}</title>
<meta http-equiv="content-type" content="text/html;charset={charset}" />
<meta charset="{charset}" />
<meta name="xdoc:project" content="ErrorsManager" />
<meta name="xdoc:link" content="{link}" />
<meta name="xdoc:git" content="https://git.k3y.pw/KyMAN/ErrorsManager" />
<meta name="xdoc:author" content="KyMAN" />
<meta name="xdoc:since" content="20240626" />
<meta name="xdoc:version" content="20240626" />
<meta name="xdoc:access" content="public" />
<meta name="xdoc:donate:btc" content="" />
<meta name="xdoc:donate:ltc" content="" />
<meta name="xdoc:donate:doge" content="" />
<meta name="xdoc:donate:dash" content="" />
<style data-type="text/css;charset=utf-8" data-language="CSS1.2" data-rel="stylesheet" charset="utf-8">
html,body{
height : 100%;
margin : 0em;
}
</style>
<script data-type="text/javascript;charset=utf-8" data-language="ECMAScript 2015" src="https://anp.local/ecma/AnPScriptsLoader.ecma.js" data-crossorigin="anonymous" charset="utf-8"></script>
<script data-type="text/javascript;charset=utf-8" data-language="ECMAScript 2015" charset="utf-8">
const domain = /^https?\:\/{2}[^\/]+\.((anprm\.)?local|anprm)/i.test(window.location) ? "local" : "k3y.pw";
new AnPScriptsLoader({
styles : [
// "https://cdn." + domain + "/css/Cantarell.v17.remote.css",
// "https://cdn." + domain + "/css/Roboto.v30.remote.css",
// "https://cdn." + domain + "/css/RobotoMono.v23.remote.css",
// "https://cdn." + domain + "/css/FA6F.v6.5.2.remote.css",
"https://cdn." + domain + "/css/Roboto.v30.local.css",
"https://cdn." + domain + "/css/RobotoMono.v23.local.css",
"https://cdn." + domain + "/css/FA6F.v6.5.2.local.css",
"/scss/ErrorsManager.scss",
"https://wmarkdown." + domain + "/css/WMarkDown.icons.FontAwesome.css",
"https://wmarkdown." + domain + "/css/WMarkDown.web.icons.css",
"https://wmarkdown." + domain + "/scss/WMarkDown.scss",
"https://cdn." + domain + "/data/styles/Highlight.v11.10.0.min.css"
],
scripts : [[
"/ecma/ErrorsManager.ecma.js",
"https://cdn." + domain + "/js/Highlight.v11.10.0.min.js",
"https://wmarkdown." + domain + "/ecma/WMarkDown.ecma.js",
"https://cdn." + domain + "/data/scripts/Highlight.v11.10.0.min.js",
"https://cdn." + domain + "/data/scripts/tex-mml-chtml.v3.2.2.js"
], [
"https://anp." + domain + "/ecma/Application/AnP.ecma.js"
], [
"https://anp." + domain + "/ecma/Managers/Settings.ecma.js",
"https://anp." + domain + "/ecma/Application/URI.ecma.js",
"https://anp." + domain + "/ecma/Managers/Globals.ecma.js",
"https://anp." + domain + "/ecma/Managers/I18N.ecma.js",
"https://anp." + domain + "/ecma/Managers/PrintTypes.ecma.js",
"https://anp." + domain + "/ecma/Managers/Threads.ecma.js",
"https://anp." + domain + "/ecma/Application/Attributes.ecma.js",
"https://anp." + domain + "/ecma/Application/HTMLPreload.ecma.js"
], [
"https://anp." + domain + "/ecma/Components/Base.ecma.js"
]]
}, () => {
wmarkdown = new WMarkDown({dictionary : "https://wmarkdown." + domain + "/json/WMarkDown.dict.es.kyman.json"});
anp = new AnP({
globals : {
anp_root : "https://anp." + domain,
errors_manager_root : ""
},
callback : () => anp.base.set(".errors-manager")
});
});
</script>
</head>
<body class="anp errors-manager">
<header>
<h1 data-i18n="errors_manager" data-i18n-without="true" title="{{errors_manager}}">
<a href="{link}" target="_blank">
<span class="image">
<img src="{logo}" />
<span style="background-image:url('{logo}');"></span>
</span>
<span data-i18n="errors_manager">{{errors_manager}}</span>
</a>
</h1>
<nav class="main-menu">
<ul>
<li data-i18n="web" data-i18n-without="true" title="{{web}}">
<a href="/" target="_self">
<span data-icon="web"></span>
<span data-i18n="web">{{web}}</span>
</a>
</li>
<li data-i18n="git" data-i18n-without="true" title="{{git}}">
<a href="https://git.k3y.pw/KyMAN/ErrorsManager" target="_self">
<span data-icon="git"></span>
<span data-i18n="git">{{git}}</span>
</a>
</li>
</ul>
</nav>
</header>
<main>{contents}</main>
<footer>
<span class="license">
<a class="license-image" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank" data-i18n="license_cc_by_nc_sa_4" data-i18n-without="true" title="{{license_cc_by_nc_sa_4}}">
<span data-i18n="license_cc_by_nc_sa_4">{{license_cc_by_nc_sa_4}}</span>
<img src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" data-i18n="license_cc_by_nc_sa_4" data-i18n-without="true" alt="{{license_cc_by_nc_sa_4}}">
</a>
</span>
</footer>
</body>
</html>