diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..3e1f342 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/accounts/ +/data/ +/plugins/ diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/pages/01.home/05._apps/favicon.png b/pages/01.home/06._apps/favicon.png similarity index 100% rename from pages/01.home/05._apps/favicon.png rename to pages/01.home/06._apps/favicon.png diff --git a/pages/01.home/05._apps/text.md b/pages/01.home/06._apps/text.md similarity index 100% rename from pages/01.home/05._apps/text.md rename to pages/01.home/06._apps/text.md diff --git a/pages/01.home/06._blog/blog.md b/pages/01.home/07._blog/blog.md similarity index 100% rename from pages/01.home/06._blog/blog.md rename to pages/01.home/07._blog/blog.md diff --git a/pages/01.home/07._links/features.md b/pages/01.home/08._links/features.md old mode 100644 new mode 100755 similarity index 100% rename from pages/01.home/07._links/features.md rename to pages/01.home/08._links/features.md diff --git a/pages/02.scstw/05._startpads/text.md b/pages/02.scstw/05._startpads/text.md old mode 100755 new mode 100644 index 47acb1a..cb6dda5 --- a/pages/02.scstw/05._startpads/text.md +++ b/pages/02.scstw/05._startpads/text.md @@ -1,11 +1,11 @@ --- -title: ScStw startpads -menu: Startpads +title: 'ScStw startpads' image_align: right +menu: Startpads --- ## The ScStw Startpads Verifying that none of the competitors started too early is something that is totally impossible to do manually. Because of that, the ScStw comes with startpads on which the climbers stand at the beginning of the race. -The detect the exact moment the climbers lift their feet of the ground and are therefore able to recognize when a climber starts too early. \ No newline at end of file +They detect the exact moment the climbers lift their feet of the ground and are therefore able to recognize when a climber starts too early. \ No newline at end of file diff --git a/pages/03.apps/01.bluerock/appitem.md b/pages/03.apps/01.bluerock/appitem.md new file mode 100755 index 0000000..d1fdd8a --- /dev/null +++ b/pages/03.apps/01.bluerock/appitem.md @@ -0,0 +1,19 @@ +--- +title: blueROCK +media_order: 'Banner.png,GooglePlay.png,AppStore.png' +routes: + aliases: + - /index.php/apps/bluerock +hero_classes: 'overlay-dark text-light hero-tiny' +hero_image: Banner.png +links: + googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.blueROCK' + appstore: 'https://apps.apple.com/de/app/bluerock/id1503699996?app=itunes&ign-mpt=uo%3D4' + opensource: 'https://git.itsblue.de/dorian/blueROCK' +privacyPolicy: "While you're using blueROCK Itsblue Development does not collect any of your personal data.
\r\n
\r\nHowever, digitalROCK (provider of rankings and resultservice) may collect personal data.
\r\nFurther information can be found in their privacy policy:
\r\nhttps://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy" +header_image: '0' +--- + +blueROCK is an app to view climbing results from digitalrock.de comfortable on the go. + +=== \ No newline at end of file diff --git a/pages/03.apps/01.bluerock/item.md b/pages/03.apps/01.bluerock/item.md deleted file mode 100644 index ccf6a52..0000000 --- a/pages/03.apps/01.bluerock/item.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: blueROCK -media_order: 'Banner.png,GooglePlay.png,AppStore.png' -routes: - aliases: - - /index.php/apps/bluerock -hero_classes: 'overlay-dark text-light hero-tiny' -hero_image: Banner.png -header_image: '0' ---- - -blueROCK is an app to view climbing results from digitalrock.de comfortable on the go. - -=== - -[![Get it on Google Play](GooglePlay.png)](https://play.google.com/store/apps/details?id=com.itsblue.blueROCK&noprocess) -[![Download on the App Store](AppStore.png)](https://apps.apple.com/de/app/bluerock/id1503699996?app=itunes&ign-mpt=uo%3D4&noprocess) - -This app is open source! -[https://git.itsblue.de/dorian/blueROCK](https://git.itsblue.de/dorian/blueROCK) - -## Privacy Policy - -While you're using blueROCK Itsblue Development does not collect any of your personal data. - -However, digitalROCK (provider of rankings and resultservice) may collect personal data. -Further information can be found in their privacy policy: -[https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy](https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy) \ No newline at end of file diff --git a/pages/03.apps/02.speed-climbing-stopwatch/GooglePlay.png b/pages/03.apps/02.speed-climbing-stopwatch/GooglePlay.png deleted file mode 100755 index 36036d8..0000000 Binary files a/pages/03.apps/02.speed-climbing-stopwatch/GooglePlay.png and /dev/null differ diff --git a/pages/03.apps/02.speed-climbing-stopwatch/item.md b/pages/03.apps/02.speed-climbing-stopwatch/appitem.md similarity index 55% rename from pages/03.apps/02.speed-climbing-stopwatch/item.md rename to pages/03.apps/02.speed-climbing-stopwatch/appitem.md index b11ce62..a6d1a9c 100755 --- a/pages/03.apps/02.speed-climbing-stopwatch/item.md +++ b/pages/03.apps/02.speed-climbing-stopwatch/appitem.md @@ -1,12 +1,17 @@ --- title: 'Speed Climbing Stopwatch' -media_order: 'Banner.png,GooglePlay.png' +media_order: Banner.png menu: 'Speed Climbing Stopwatch' routes: aliases: - /index.php/apps/speed-climbing-stopwatch-app hero_classes: 'overlay-dark text-light hero-tiny' hero_image: Banner.png +links: + googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.speedclimbing_stopwatch' + appstore: 'https://apps.apple.com/de/app/speed-climbing-stopwatch/id1527590772' + opensource: 'https://itsblue.dev/scstw/app' +privacyPolicy: 'While you are using the Speed Climbing Stopwatch app, Itsblue Development does not collect any of your personal data.' --- The speed climbing stopwatch app is a simple and lightweight stopwatch app that plays the official IFSC start signal before beginning to stop the time. @@ -15,12 +20,3 @@ The speed climbing stopwatch app is a simple and lightweight stopwatch app that It makes your training as easy as possible since you don't need a separate device to play the start sound anymore. It can also be used to control the speed climbing stopwatch base station ([more information](/scstw)) - -[![Get it on Google Play](GooglePlay.png)](https://play.google.com/store/apps/details?id=com.itsblue.speedclimbing_stopwatch&noprocess) - -This app is open source! -[https://git.itsblue.de/speedclimbing_stopwatch/speedclimbing_stopwatch](https://git.itsblue.de/speedclimbing_stopwatch/speedclimbing_stopwatch) - -## Privacy Policy - -While you are using the Speed Climbing Stopwatch app, Itsblue Development does not collect any of your personal data. diff --git a/pages/03.apps/03.speed-climbing-reaction-trainer/GooglePlay.png b/pages/03.apps/03.speed-climbing-reaction-trainer/GooglePlay.png deleted file mode 100755 index 36036d8..0000000 Binary files a/pages/03.apps/03.speed-climbing-reaction-trainer/GooglePlay.png and /dev/null differ diff --git a/pages/03.apps/03.speed-climbing-reaction-trainer/appitem.md b/pages/03.apps/03.speed-climbing-reaction-trainer/appitem.md new file mode 100755 index 0000000..c0d1753 --- /dev/null +++ b/pages/03.apps/03.speed-climbing-reaction-trainer/appitem.md @@ -0,0 +1,20 @@ +--- +title: 'Speed Climbing Reaction Trainer' +media_order: 'Banner1.png,GooglePlay.png' +menu: ' Speed Climbing Reaction Trainer ' +routes: + aliases: + - /index.php/apps/speed-climbing-stopwatch-reaction-trainer +hero_classes: 'overlay-dark text-light hero-tiny' +hero_image: Banner1.png +links: + googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.SpeedClimbingReactionTrainer' + appstore: 'https://apps.apple.com/de/app/speed-climbing-reactiontrainer/id1527603031' + opensource: 'https://itsblue.dev/ScStw/reaction-trainer' +privacyPolicy: 'While you are using the Speed Climbing Reaction Trainer app, Itsblue Development does not collect any of your personal data.' +--- + +The Speed Climbing Reaction Trainer is an app to train your reaction time to the IFSC speed climbing start signal. + +=== + diff --git a/pages/03.apps/03.speed-climbing-reaction-trainer/item.md b/pages/03.apps/03.speed-climbing-reaction-trainer/item.md deleted file mode 100755 index b5f4713..0000000 --- a/pages/03.apps/03.speed-climbing-reaction-trainer/item.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: 'Speed Climbing Reaction Trainer' -media_order: 'Banner1.png,GooglePlay.png' -menu: ' Speed Climbing Reaction Trainer ' -routes: - aliases: - - /index.php/apps/speed-climbing-stopwatch-reaction-trainer -hero_classes: 'overlay-dark text-light hero-tiny' -hero_image: Banner1.png ---- - -The Speed Climbing Reaction Trainer is an app to train your reaction time to the IFSC speed climbing start signal. - -=== - -[![Get it on Google Play](GooglePlay.png)](https://play.google.com/store/apps/details?id=com.itsblue.SpeedClimbingReactionTrainer&noprocess) - -This app is open-source! -[https://git.itsblue.de/dorian/speed-climbing-reaction-timer.git](https://git.itsblue.de/dorian/speed-climbing-reaction-timer.git) - -## Privacy Policy - -While you are using the Speed Climbing Reaction Trainer app, Itsblue Development does not collect any of your personal data. diff --git a/pages/03.apps/04.fannyapp/AppStore.png b/pages/03.apps/04.fannyapp/AppStore.png old mode 100644 new mode 100755 diff --git a/pages/03.apps/04.fannyapp/appitem.md b/pages/03.apps/04.fannyapp/appitem.md new file mode 100755 index 0000000..1769b06 --- /dev/null +++ b/pages/03.apps/04.fannyapp/appitem.md @@ -0,0 +1,17 @@ +--- +title: Fannyapp +media_order: 'Banner.png,GooglePlay.png,AppStore.png' +hero_classes: 'overlay-dark text-light hero-tiny' +hero_image: Banner.png +links: + googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.flgvertretung' + appstore: 'https://apps.apple.com/de/app/fannyapp/id1495583845' + opensource: 'https://git.itsblue.de/dorian/fanny-app' +--- + +The Fannyapp is an app designed for a school in Stuttgart (Germany). + +=== + +Find out more over here: +[http://www.fanny-leicht.de/j34/index.php/aktuelles/fanny-app](http://www.fanny-leicht.de/j34/index.php/aktuelles/fanny-app) \ No newline at end of file diff --git a/pages/03.apps/04.fannyapp/item.md b/pages/03.apps/04.fannyapp/item.md deleted file mode 100644 index 6782b7d..0000000 --- a/pages/03.apps/04.fannyapp/item.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Fannyapp -media_order: 'Banner.png,GooglePlay.png,AppStore.png' -hero_classes: 'overlay-dark text-light hero-tiny' -hero_image: Banner.png ---- - -The Fannyapp is an app designed for a school in Stuttgart (Germany). - -=== - -Find out more over here: -[http://www.fanny-leicht.de/j34/index.php/aktuelles/fanny-app](http://www.fanny-leicht.de/j34/index.php/aktuelles/fanny-app) - -[![Get it on Google Play](GooglePlay.png)](https://play.google.com/store/apps/details?id=com.itsblue.flgvertretung&noprocess) -[![Download on the App Store](AppStore.png)](https://apps.apple.com/de/app/fannyapp/id1495583845?app=itunes&ign-mpt=uo%3D4) - -This app is open source! -[https://git.itsblue.de/dorian/fanny-app](https://git.itsblue.de/dorian/fanny-app) diff --git a/pages/03.apps/01.bluerock/AppStore.png b/themes/itsblue/assets/AppStore.png old mode 100644 new mode 100755 similarity index 100% rename from pages/03.apps/01.bluerock/AppStore.png rename to themes/itsblue/assets/AppStore.png diff --git a/pages/03.apps/01.bluerock/GooglePlay.png b/themes/itsblue/assets/GooglePlay.png similarity index 100% rename from pages/03.apps/01.bluerock/GooglePlay.png rename to themes/itsblue/assets/GooglePlay.png diff --git a/themes/itsblue/blueprints/appitem.yaml b/themes/itsblue/blueprints/appitem.yaml new file mode 100755 index 0000000..489680e --- /dev/null +++ b/themes/itsblue/blueprints/appitem.yaml @@ -0,0 +1,156 @@ +extends@: default + +form: + fields: + tabs: + + fields: + blog: + type: tab + title: Blog Appitem + + fields: + + + links: + type: section + title: Links + underline: true + + header.links.googleplay: + type: text + toggleable: true + label: URL for GooglePlay + size: x-large + + header.links.appstore: + type: text + toggleable: true + label: URL for AppStore + size: x-large + + header.links.opensource: + type: text + toggleable: true + label: URL for project repository + size: x-large + + + privacy-policy: + type: section + title: Privacy policy + underline: true + + header.privacyPolicy: + type: editor + autofocus: true + codemirror: + mode: 'md' + indentUnit: 4 + autofocus: true + indentWithTabs: false + lineNumbers: true + styleActiveLine: true + gutters: ['CodeMirror-lint-markers'] + lint: true + + header_options: + type: section + title: Header Options + underline: true + + header.continue_link: + type: toggle + toggleable: true + label: DF Style Link + help: Daring Fireball style title link + highlight: 1 + options: + 1: PLUGIN_ADMIN.ENABLED + 0: PLUGIN_ADMIN.DISABLED + validate: + type: bool + + header.header_image: + type: toggle + toggleable: true + label: Display Header Image + help: Enabled displaying of a header image + highlight: 1 + options: + 1: PLUGIN_ADMIN.ENABLED + 0: PLUGIN_ADMIN.DISABLED + + header.header_image_file: + type: text + toggleable: true + label: Image File + help: image filename that exists in the page folder. If not provided, will use the first image found. + placeholder: "For example: myimage.jpg" + + header.header_image_width: + type: text + toggleable: true + label: Image Width + size: small + help: Header width in px + placeholder: Default is 900 + validate: + type: int + min: 0 + max: 5000 + + header.header_image_height: + type: text + toggleable: true + label: Image Height + size: small + help: Header height in px + placeholder: Default is 300 + validate: + type: int + min: 0 + max: 5000 + + summary: + type: section + title: Summary + underline: true + + header.summary.enabled: + type: toggle + toggleable: true + label: Summary + highlight: 1 + options: + 1: PLUGIN_ADMIN.ENABLED + 0: PLUGIN_ADMIN.DISABLED + + header.summary.format: + type: select + toggleable: true + label: Format + classes: fancy + options: + 'short': 'Use the first occurence of delimiter or size' + 'long': 'Summary delimiter will be ignored' + + header.summary.size: + type: text + toggleable: true + label: Size + classes: large + placeholder: 300 + validate: + type: int + min: 1 + + header.summary.delimiter: + type: text + toggleable: true + label: Summary delimiter + classes: large + placeholder: === + + import@: + type: partials/blog-bits diff --git a/themes/itsblue/templates/appitem.html.twig b/themes/itsblue/templates/appitem.html.twig new file mode 100755 index 0000000..25868b9 --- /dev/null +++ b/themes/itsblue/templates/appitem.html.twig @@ -0,0 +1,41 @@ +{% extends 'partials/base.html.twig' %} +{% set blog = page.find(header_var('blog_url')|defined(theme_var('blog-page'))) %} +{% set show_breadcrumbs = header_var('show_breadcrumbs', [page, blog])|defined(true) %} +{% set show_sidebar = header_var('show_sidebar', [page, blog])|defined(true) %} +{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %} +{% set hero_image_name = page.header.hero_image %} + +{% block hero %} + {% if hero_image_name %} + {% set hero_image = page.media[hero_image_name] %} + {% set content %} +

{{ page.title }}

+

{{ page.header.subtitle }}

+ {% include 'partials/blog/date.html.twig' %} + {% include 'partials/blog/taxonomy.html.twig' %} + {% endset %} + {% include 'partials/hero.html.twig' with {id: 'blog-hero'} %} + + {% endif %} +{% endblock %} + +{% block body %} +
+
+ + {% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %} + {% include 'partials/breadcrumbs.html.twig' %} + {% endif %} + + {% embed 'partials/layout.html.twig' %} + {% block item %} + {% include 'partials/blog-appitem.html.twig' %} + {% endblock %} + {% block sidebar %} + {% include 'partials/sidebar.html.twig' %} + {% endblock %} + {% endembed %} + +
+
+{% endblock %} diff --git a/themes/itsblue/templates/partials/blog-appitem.html.twig b/themes/itsblue/templates/partials/blog-appitem.html.twig new file mode 100755 index 0000000..7c94975 --- /dev/null +++ b/themes/itsblue/templates/partials/blog-appitem.html.twig @@ -0,0 +1,55 @@ +
+ +{% if not hero_image_name %} +
+ {% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %} + {% if page.header.subtitle %} +

{{ page.header.subtitle }}

+ {% endif %} + {% include 'partials/blog/date.html.twig' %} + {% include 'partials/blog/taxonomy.html.twig' %} +
+{% endif %} +
+ {{ page.content|raw }} + + {% if page.header.links.googleplay or page.header.links.appstore or page.header.links.opensource %} +

Downloads

+ {% if page.header.links.googleplay %} + Get it on Google Play
+ {% endif %} + {% if page.header.links.appstore %} + Download on the App Store + {% endif %} + + {% if page.header.links.opensource %} +

+

+ This app is open-source! +
+ {{ page.header.links.opensource }} +

+ {% endif %} + {% endif %} + + {% if page.header.privacyPolicy %} +

Privacy Policy

+ {{ page.header.privacyPolicy }} + {% endif %} + +
+ + {% if page.header.continue_link is same as(true) and config.plugins.comments.enabled %} + {% include 'partials/comments.html.twig' %} + {% endif %} +
+ +

+ {% if not page.isLast %} + {{ 'previous app'|t }} + {% endif %} + + {% if not page.isFirst %} + {{ 'next app'|t }} + {% endif %} +