diff --git a/the_works/static/the_works.css b/the_works/static/the_works.css index 4a126ce..c0cb44e 100644 --- a/the_works/static/the_works.css +++ b/the_works/static/the_works.css @@ -83,4 +83,9 @@ svg { label:has([type="checkbox"]) { width: 100%; -} \ No newline at end of file +} + +#navbar li[aria-current=page]>a, +#navbar li[aria-current=page]>details>summary>a { + text-decoration: underline; +} diff --git a/the_works/templates/_nav.html b/the_works/templates/_nav.html index fc08e09..e7ff65c 100644 --- a/the_works/templates/_nav.html +++ b/the_works/templates/_nav.html @@ -1,3 +1,17 @@ +{% set menu = ( + ("Texte", url_for("text.all")), + ("Werke", url_for("werk.all")), + ("Basisdaten", ( + ("Genres", url_for("genre.all")), + ("Herausgeber:innen", url_for("herausgeber.all")), + ("Pseudonyme", url_for("pseudonym.all")), + ("Reihen", url_for("reihe.all")), + ("Sprachen", url_for("sprache.all")), + ("Textformen", url_for("textform.all")), + ("Verlage", url_for("verlag.all")), + ("Werksformen", url_for("werksform.all")) + )) +) %}