diff options
| Commit | 7153ef6f122a66bc74d95ebe04810e022e1ed5f1 (patch) | |
|---|---|---|
| Author | 2023-03-03 11:46:51 +0200 | |
| Committer | 2023-03-03 11:46:51 +0200 | |
| Files | fa7766de54a3a9465a8813d0649165fed4b3001b /awk-edits | |
| syndamia.com-7153ef6f122a66bc74d95ebe04810e022e1ed5f1.tar syndamia.com-7153ef6f122a66bc74d95ebe04810e022e1ed5f1.tar.gz syndamia.com-7153ef6f122a66bc74d95ebe04810e022e1ed5f1.zip | ||
| Parent | ed6f6af8dbb0da9018a5ed471394d4fb2d04d7c9 (diff) | |
[presentation] Added an anchor to the current slide, which also shows slide index, in controls
1 files changed, 2 insertions, 1 deletions
| -rw-r--r-- | awk-edits/Presentation.awk | 3 |
diff --git a/awk-edits/Presentation.awk b/awk-edits/Presentation.awk index fb7bb1a..8cabcb2 100644 --- a/awk-edits/Presentation.awk +++ b/awk-edits/Presentation.awk @@ -155,12 +155,13 @@ BEGIN { pres = ORS \ "<nav id=\"presentCont\">" ORS \ " <img id=\"prevSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-left-tabler.svg\" alt=\"Previous\">" ORS \ +" <a id=\"slideIndex\" class=\"nodisplay\" href=\"#slide-0\">0</a>" 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-b9qsYTIYHQfkViNoo0tWKbfe2B+Lm1SFAPdPSi7AU0lqzU2KVV9w9ejqH91WE92+j2hHblSSdsGPEGVkp0epcg==\" crossorigin=\"anonymous\"></script>" +" <script type=\"text/javascript\" src=\"/scripts/presentation.js\" integrity=\"sha512-RvyAYY80I1pA4CRdrA+TfpTohHcTQ6WQNixMluhDL9ND/Zo+45Eb6zDX42G1DJnSdED4FhRziC355AYBY31HTw==\" crossorigin=\"anonymous\"></script>" for (i = 1; i <= length(names); i++) { pat[i] = "&&" names[i] |