diff options
[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] |