CDN/HTML/CDN.base.html

109 lines
5.5 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="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="xdoc:project" content="CDN" />
<meta name="xdoc:link" content="https://cdn.k3y.pw/" />
<meta name="xdoc:git" content="https://git.k3y.pw/KyMAN/CDN" />
<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="" />
<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/CDN.scss",
"https://wmarkdown." + domain + "/css/WMarkDown.icons.FontAwesome.css",
"https://wmarkdown." + domain + "/scss/WMarkDown.scss",
"https://wmarkdown." + domain + "/css/WMarkDown.web.icons.css",
"https://cdn." + domain + "/data/styles/Highlight.v11.10.0.min.css"
],
scripts : [[
"https://errorsmanager." + domain + "/ecma/ErrorsManager.ecma.js",
"https://wmarkdown." + domain + "/ecma/WMarkDown.ecma.js",
"https://cdn." + domain + "/data/scripts/Highlight.v11.10.0.min.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,
cdn_root : ""
},
callback : () => anp.base.set(".cdn", item => {})
});
});
</script>
</head>
<body class="anp cdn">
<header>
<h1 data-i18n="cdn" data-i18n-without="true" title="{{cdn}}">
<a href="{link}" target="_blank">
<span class="image">
<img src="{logo}" />
<span style="background-image:url('{logo}');"></span>
</span>
<span data-i18n="cdn">{{cdn}}</span>
</a>
</h1>
<nav class="main-menu">
<ul>
<li data-i18n="home" data-i18n-without="true" title="{{home}}">
<a href="/" target="_self">
<span data-icon="home"></span>
<span data-i18n="home">{{home}}</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>