diff --git a/src/docroot/main/toplevel/admin.html b/src/docroot/main/toplevel/admin.html new file mode 100644 index 0000000000000000000000000000000000000000..45c3c2ff7e6bdc8055be880c250712caac69ccf5 --- /dev/null +++ b/src/docroot/main/toplevel/admin.html @@ -0,0 +1,91 @@ +<!doctype html> +<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta charset="utf-8" /> + <style> + @font-face { + font-family: "Fredericka the Great"; + font-style: normal; + font-weight: 700; + src: url("helper/fonts/FrederickatheGreat-Regular.ttf") format('truetype'); + } + @font-face { + font-family: 'JetBrainsMono-Regular'; + font-style: normal; + font-weight: 400; + src: url("helper/fonts/JetBrainsMono-Regular.ttf") format('truetype'); + } + body { + background: #eee; + color: rgba(20, 20, 20, 1); + font-family: "JetBrainsMono-Regular", monospace; + font-size: 1.1em; + line-height: 1.2; + padding: 5% 5% 5% 10%; + } + h1 { + font-family: 'Fredericka the Great', cursive; + font-size: 1.8em; + line-height: 2; + } + h2 { + font-family: 'Fredericka the Great', cursive; + font-size: 1.4em; + line-height: 1.6; + } + em { + font-size: 80%; + } + a:link, a:active, a:visited, a:hover { + color: inherit; + } + </style> +</head> +<body> + <h1>markdeck v0.60.1</h1> + + <h2>Convert Slides into PDF</h2> + <em>Disclaimer: Tested with Google Chrome on MacOS only right now.</em> + <ol> + <li>Click <a href="javascript:null" onclick="javascript:launchPdfRendering();">render pdf</a>.</li> + <li>Wait for a fresh browser window to open.</li> + <li>Wait for the "Choose what to share" dialog.</li> + <li>Select "Chrome Tab".</li> + <li>Select "* * * MARKDECK PDF RENDERING * * *".</li> + <li>Click "Share".</li> + <li>Wait for the rendering to finish.</li> + <li>The pdf can be found in the Download location of your browser.</li> + </ol> + <em> + Note: Keep the area of the new window clear! (Screenshots will be taken! Hide your mouse, too!)</li> + </em> + + <h2>More Links</h2> + <p> + Some <a href="/helper/" target="_blank" rel="noopener noreferrer">helpful resources</a> + (icons, emojis, ...) + </p> + + <p> + The <a href="https://github.com/arnehilmann/markdeck">markdeck repo at github</a> + </p> + + <h2>Versions</h2> + <em> + pandoc 2.18 + • revealjs 4.3.1 + • impressjs 1.1.0 + • asciinemaplayer v2.6.1 + • mermaid 9.0.0 + </em> + + <script> + const launchPdfRendering = () => { + const render_url = window.origin + "/index.html?render-pdf" + console.log("redirecting to", render_url) + window.open(render_url, "markdeck-pdf", + "location=no,menubar=no,scrollbars=no,status=no,titlebar=no,toolbar=no,resizeable=yes,width=100,height=100") + } + </script> +</body> +</html> \ No newline at end of file