diff --git a/app.json b/app.json index d51e4a8..e678dba 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "name": "SocialBotNet", "description": "A botfriendly social network for educational purposes.", "repository": "https://github.com/Knorrke/socialbotnet", - "logo": "https://www.socialbotnet.de/assets/v4.1/images/favicon-32x32.png", + "logo": "https://www.socialbotnet.de/assets/v4.1.1/images/favicon-32x32.png", "addons": [ { "plan": "heroku-postgresql:hobby-dev" diff --git a/src/main/resources/public/assets/v4.1/css/content.css b/src/main/resources/public/assets/v4.1.1/css/content.css similarity index 67% rename from src/main/resources/public/assets/v4.1/css/content.css rename to src/main/resources/public/assets/v4.1.1/css/content.css index 049dbd0..3c95b32 100644 --- a/src/main/resources/public/assets/v4.1/css/content.css +++ b/src/main/resources/public/assets/v4.1.1/css/content.css @@ -52,9 +52,16 @@ a { a:not(.prevent-external)[href^="//"]:after, a:not(.prevent-external)[href^="http://"]:after, a:not(.prevent-external)[href^="https://"]:after { - font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f35d"; - font-size: 10pt; - margin: 0 0 0 5px; + content:""; + -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M256 64C256 46.33 270.3 32 288 32H415.1C415.1 32 415.1 32 415.1 32C420.3 32 424.5 32.86 428.2 34.43C431.1 35.98 435.5 38.27 438.6 41.3C438.6 41.35 438.6 41.4 438.7 41.44C444.9 47.66 447.1 55.78 448 63.9C448 63.94 448 63.97 448 64V192C448 209.7 433.7 224 416 224C398.3 224 384 209.7 384 192V141.3L214.6 310.6C202.1 323.1 181.9 323.1 169.4 310.6C156.9 298.1 156.9 277.9 169.4 265.4L338.7 96H288C270.3 96 256 81.67 256 64V64zM0 128C0 92.65 28.65 64 64 64H160C177.7 64 192 78.33 192 96C192 113.7 177.7 128 160 128H64V416H352V320C352 302.3 366.3 288 384 288C401.7 288 416 302.3 416 320V416C416 451.3 387.3 480 352 480H64C28.65 480 0 451.3 0 416V128z'/%3E%3C/svg%3E"); + mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M256 64C256 46.33 270.3 32 288 32H415.1C415.1 32 415.1 32 415.1 32C420.3 32 424.5 32.86 428.2 34.43C431.1 35.98 435.5 38.27 438.6 41.3C438.6 41.35 438.6 41.4 438.7 41.44C444.9 47.66 447.1 55.78 448 63.9C448 63.94 448 63.97 448 64V192C448 209.7 433.7 224 416 224C398.3 224 384 209.7 384 192V141.3L214.6 310.6C202.1 323.1 181.9 323.1 169.4 310.6C156.9 298.1 156.9 277.9 169.4 265.4L338.7 96H288C270.3 96 256 81.67 256 64V64zM0 128C0 92.65 28.65 64 64 64H160C177.7 64 192 78.33 192 96C192 113.7 177.7 128 160 128H64V416H352V320C352 302.3 366.3 288 384 288C401.7 288 416 302.3 416 320V416C416 451.3 387.3 480 352 480H64C28.65 480 0 451.3 0 416V128z'/%3E%3C/svg%3E"); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + width: 11px; + height: 11px; + margin-left: 4px; + display: inline-block; + background-color: currentColor; } a:hover { @@ -198,6 +205,15 @@ hr { border-radius: 10px; } +.fontawesome-icon svg { + fill: currentColor; + line-height: 1; + height: 1em; + width: 1em; + margin-bottom: -0.1em; + margin-right: 2px; +} + /** * Tooltip Styles https://codepen.io/cbracco/pen/nXEQLw */ diff --git a/src/main/resources/public/assets/v4.1/css/layout.css b/src/main/resources/public/assets/v4.1.1/css/layout.css similarity index 100% rename from src/main/resources/public/assets/v4.1/css/layout.css rename to src/main/resources/public/assets/v4.1.1/css/layout.css diff --git a/src/main/resources/public/assets/v4.1/css/tabs.css b/src/main/resources/public/assets/v4.1.1/css/tabs.css similarity index 100% rename from src/main/resources/public/assets/v4.1/css/tabs.css rename to src/main/resources/public/assets/v4.1.1/css/tabs.css diff --git a/src/main/resources/public/assets/v4.1/images/GI_Logo_links.png b/src/main/resources/public/assets/v4.1.1/images/GI_Logo_links.png similarity index 100% rename from src/main/resources/public/assets/v4.1/images/GI_Logo_links.png rename to src/main/resources/public/assets/v4.1.1/images/GI_Logo_links.png diff --git a/src/main/resources/public/assets/v4.1/images/favicon-16x16.png b/src/main/resources/public/assets/v4.1.1/images/favicon-16x16.png similarity index 100% rename from src/main/resources/public/assets/v4.1/images/favicon-16x16.png rename to src/main/resources/public/assets/v4.1.1/images/favicon-16x16.png diff --git a/src/main/resources/public/assets/v4.1/images/favicon-32x32.png b/src/main/resources/public/assets/v4.1.1/images/favicon-32x32.png similarity index 100% rename from src/main/resources/public/assets/v4.1/images/favicon-32x32.png rename to src/main/resources/public/assets/v4.1.1/images/favicon-32x32.png diff --git a/src/main/resources/public/assets/v4.1/images/senden.svg b/src/main/resources/public/assets/v4.1.1/images/senden.svg similarity index 100% rename from src/main/resources/public/assets/v4.1/images/senden.svg rename to src/main/resources/public/assets/v4.1.1/images/senden.svg diff --git a/src/main/resources/public/assets/v4.1/material/gi_unterrichtspreis.pdf b/src/main/resources/public/assets/v4.1.1/material/gi_unterrichtspreis.pdf similarity index 100% rename from src/main/resources/public/assets/v4.1/material/gi_unterrichtspreis.pdf rename to src/main/resources/public/assets/v4.1.1/material/gi_unterrichtspreis.pdf diff --git a/src/main/resources/public/assets/v4.1/material/java/handout.pdf b/src/main/resources/public/assets/v4.1.1/material/java/handout.pdf similarity index 100% rename from src/main/resources/public/assets/v4.1/material/java/handout.pdf rename to src/main/resources/public/assets/v4.1.1/material/java/handout.pdf diff --git a/src/main/resources/public/assets/v4.1/material/java/json-handout.pdf b/src/main/resources/public/assets/v4.1.1/material/java/json-handout.pdf similarity index 100% rename from src/main/resources/public/assets/v4.1/material/java/json-handout.pdf rename to src/main/resources/public/assets/v4.1.1/material/java/json-handout.pdf diff --git a/src/main/resources/public/assets/v4.1/material/java/json-vorlage.zip b/src/main/resources/public/assets/v4.1.1/material/java/json-vorlage.zip similarity index 100% rename from src/main/resources/public/assets/v4.1/material/java/json-vorlage.zip rename to src/main/resources/public/assets/v4.1.1/material/java/json-vorlage.zip diff --git a/src/main/resources/public/assets/v4.1/material/java/objekte-handout.pdf b/src/main/resources/public/assets/v4.1.1/material/java/objekte-handout.pdf similarity index 100% rename from src/main/resources/public/assets/v4.1/material/java/objekte-handout.pdf rename to src/main/resources/public/assets/v4.1.1/material/java/objekte-handout.pdf diff --git a/src/main/resources/public/assets/v4.1/material/java/objekte-vorlage.zip b/src/main/resources/public/assets/v4.1.1/material/java/objekte-vorlage.zip similarity index 100% rename from src/main/resources/public/assets/v4.1/material/java/objekte-vorlage.zip rename to src/main/resources/public/assets/v4.1.1/material/java/objekte-vorlage.zip diff --git a/src/main/resources/public/assets/v4.1/material/java/socialbot-examples.zip b/src/main/resources/public/assets/v4.1.1/material/java/socialbot-examples.zip similarity index 100% rename from src/main/resources/public/assets/v4.1/material/java/socialbot-examples.zip rename to src/main/resources/public/assets/v4.1.1/material/java/socialbot-examples.zip diff --git a/src/main/resources/public/assets/v4.1/material/python/handout.pdf b/src/main/resources/public/assets/v4.1.1/material/python/handout.pdf similarity index 100% rename from src/main/resources/public/assets/v4.1/material/python/handout.pdf rename to src/main/resources/public/assets/v4.1.1/material/python/handout.pdf diff --git a/src/main/resources/public/assets/v4.1/material/python/json-handout.pdf b/src/main/resources/public/assets/v4.1.1/material/python/json-handout.pdf similarity index 100% rename from src/main/resources/public/assets/v4.1/material/python/json-handout.pdf rename to src/main/resources/public/assets/v4.1.1/material/python/json-handout.pdf diff --git a/src/main/resources/public/assets/v4.1/material/python/objekte-handout.pdf b/src/main/resources/public/assets/v4.1.1/material/python/objekte-handout.pdf similarity index 100% rename from src/main/resources/public/assets/v4.1/material/python/objekte-handout.pdf rename to src/main/resources/public/assets/v4.1.1/material/python/objekte-handout.pdf diff --git a/src/main/resources/public/assets/v4.1/material/python/socialbot-example.zip b/src/main/resources/public/assets/v4.1.1/material/python/socialbot-example.zip similarity index 100% rename from src/main/resources/public/assets/v4.1/material/python/socialbot-example.zip rename to src/main/resources/public/assets/v4.1.1/material/python/socialbot-example.zip diff --git a/src/main/resources/public/assets/v4.1/material/python/vorlage.zip b/src/main/resources/public/assets/v4.1.1/material/python/vorlage.zip similarity index 100% rename from src/main/resources/public/assets/v4.1/material/python/vorlage.zip rename to src/main/resources/public/assets/v4.1.1/material/python/vorlage.zip diff --git a/src/main/resources/public/assets/v4.1/material/zulassungsarbeit.pdf b/src/main/resources/public/assets/v4.1.1/material/zulassungsarbeit.pdf similarity index 100% rename from src/main/resources/public/assets/v4.1/material/zulassungsarbeit.pdf rename to src/main/resources/public/assets/v4.1.1/material/zulassungsarbeit.pdf diff --git a/src/main/resources/public/assets/v4.1/images/external_link.png b/src/main/resources/public/assets/v4.1/images/external_link.png deleted file mode 100644 index ad5f376..0000000 Binary files a/src/main/resources/public/assets/v4.1/images/external_link.png and /dev/null differ diff --git a/src/main/resources/templates/common/fa-icons.ftl b/src/main/resources/templates/common/fa-icons.ftl new file mode 100644 index 0000000..220d888 --- /dev/null +++ b/src/main/resources/templates/common/fa-icons.ftl @@ -0,0 +1,32 @@ +<#ftl output_format="XML"> +<#macro icon fa solid=true class=""> + #macro> diff --git a/src/main/resources/templates/layout/layout.ftl b/src/main/resources/templates/layout/layout.ftl index d1bf75b..1fe1efa 100644 --- a/src/main/resources/templates/layout/layout.ftl +++ b/src/main/resources/templates/layout/layout.ftl @@ -1,3 +1,4 @@ +<#import "../common/fa-icons.ftl" as fa/> <#macro masterTemplate pageTitle="Willkommen im SocialBotNet" title=pageTitle colored=true> @@ -6,13 +7,12 @@
+#macro> diff --git a/src/main/resources/templates/common/text-input.ftl b/src/main/resources/templates/common/text-input.ftl index 776164f..22e95b6 100644 --- a/src/main/resources/templates/common/text-input.ftl +++ b/src/main/resources/templates/common/text-input.ftl @@ -2,7 +2,7 @@Ein mögliches Unterrichtskonzept für die Oberstufe über den Verlauf von 4 Schulstunden wird im Folgenden kurz dargestellt. Ausführlichere Informationen finden sich insbesondere in der Ausarbeitung für den GI Unterrichtspreis 2019
+Ein mögliches Unterrichtskonzept für die Oberstufe über den Verlauf von 4 Schulstunden wird im Folgenden kurz dargestellt. Ausführlichere Informationen finden sich insbesondere in der Ausarbeitung für den GI Unterrichtspreis 2019
Neben den Programmierkenntnissen (sicherer Umgang mit Datentypen, Objekten und for-Wiederholung) ist Vorwissen zum Schichtenmodell und dem Client-Server-Prinzip für die Unterrichtssequenz hilfreich.