From 74687292f768b24dc8100ada69bb30173d6d50fc Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 20 Jan 2024 20:09:43 +0100 Subject: [PATCH] switch to svg icons --- assets/css/style.css | 29 ++++++--------- assets/js/script.js | 11 ++---- config.yml | 14 ++++---- content/projektwoche/2023.md | 40 ++++++++++----------- content/superhaufen/20-jahriges-jubilaum.md | 2 +- content/superhaufen/30-jahriges-jubilaum.md | 6 ++-- content/superhaufen/35-jahriges-jubilaum.md | 6 ++-- data/homepage.yml | 4 +-- go.mod | 5 +++ go.sum | 4 +++ layouts/author/single.html | 2 +- layouts/ganztagsangebote/single.html | 8 ++--- layouts/index.html | 10 +++--- layouts/kontakt/list.html | 6 ++-- layouts/partials/card-article.html | 9 +++-- layouts/partials/card-category.html | 2 +- layouts/partials/download.html | 2 +- layouts/partials/footer.html | 2 +- layouts/partials/ganztag.html | 4 +-- layouts/partials/header-contest.html | 2 +- layouts/partials/header.html | 11 +++--- layouts/partials/icon-element.html | 2 +- layouts/partials/info.html | 4 +-- layouts/partials/mdi.html | 1 + layouts/partials/page-header.html | 2 +- layouts/partials/pagination.html | 8 ++--- layouts/partials/termin.html | 3 +- layouts/partials/tile-modals.html | 2 +- static/admin/config/collections/widgets.js | 2 +- 29 files changed, 102 insertions(+), 101 deletions(-) create mode 100644 go.mod create mode 100644 go.sum create mode 100644 layouts/partials/mdi.html diff --git a/assets/css/style.css b/assets/css/style.css index 286db8a5..8582af59 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -13,9 +13,7 @@ --gcg-color-border: #dee2e6; --gcg-font-primary: "Ubuntu", sans-serif; --gcg-font-header: "Fira Sans", sans-serif; - --gcg-font-icon: "Material Design Icons"; - --gcg-icon-list: "\f0B2A"; - --gcg-icon-search: "\f0349"; + --gcg-icon-list: url('data:image/svg+xml,'); } /* typography */ @@ -298,7 +296,6 @@ textarea.form-control { .content ul li::before { position: absolute; content: var(--gcg-icon-list); - font-family: var(--gcg-font-icon); font-size: 14px; left: 0; top: 1px; @@ -396,6 +393,7 @@ details[open] summary { } .fb-tile-icon { + display: flex; font-size: 96px; } @@ -550,11 +548,9 @@ details[open] summary { background: var(--gcg-color-primary); color: white; font-size: 25px; - text-align: center; -} - -.play-btn i { - line-height: 80px; + display: flex; + align-items: center; + justify-content: center; } .play-btn::before { @@ -657,16 +653,6 @@ details[open] summary { font-weight: 600; } -.nav-item .nav-link.nav-search::before { - position: relative; - content: var(--gcg-icon-search); - font-family: var(--gcg-font-icon); - font-size: 14px; - left: 0; - top: 1px; - transition: 0.3s ease; -} - .nav-item::before { position: absolute; left: 0; @@ -1066,3 +1052,8 @@ link:focus, font-size: 1.5em; } } + +.hi-svg-inline { + vertical-align: -0.125rem; +} + diff --git a/assets/js/script.js b/assets/js/script.js index 8dec63cb..9b588503 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -34,13 +34,6 @@ // sticky menu $(window).scroll(adaptHeight); - // background image - $('[data-background]').each(function () { - $(this).css({ - 'background-image': 'url(' + $(this).data('background') + ')' - }); - }); - // hero slider $('.hero-slider').slick({ autoplay: true, @@ -49,8 +42,8 @@ pauseOnHover: true, infinite: true, arrows: true, - prevArrow: '', - nextArrow: '', + prevArrow: '', + nextArrow: '', dots: true }); diff --git a/config.yml b/config.yml index 95ed9d63..5d890f26 100644 --- a/config.yml +++ b/config.yml @@ -20,7 +20,7 @@ params: address: Georg-Cantor-Gymnasium
Torstraße 13
06110 Halle (Saale) top_header: true email: schulleitung@cantor-gymnasium.de - email_label: schulleitungcantor-gymnasium.de + email_label: schulleitung(at)cantor-gymnasium.de description: Das Georg-Cantor-Gymnasium - eine mathematisch-naturwissenschaftliche Spezialschule in Halle (Saale). images: @@ -34,7 +34,6 @@ params: - https://assets.cantorgymnasium.de/bootstrap/v5/css/bootstrap.min.css - https://assets.cantorgymnasium.de/slick/v1.8/slick.css - https://assets.cantorgymnasium.de/venobox/v2/dist/venobox.min.css - - https://assets.cantorgymnasium.de/fonts/mdi/v7/css/materialdesignicons.min.css - https://assets.cantorgymnasium.de/fonts/fira/fira.css - https://assets.cantorgymnasium.de/fonts/ubuntu/ubuntu.css js: @@ -47,16 +46,16 @@ params: - https://assets.cantorgymnasium.de/filterizr/v2/dist/vanilla.filterizr.min.js social: - title: YouTube - icon: mdi mdi-youtube + icon: youtube link: https://www.youtube.com/@cantornews - title: Twitter - icon: mdi mdi-twitter + icon: twitter link: https://twitter.com/cantor_news - title: Instagram - icon: mdi mdi-instagram + icon: instagram link: https://instagram.com/cantor.news - title: Facebook - icon: mdi mdi-facebook + icon: facebook link: https://facebook.com/cantor.news preloader: enable: true @@ -274,3 +273,6 @@ privacy: privacyEnhanced: true vimeo: enableDNT: true +module: + imports: + - path: github.com/hugomods/icons/vendors/mdi diff --git a/content/projektwoche/2023.md b/content/projektwoche/2023.md index 7914b5be..d724d373 100644 --- a/content/projektwoche/2023.md +++ b/content/projektwoche/2023.md @@ -12,7 +12,7 @@ type: projektwoche tiles: - title: Unser "Cantor" aus Sicht der Schulchronisten bg_color: "#990000" - icon: mdi mdi-pillar + icon: pillar font_color: white content: > Lust auf „Zurück in die Zukunft“? Was soll denn das nun heißen? In diesem @@ -34,7 +34,7 @@ tiles: {{< gallery dir="/media/projektwoche/2023/p01" >}} - title: Georg Cantor zwischen Genie und Wahnsinn bg_color: "#e4fdfd" - icon: mdi mdi-head-cog-outline + icon: head-cog-outline font_color: black content: >+ Wir haben uns in der Projektwoche mit Cantors psychischen Erkrankungen @@ -57,7 +57,7 @@ tiles: - title: Keramikreliefs und anderes aus dem Brennofen bg_color: "#cc9966" - icon: mdi mdi-fireplace + icon: fireplace font_color: black content: > Wir ergänzen die fehlenden Reliefs im Schulhaus und stellen Dinge her, die @@ -66,14 +66,14 @@ tiles: {{< gallery dir="/media/projektwoche/2023/p03" >}} - title: Unendlichkeiten der Zeit bg_color: "#6666ff" - icon: mdi mdi-printer-3d + icon: printer-3d font_color: white content: > Wir nutzten den 3-D-Drucker, um Uhren und weitere Merchandising-Artikel zu gestalten und zu produzieren. - title: Unendlichkeit in der Literatur bg_color: "#ccffcc" - icon: mdi mdi-bookshelf + icon: bookshelf font_color: black content: >+ Unser Projekt handelt vom Schreiben einer „unendlichen Geschichte“. @@ -115,7 +115,7 @@ tiles: - title: Unendlich viele Affen schreiben Shakespeare bg_color: "#ff9933" - icon: mdi mdi-fountain-pen-tip + icon: fountain-pen-tip font_color: black content: >+ Es ist ein gleichermaßen bekanntes wie bizarres Gedankenexperiment: @@ -143,7 +143,7 @@ tiles: - title: Berühmte Zeitgenossen Cantors in Halle bg_color: "#336699" - icon: mdi mdi-account-question-outline + icon: account-question-outline font_color: white content: > Zehn Schülerinnen und Schüler haben in vier Gruppen gearbeitet und @@ -162,7 +162,7 @@ tiles: {{< gallery dir="/media/projektwoche/2023/p07" >}} - title: Wir basteln eigene Brettspiele zu Cantor und zum GCG bg_color: "#cc3333" - icon: mdi mdi-checkerboard + icon: checkerboard font_color: white content: > Im Projekt „Wir basteln eigene Brettspiele zu Cantor und dem GCG“ hatten @@ -183,7 +183,7 @@ tiles: {{< gallery dir="/media/projektwoche/2023/p09" >}} - title: Ein Cantor-Team-Duell bg_color: "#99cc99" - icon: mdi mdi-fencing + icon: fencing font_color: black content: > Bei diesem Projekt konnten die Schülerinnen und Schüler ihrer ganzen @@ -204,7 +204,7 @@ tiles: {{< gallery dir="/media/projektwoche/2023/p10" >}} - title: Cantor-School-Rap bg_color: "#ffcccc" - icon: mdi mdi-microphone-variant + icon: microphone-variant font_color: black content: > Unser Cantor-School-Rap entstand mit Beteiligung der Klassen 5, 6, 8 und @@ -229,13 +229,13 @@ tiles: {{< gallery dir="/media/projektwoche/2023/p11" >}} - title: Chor und Schulband bg_color: "#ffcc00" - icon: mdi mdi-music-clef-treble + icon: music-clef-treble font_color: black content: | {{< gallery dir="/media/projektwoche/2023/p12" >}} - title: Farben zu Cantors Zeiten bg_color: "#ccccff" - icon: mdi mdi-test-tube + icon: test-tube font_color: black content: > Die Projektgruppe „Farben zu Cantors Zeiten“, geleitet von Frau @@ -254,14 +254,14 @@ tiles: {{< gallery dir="/media/projektwoche/2023/p13" >}} - title: Die Stadt Halle zu Cantors Zeiten bg_color: "#009999" - icon: mdi mdi-bank-outline + icon: bank-outline font_color: white content: > - title: Wir fotografieren die Unendlichkeit bg_color: "#ccff66" - icon: mdi mdi-camera-outline + icon: camera-outline font_color: black content: >+ Kann man die Unendlichkeit fotografieren? Sicher nicht. Wie soll das @@ -286,7 +286,7 @@ tiles: - title: Philosophie und Unendlichkeit bg_color: "#cc6600" - icon: mdi mdi-all-inclusive-box-outline + icon: all-inclusive-box-outline font_color: white content: >+ In der Projektgruppe "Philosophie und Unendlichkeit" haben sich @@ -309,13 +309,13 @@ tiles: - title: Das unendlich Große/Kleine in den Naturwissenschaften bg_color: "#cc0066" - icon: mdi mdi-bacteria-outline + icon: bacteria-outline font_color: white content: | {{< gallery dir="/media/projektwoche/2023/p17" >}} - title: Bau einer Rube-Goldberg-Maschine bg_color: "#996699" - icon: mdi mdi-state-machine + icon: state-machine font_color: white content: >+ In unserem Projekt ging es darum, eine Maschine zu bauen, die man im @@ -338,19 +338,19 @@ tiles: - title: Kleine Ursache - großer Effekt bg_color: "#3333cc" - icon: mdi mdi-magnet-on + icon: magnet-on font_color: white content: | {{< gallery dir="/media/projektwoche/2023/p19" >}} - title: Science meets Literature bg_color: "#ffff00" - icon: mdi mdi-book-search-outline + icon: book-search-outline font_color: black content: | {{< gallery dir="/media/projektwoche/2023/p20" >}} - title: Cantor - Wer kann ihm entkommen? bg_color: "#9966ff" - icon: mdi mdi-map-legend + icon: map-legend font_color: white content: | {{< gallery dir="/media/projektwoche/2023/p21" >}} diff --git a/content/superhaufen/20-jahriges-jubilaum.md b/content/superhaufen/20-jahriges-jubilaum.md index 779046f7..c13ef3d4 100644 --- a/content/superhaufen/20-jahriges-jubilaum.md +++ b/content/superhaufen/20-jahriges-jubilaum.md @@ -26,7 +26,7 @@ tiles: title: Programm - icon: mdi mdi-text + icon: text bg_color: "#44bda7" font_color: "#ffffff" --- diff --git a/content/superhaufen/30-jahriges-jubilaum.md b/content/superhaufen/30-jahriges-jubilaum.md index eddfabc7..325303ad 100644 --- a/content/superhaufen/30-jahriges-jubilaum.md +++ b/content/superhaufen/30-jahriges-jubilaum.md @@ -10,7 +10,7 @@ tiles: - title: Festveranstaltung bg_color: "#ffef00" font_color: "#ffffff" - icon: mdi mdi-crowd + icon: crowd content: |+ @@ -135,7 +135,7 @@ tiles: {{< gallery dir="/media/schulchronik/2018/festveranstaltung" >}} - title: Aktionen bg_color: "#0fe008" - icon: mdi mdi-theater + icon: theater content: > Den Freitag, den zweiten Tag der Festtage zum 30. Jubiläum, verbrachten Schülerinnen und Schüler mit unterschiedlichen Aktionen, wie zum Beispiel @@ -292,7 +292,7 @@ tiles: {{< gallery dir="/media/schulchronik/2018/rallye" >}} - title: Flashmob bg_color: "#0051e5" - icon: mdi mdi-all-inclusive + icon: all-inclusive content: > Unser geliebtes Gymnasium feierte im Jahr 2018 sein 30-jähriges Jubiläum. diff --git a/content/superhaufen/35-jahriges-jubilaum.md b/content/superhaufen/35-jahriges-jubilaum.md index 41f58c23..1c5b5dc7 100644 --- a/content/superhaufen/35-jahriges-jubilaum.md +++ b/content/superhaufen/35-jahriges-jubilaum.md @@ -9,7 +9,7 @@ previous: tiles: - title: Aktionen bg_color: "#f85d1f" - icon: mdi mdi-file-document-outline + icon: file-document-outline font_color: "#ffffff" content: "\ \n" unterhaufen: @@ -32,12 +32,12 @@ tiles: - title: Festveranstaltung bg_color: "#2a1dc8" - icon: mdi mdi-party-popper + icon: party-popper font_color: "#fff9f9" content: "\ \n" - title: Flashmob bg_color: "#49e649" - icon: mdi mdi-crowd + icon: crowd font_color: "#fff5f5" content: "\ \n" --- diff --git a/data/homepage.yml b/data/homepage.yml index c8859bf9..a6e79298 100644 --- a/data/homepage.yml +++ b/data/homepage.yml @@ -5,7 +5,7 @@ top_banner: statt.
**Weihnachtssingen** am 20.12.2023, 11 Uhr color: "#19aa96" font_color: "#ffffff" - icon: mdi mdi-gift-open + icon: gift-open temporarily: enable: true start_date: 2023-11-05T14:47:53.000+01:00 @@ -158,7 +158,7 @@ success_banner: image: media/home/cds.webp - type: icon name: Und viel mehr ... - icon: mdi mdi-trophy-outline + icon: trophy-outline content: > Durch umfassende Begabtenförderungsangebote sind unsere Schüler bei vielen Wettbewerben erfolgreich. Diese umfassen erweiterte Stoffgebiete, diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..3f87ac9e --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module git.cantorgymnasium.de/gcg/gcg-website + +go 1.19 + +require github.com/hugomods/icons/vendors/mdi v0.3.2 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..a4ae5f91 --- /dev/null +++ b/go.sum @@ -0,0 +1,4 @@ +github.com/hugomods/icons v0.6.0 h1:G6RU93okhPPRDh/jqcew9gwkcYpSpg0rCBv4S6yUAFw= +github.com/hugomods/icons v0.6.0/go.mod h1:cIkSvK6W0q6N4U6n9KGz+QfRWQXAW0INd+1P31gPNGg= +github.com/hugomods/icons/vendors/mdi v0.3.2 h1:59KlTgBNiKGlPXzaQ6zn+VLYstFb4zABKwlHfzL8ADY= +github.com/hugomods/icons/vendors/mdi v0.3.2/go.mod h1:yHIDYxNoBV8RCAc4Uordp6rr4GObPrtBAimShBBFdmc= diff --git a/layouts/author/single.html b/layouts/author/single.html index 35ce06b8..e4b64e68 100644 --- a/layouts/author/single.html +++ b/layouts/author/single.html @@ -14,7 +14,7 @@ {{ .Content }}
{{ with .Params.email }} - + {{ partial "icons/icon" (dict "vendor" "mdi" "name" "at") }} {{ end }} diff --git a/layouts/ganztagsangebote/single.html b/layouts/ganztagsangebote/single.html index 6391c293..1c38ffab 100644 --- a/layouts/ganztagsangebote/single.html +++ b/layouts/ganztagsangebote/single.html @@ -6,10 +6,10 @@

{{ .Title }}

- {{ partial "icon-element" (dict "size" 3 "icon" "mdi-calendar-today-outline" "title" "Zeit" "content" .Params.schedule) }} - {{ partial "icon-element" (dict "size" 3 "icon" "mdi-timer-sand" "title" "Dauer" "content" .Params.duration) }} - {{ partial "icon-element" (dict "size" 3 "icon" "mdi-crowd" "title" "Klassen" "content" .Params.class) }} - {{ partial "icon-element" (dict "size" 3 "icon" "mdi-map-marker-radius-outline" "title" "Raum" "content" .Params.room) }} + {{ partial "icon-element" (dict "size" 3 "icon" "calendar-today-outline" "title" "Zeit" "content" .Params.schedule) }} + {{ partial "icon-element" (dict "size" 3 "icon" "timer-sand" "title" "Dauer" "content" .Params.duration) }} + {{ partial "icon-element" (dict "size" 3 "icon" "crowd" "title" "Klassen" "content" .Params.class) }} + {{ partial "icon-element" (dict "size" 3 "icon" "map-marker-radius-outline" "title" "Raum" "content" .Params.room) }}

diff --git a/layouts/index.html b/layouts/index.html index 2aae84fc..2d35157d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ {{ if $data.homepage.slider.enable }} {{ with $data.homepage.slider }} -
+
@@ -117,12 +117,12 @@
- Angeheftet + {{ partial "mdi" "pin" }} Angeheftet {{ .title }}
- + {{ partial "mdi" "fountain-pen-tip" }} {{ partial "authors" (dict "Site" $.Site "author" .author )}}

{{ .title }}

@@ -145,7 +145,7 @@ {{ if $data.homepage.success_banner.enable }} {{ with $data.homepage.success_banner }} -
+
{{ range .feature_item }} @@ -154,7 +154,7 @@ {{ end }} {{ with .icon }} - + {{ partial "mdi" . }} {{ end }}

{{ .name | markdownify }}

diff --git a/layouts/kontakt/list.html b/layouts/kontakt/list.html index d78a9e0d..02640a46 100644 --- a/layouts/kontakt/list.html +++ b/layouts/kontakt/list.html @@ -30,12 +30,12 @@
  • {{ .name }}

    {{ .position }}

    -

    {{ with (split .email "@") }}{{ print (index . 0) "(at)" (index . 1) }}{{ end }}

    +

    {{ partial "mdi" "email-multiple-outline" }}{{ with (split .email "@") }}{{ print (index . 0) (partial "mdi" "at") (index . 1) | safeHTML }}{{ end }}

  • {{ end }}
  • -

    Telefon: +49-0345/6903156

    -

    Fax: +49-0345/6903157

    +

    {{ partial "mdi" "phone-outline" }}Telefon: +49-0345/6903156

    +

    {{ partial "mdi" "fax" }}Fax: +49-0345/6903157

  • diff --git a/layouts/partials/card-article.html b/layouts/partials/card-article.html index 1d6a5972..4a1afb3f 100644 --- a/layouts/partials/card-article.html +++ b/layouts/partials/card-article.html @@ -2,10 +2,13 @@ {{ .Title }}
    - {{ time.Format "02. Jan 2006" .PublishDate }} + + {{ partial "mdi" "calendar-today"}} + {{ time.Format "02. Jan 2006" .PublishDate }} + - - {{ partial "authors" (dict "Site" .Site "author" .Params.author )}} + {{ partial "mdi" "fountain-pen-tip" }} + {{ partial "authors" (dict "Site" .Site "author" .Params.author )}}

    {{ .Title }}

    diff --git a/layouts/partials/card-category.html b/layouts/partials/card-category.html index b5892bb1..cafd776c 100644 --- a/layouts/partials/card-category.html +++ b/layouts/partials/card-category.html @@ -1,7 +1,7 @@
    {{ .Title }}
    -
    {{ .Params.category }}
    +
    {{ partial "mdi" "bookmark-outline" }}{{ .Params.category }}

    {{ .Title }}

    Mehr anzeigen
    diff --git a/layouts/partials/download.html b/layouts/partials/download.html index a6405403..38be77b6 100644 --- a/layouts/partials/download.html +++ b/layouts/partials/download.html @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1742b1a3..48094c81 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -54,7 +54,7 @@
    diff --git a/layouts/partials/ganztag.html b/layouts/partials/ganztag.html index 65ac5a33..70d4b032 100644 --- a/layouts/partials/ganztag.html +++ b/layouts/partials/ganztag.html @@ -1,8 +1,8 @@
    {{ .Title }}
    -
    {{ .Params.schedule }}
    -
    {{ .Params.class }}
    +
    {{ partial "mdi" "calendar-today" }}{{ .Params.schedule }}
    +
    {{ partial "mdi" "crowd"}}{{ .Params.class }}

    {{ .Title }}

    Mehr anzeigen
    diff --git a/layouts/partials/header-contest.html b/layouts/partials/header-contest.html index d79b47e0..b8115774 100644 --- a/layouts/partials/header-contest.html +++ b/layouts/partials/header-contest.html @@ -5,7 +5,7 @@ {{ end }}
    - + {{ partial "mdi" "crowd"}}
    Klassen

    {{ .Params.class }}

    diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7a983034..2121cd92 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -6,8 +6,9 @@
    @@ -20,7 +21,7 @@
  • - E-Mail: {{ .Site.Params.email_label | safeHTML }} + E-Mail: {{ replace .Site.Params.email_label "(at)" (partial "mdi" "at") | safeHTML }}
  • @@ -67,7 +68,7 @@ {{ end }} {{ end }}
    @@ -90,7 +91,7 @@
    -
    {{ .text | markdownify }}
    +
    {{ partial "mdi" .icon }} {{ .text | markdownify }}
    diff --git a/layouts/partials/icon-element.html b/layouts/partials/icon-element.html index 5c2503ab..ddffecd3 100644 --- a/layouts/partials/icon-element.html +++ b/layouts/partials/icon-element.html @@ -1,6 +1,6 @@
    - + {{ partial "mdi" .icon }}
    {{ .title }}

    {{ .content }}

    diff --git a/layouts/partials/info.html b/layouts/partials/info.html index 81bbf000..e76187d8 100644 --- a/layouts/partials/info.html +++ b/layouts/partials/info.html @@ -1,10 +1,10 @@ {{ with .Site.Data.homepage.info }} -
    +
    diff --git a/layouts/partials/mdi.html b/layouts/partials/mdi.html new file mode 100644 index 00000000..eddc1ec6 --- /dev/null +++ b/layouts/partials/mdi.html @@ -0,0 +1 @@ +{{ partial "icons/icon" (dict "vendor" "mdi" "name" .) }} \ No newline at end of file diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 1d29e639..4bcb6591 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -4,7 +4,7 @@

    {{ .Params.description | markdownify }}

    diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index 1f456781..7245c6c1 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -10,14 +10,14 @@ {{ if ne $paginator.PageNumber 1 }}
  • - + {{ partial "mdi" "step-backward-2" }}
  • {{ end }} {{ if $paginator.HasPrev }}
  • - + {{ partial "mdi" "step-backward" }}
  • {{ end }} @@ -51,14 +51,14 @@ {{ if $paginator.HasNext }}
  • - + {{ partial "mdi" "step-forward" }}
  • {{ end }} {{ if ne $paginator.PageNumber $paginator.TotalPages }}
  • - + {{ partial "mdi" "step-forward-2" }}
  • {{ end }} diff --git a/layouts/partials/termin.html b/layouts/partials/termin.html index 7d0c9373..a5284d87 100644 --- a/layouts/partials/termin.html +++ b/layouts/partials/termin.html @@ -10,7 +10,8 @@

    {{ .title }}

    {{ with .location }}
    - {{ . | markdownify }} + {{ partial "mdi" "map-marker-radius-outline" }} + {{ . | markdownify }}
    {{ end }}
    diff --git a/layouts/partials/tile-modals.html b/layouts/partials/tile-modals.html index 83e7caf5..9eadcb67 100644 --- a/layouts/partials/tile-modals.html +++ b/layouts/partials/tile-modals.html @@ -11,7 +11,7 @@
    - + {{ partial "mdi" .icon }}

    {{ .title }}

    diff --git a/static/admin/config/collections/widgets.js b/static/admin/config/collections/widgets.js index 289f2132..a215d4fd 100644 --- a/static/admin/config/collections/widgets.js +++ b/static/admin/config/collections/widgets.js @@ -41,7 +41,7 @@ const IconList = { label: "Symbol", widget: "string", required: false, - hint: "Liste unter https://assets.cantorgymnasium.de/fonts/mdi/v7/preview.html", + hint: "Liste unter https://assets.cantorgymnasium.de/fonts/mdi/v7/preview.html. Das `mdi` am Anfang ist wegzulassen.", }; const PreviewNumber = {