Compare commits

..

20 commits

Author SHA1 Message Date
Christian Hesse
a95077c14b fw-addr-lists.d/allow: use rsc.eworm.de in the list 2025-11-07 23:16:02 +01:00
Christian Hesse
7803d3f81a fw-addr-lists.d/{allow,block}: use short url rsc.eworm.de 2025-11-07 23:16:02 +01:00
Christian Hesse
0e23facf82 Makefile: clean up and add phony targets 2025-11-07 23:16:02 +01:00
Christian Hesse
33e8af1924 global-functions: $ScriptInstallUpdate: extra actions on 'not found' only 2025-11-07 23:16:02 +01:00
Christian Hesse
1a93c61bfd global-functions: $ScriptInstallUpdate: either or...
... but not both.
2025-11-07 23:16:02 +01:00
Christian Hesse
b0a85436e1 global-functions: $ScriptInstallUpdate: give hint on ignore
Fixes: https://github.com/eworm-de/routeros-scripts/issues/112
2025-11-07 23:16:02 +01:00
Christian Hesse
9dc1c3b96c contrib/checksums.sh: output to stdout...
... and let the Makefile redirect.
2025-11-07 23:16:02 +01:00
Christian Hesse
049f4ea608 Merge branch 'contrib' into next 2025-11-07 23:16:02 +01:00
Christian Hesse
24e3c12f02 contrib/notification: format the values italic 2025-11-07 23:16:02 +01:00
Christian Hesse
dbf332383a contrib/notification: update date format 2025-11-07 23:16:02 +01:00
Christian Hesse
76ddd94537 contrib/{logo-color,notification}: add navigation structure 2025-11-07 23:16:02 +01:00
Christian Hesse
552dbbd9b9 contrib/*: unify html code 2025-11-07 23:16:02 +01:00
Christian Hesse
a66f8edbd1 contrib/html.sh: drop comman from id/anchor 2025-11-07 23:16:02 +01:00
Christian Hesse
51a4a07032 contrib/html.sh: properly handle anchors 2025-11-07 23:16:02 +01:00
Christian Hesse
45ee884d8a contrib/html.sh: link the logo with relative path 2025-11-07 23:16:02 +01:00
Christian Hesse
6317fb8f40 contrib/html.sh: add a margin on left and right...
... for windows in landscape (wider than high).
2025-11-07 23:16:02 +01:00
Christian Hesse
c88953e44d README: fix typo
We had it there since 39d1027d697c09ec709a1b847a185ccff3b00540... 😜
2025-11-07 22:11:25 +01:00
Christian Hesse
a4d4365735 contrib/html.sh: link the stylesheet from top level...
... and copy it there in Makefile.
2025-11-07 22:11:25 +01:00
Christian Hesse
a5ac5138be contrib/html.sh: include stylesheet via link 2025-11-07 22:11:25 +01:00
Christian Hesse
4b8e8adb2d contrib/{logo-color,notification}: use a single style 2025-11-07 22:11:25 +01:00
5 changed files with 13 additions and 8 deletions

View file

@ -63,7 +63,7 @@ First time users should take the long way below.
Want to see it in action? I've had a presentation [Repository based
RouterOS script distribution ↗️](https://www.youtube.com/watch?v=B9neG3oAhcY)
including demonstation recorded live at [MUM Europe
including demonstration recorded live at [MUM Europe
2019 ↗️](https://mum.mikrotik.com/2019/EU/) in Vienna.
> ⚠️ **Warning**: Some details changed. So see the presentation, then follow

View file

@ -3,8 +3,12 @@ body {
font-family: fira-sans, sans-serif;
font-size: 10pt;
background-color: transparent;
margin-left: 10vw;
margin-right: 10vw;
}
@media only screen and (orientation: landscape) {
body {
margin-left: 10vw;
margin-right: 10vw;
}
}
h2 {
border-bottom: 1px solid #ccc;

View file

@ -9,6 +9,7 @@ sed \
-e "s|__LOGO__|$(realpath --relative-to="${RELTO}" logo.png)|" \
< "${0}.d/head.html"
markdown -f toc,idanchor "${1}" | sed \
-e 's/href="\([-_\./[:alnum:]]*\)\.md"/href="\1.html"/g' \
-e '/<h[1234] /s| id="\(.*\)">| id="\L\1">|'
-e 's/href="\([-_\./[:alnum:]]*\)\.md\(#[-[:alnum:]]*\)\?"/href="\1.html\2"/g' \
-e '/<h[1234] /s| id="\(.*\)">| id="\L\1">|' \
-e '/<h[1234] /s|-2c-||'
printf '</body></html>'

View file

@ -1,3 +1,3 @@
# an ip address list for use with fw-addr-lists script
# https://git.eworm.de/cgit/routeros-scripts/about/doc/fw-addr-lists.md
git.eworm.de
# https://rsc.eworm.de/doc/fw-addr-lists.md
rsc.eworm.de

View file

@ -1,5 +1,5 @@
# an ip address list for use with fw-addr-lists script
# https://git.eworm.de/cgit/routeros-scripts/about/doc/fw-addr-lists.md
# https://rsc.eworm.de/doc/fw-addr-lists.md
# example.net
93.184.216.34