- unified app pages

- corrected typo in scstw starpads description
This commit is contained in:
Dorian Zedler 2020-10-03 21:14:32 +02:00
parent c6d31b762f
commit d90fcc85b2
Signed by: dorian
GPG Key ID: D3B255CB8BC7CD37
22 changed files with 320 additions and 83 deletions

3
.gitignore vendored Executable file
View File

@ -0,0 +1,3 @@
/accounts/
/data/
/plugins/

0
README.md Normal file → Executable file
View File

View File

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 124 KiB

6
pages/02.scstw/05._startpads/text.md Executable file → Normal file
View File

@ -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.
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.

View File

@ -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.<br>\r\n<br>\r\nHowever, digitalROCK (provider of rankings and resultservice) may collect personal data. <br>\r\nFurther information can be found in their privacy policy:<br>\r\n<a href=\"https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy\" target=\"blank\">https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy</a>"
header_image: '0'
---
blueROCK is an app to view climbing results from digitalrock.de comfortable on the go.
===

View File

@ -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)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -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.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -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.
===

View File

@ -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.

0
pages/03.apps/04.fannyapp/AppStore.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -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)

View File

@ -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)

View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -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

View File

@ -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 %}
<h1>{{ page.title }}</h1>
<h2>{{ page.header.subtitle }}</h2>
{% 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 %}
<section id="body-wrapper" class="section blog-listing">
<section class="container {{ grid_size }}">
{% 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 %}
</section>
</section>
{% endblock %}

View File

@ -0,0 +1,55 @@
<div class="content-item h-entry">
{% if not hero_image_name %}
<div class="content-title text-center">
{% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
{% if page.header.subtitle %}
<h3 >{{ page.header.subtitle }}</h3>
{% endif %}
{% include 'partials/blog/date.html.twig' %}
{% include 'partials/blog/taxonomy.html.twig' %}
</div>
{% endif %}
<div class="e-content">
{{ page.content|raw }}
{% if page.header.links.googleplay or page.header.links.appstore or page.header.links.opensource %}
<h2>Downloads</h2>
{% if page.header.links.googleplay %}
<a href="{{ page.header.links.googleplay }}" target="blank"><img alt="Get it on Google Play" src="/user/themes/itsblue/assets/GooglePlay.png"></a><br>
{% endif %}
{% if page.header.links.appstore %}
<a href="{{ page.header.links.appstore }}" target="blank"><img alt="Download on the App Store" src="/user/themes/itsblue/assets/AppStore.png"></a>
{% endif %}
{% if page.header.links.opensource %}
<br><br>
<p>
This app is open-source!
<br>
<a href="{{ page.header.links.opensource }}" target="blank">{{ page.header.links.opensource }}</a>
</p>
{% endif %}
{% endif %}
{% if page.header.privacyPolicy %}
<h2>Privacy Policy</h2>
{{ page.header.privacyPolicy }}
{% endif %}
</div>
{% if page.header.continue_link is same as(true) and config.plugins.comments.enabled %}
{% include 'partials/comments.html.twig' %}
{% endif %}
</div>
<p class="prev-next text-center">
{% if not page.isLast %}
<a class="btn" href="{{ page.prevSibling.url }}"><i class="fa fa-angle-left"></i> {{ 'previous app'|t }}</a>
{% endif %}
{% if not page.isFirst %}
<a class="btn" href="{{ page.nextSibling.url }}">{{ 'next app'|t }} <i class="fa fa-angle-right"></i></a>
{% endif %}
</p>