84 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			3.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="viewport" content="width=device-width, initial-scale=1.0" />
 | 
						|
 | 
						|
        <meta name="xdoc:project" content="{project}" />
 | 
						|
        <meta name="xdoc:link" content="{web}" />
 | 
						|
        <meta name="xdoc:git" content="{git}" />
 | 
						|
        <meta name="xdoc:author" content="{authors}" />
 | 
						|
        <meta name="xdoc:since" content="{since}" />
 | 
						|
        <meta name="xdoc:version" content="{version}" />
 | 
						|
        <meta name="xdoc:access" content="public" /><!-- [[metas]] -->
 | 
						|
 | 
						|
        <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 type="module" data-type="text/javascript;charset=utf-8" data-language="ECMAScript 2015" charset="utf-8">
 | 
						|
            "use strict";
 | 
						|
 | 
						|
            import {AnPScriptsLoader} from "https://anp.k3y.pw/ecma/AnPScriptsLoader.ecma.js";
 | 
						|
            import {WMarkDown} from "https://wmarkdown.k3y.pw/ecma/WMarkDown.ecma.js";
 | 
						|
            import {AnP} from "https://anp.k3y.pw/ecma/Application/AnP.ecma.js";
 | 
						|
            import {Utils} from "https://anp.k3y.pw/ecma/Utils/Utils.ecma.js";
 | 
						|
 | 
						|
            /** @type {string} */
 | 
						|
            const domain = /^[^\:]+\:\/{2}[^\/]+\.([lg]ocal|anprm(\.[lg]ocal)?)\/?/i.test(window.location.href) ? "local" : "k3y.pw";
 | 
						|
 | 
						|
            new AnPScriptsLoader({
 | 
						|
                domain : domain, 
 | 
						|
                mode : "wmarkdown", 
 | 
						|
                // styles : [[], [
 | 
						|
                //     "https://anp.{domain}/scss/AnPWeb.scss"
 | 
						|
                // ]]
 | 
						|
                styles : {styles}, 
 | 
						|
                scripts : {scripts}
 | 
						|
            }, () => {
 | 
						|
 | 
						|
                /** @type {WMarkDown} */
 | 
						|
                const wmarkdown = new WMarkDown({dictionary : {dictionaries}.map(link => Utils.string_variables(link, {
 | 
						|
                          domain : domain
 | 
						|
                      }))}), 
 | 
						|
                      /** @type {AnP} */
 | 
						|
                      anp = new AnP({
 | 
						|
                          globals : {anp_root : "https://anp." + domain}, 
 | 
						|
                          callback : () => {
 | 
						|
                              anp.base.set(".{class}");
 | 
						|
                          }
 | 
						|
                      });
 | 
						|
 | 
						|
            });
 | 
						|
 | 
						|
        </script>
 | 
						|
 | 
						|
    </head>
 | 
						|
    <body class="{class}">
 | 
						|
        <header>
 | 
						|
            <h1 data-i18n="{snake}" data-i18n-without="true" title="{{{snake}}}">
 | 
						|
                <a href="{web}" target="_blank">
 | 
						|
                    <span class="image">
 | 
						|
                        <img src="{logo}" />
 | 
						|
                        <span style="background-image:url('{logo}');"></span>
 | 
						|
                    </span>
 | 
						|
                    <span data-i18n="{snake}">{{{snake}}}</span>
 | 
						|
                </a>
 | 
						|
            </h1>
 | 
						|
            <nav class="main-menu">
 | 
						|
                <ul>{menu_html}</ul>
 | 
						|
            </nav>
 | 
						|
        </header>
 | 
						|
        <main>{contents}</main>
 | 
						|
        <footer data-zoom-maximum="1">
 | 
						|
            <span class="licenses">{licenses_html}</span>
 | 
						|
        </footer>
 | 
						|
    </body>
 | 
						|
</html> |