Summary Files Commits Branches @commit @diff @stats
path: root / awk-edits / Presentation.awk
diff options
context:
space:
mode:
Commit6bb18d24970677e5995b677b5f2cb8e3b669871f (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-02-22 21:30:52 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-02-22 21:30:52 +0200
Filesb0d217e2f1204e8d1448088bebea5c028ed0ed7a /awk-edits/Presentation.awk
syndamia.com-6bb18d24970677e5995b677b5f2cb8e3b669871f.tar
syndamia.com-6bb18d24970677e5995b677b5f2cb8e3b669871f.tar.gz
syndamia.com-6bb18d24970677e5995b677b5f2cb8e3b669871f.zip
Parent3c0888fed1fe3d6af32a8a492089cdf910c0b951 (diff)
[presentation] Added a button to show the presentation as a normal article, added keyboard bindings, minor styling reworks
1 files changed, 2 insertions, 1 deletions
-rw-r--r--awk-edits/Presentation.awk3
diff --git a/awk-edits/Presentation.awk b/awk-edits/Presentation.awk
index 31a834f..cb51fe9 100644
--- a/awk-edits/Presentation.awk
+++ b/awk-edits/Presentation.awk
@@ -156,10 +156,11 @@ BEGIN {
"<nav id=\"presentCont\">" ORS \
" <img id=\"prevSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-left-tabler.svg\" alt=\"Previous\">" ORS \
" <img id=\"nextSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-right-tabler.svg\" alt=\"Next\">" ORS \
+" <img id=\"articleBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/article.svg\" alt=\"Show as article\">" ORS \
" <img id=\"presentBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/presentation-tabler.svg\" alt=\"Present\">" ORS \
" <img id=\"printBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/printer-tabler.svg\" alt=\"Print\">" ORS \
" </nav>" ORS \
-" <script type=\"text/javascript\" src=\"/scripts/presentation.js\" integrity=\"sha512-5u+Yy4xqrGKYXeUrzgaXXj7dqNtFUnlaPtfz86v9nT+l8osWfLnjLOU/vRv2Hmx7wsmCdb3pfurH0/hQHLQOSA==\" crossorigin=\"anonymous\"></script>"
+" <script type=\"text/javascript\" src=\"/scripts/presentation.js\" integrity=\"sha512-n0Ytq0qOvvVFG60eiszoj0eBH0ZDpLWeuf7Pq7XkNwvqDIdqgg5evpLfar40ksYXcsl/gj1YdmhAqw/oMwNAHw==\" crossorigin=\"anonymous\"></script>"
for (i = 1; i <= length(names); i++) {
pat[i] = "&#38;&#38;" names[i]