18
create_icons.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
INPUT=$1
|
||||||
|
SIZES="57 60 72 76 114 120 144 152 180"
|
||||||
|
|
||||||
|
for SIZE in $SIZES
|
||||||
|
do
|
||||||
|
convert ${INPUT} -resize ${SIZE}x${SIZE} static/icons/apple-touch-icon-${SIZE}.png
|
||||||
|
done
|
||||||
|
|
||||||
|
convert ${INPUT} -resize 192x192 static/icons//android-icon-192x192.png
|
||||||
|
|
||||||
|
SIZES="16 32 96"
|
||||||
|
for SIZE in $SIZES
|
||||||
|
do
|
||||||
|
convert ${INPUT} -resize ${SIZE}x${SIZE} static/icons//favicon-${SIZE}.png
|
||||||
|
done
|
||||||
|
|
BIN
static/icons/android-icon-192x192.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
static/icons/apple-touch-icon-114.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
static/icons/apple-touch-icon-120.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
static/icons/apple-touch-icon-144.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
static/icons/apple-touch-icon-152.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
static/icons/apple-touch-icon-180.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
static/icons/apple-touch-icon-57.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
static/icons/apple-touch-icon-60.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
static/icons/apple-touch-icon-72.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
static/icons/apple-touch-icon-76.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
static/icons/favicon-16.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
static/icons/favicon-32.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
static/icons/favicon-96.png
Normal file
After Width: | Height: | Size: 16 KiB |
@ -1,41 +1,32 @@
|
|||||||
<!doctype html>
|
{% extends "layout.jinja2.html" %}
|
||||||
<html lang="de">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<title>Retrotool</title>
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet"
|
|
||||||
integrity="sha384-LN+7fdVzj6u52u30Kp6M/trliBMCMKTyK833zpbD+pXdCLuTusPj697FH4R/5mcr" crossorigin="anonymous">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
{% block title %}Retrotool{% endblock %}
|
||||||
<div class="container text-center">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col">
|
{% block content %}
|
||||||
<h1>Willkommen beim Retrotool!</h1>
|
<div class="container text-center">
|
||||||
Starte eine <a id="starter" href="{{ url_for('createRetro') }}">neue Retro</a> mit <input id="duration" min="1" max="60"
|
<div class="row">
|
||||||
type="number" size="3" value="10"> Minuten Zeit zur Eingabe der Punkte unter dem Titel <input id="title" type="text" value="unsere kleine Retro">.
|
<div class="col">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js"
|
<h1>
|
||||||
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
|
Willkommen beim <img src="/static/icons/apple-touch-icon-120.png" alt="Retrotool"/>!
|
||||||
crossorigin="anonymous"></script>
|
</h1>
|
||||||
</div>
|
Starte eine <a id="starter" href="{{ url_for('createRetro') }}">neue Retro</a> mit <input id="duration" min="1" max="60" type="number" size="3" value="10"> Minuten Zeit zur Eingabe der Punkte unter dem Titel <input id="title" type="text" value="unsere kleine Retro">.
|
||||||
</div>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js" integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q" crossorigin="anonymous"></script>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="importmap">
|
</div>
|
||||||
{
|
<script type="importmap">
|
||||||
"imports": {
|
{
|
||||||
"socket.io-client": "https://cdn.socket.io/4.8.1/socket.io.esm.min.js",
|
"imports": {
|
||||||
"@popperjs/core": "https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/esm/popper.min.js",
|
"socket.io-client": "https://cdn.socket.io/4.8.1/socket.io.esm.min.js",
|
||||||
"bootstrap": "https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.esm.min.js"
|
"@popperjs/core": "https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/esm/popper.min.js",
|
||||||
|
"bootstrap": "https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.esm.min.js"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { init_starter } from "/static/retro.js";
|
import { init_starter } from "/static/retro.js";
|
||||||
init_starter("{{ url_for('createRetro') }}");
|
init_starter("{{ url_for('createRetro') }}");
|
||||||
</script>
|
</script>
|
||||||
|
{% endblock %}
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
31
templates/layout.jinja2.html
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="de">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>{% block title %}{% endblock %}</title>
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet"
|
||||||
|
integrity="sha384-LN+7fdVzj6u52u30Kp6M/trliBMCMKTyK833zpbD+pXdCLuTusPj697FH4R/5mcr" crossorigin="anonymous">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
|
||||||
|
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-57.png">
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-60.png">
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-72.png">
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-76.png">
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-114.png">
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-120.png">
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-144.png">
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-152.png">
|
||||||
|
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon-180.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="192x192" href="/static/icons/android-icon-192x192.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/static/icons/favicon-32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="96x96" href="/static/icons/favicon-96.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/static/icons/favicon-16.png">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -1,16 +1,8 @@
|
|||||||
<!doctype html>
|
{% extends "layout.jinja2.html" %}
|
||||||
<html lang="en" id="html" data-bs-theme="light">
|
|
||||||
|
|
||||||
<head>
|
{% block title %}Retrotool{% endblock %}
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<title>Retro Tool</title>
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet"
|
|
||||||
integrity="sha384-LN+7fdVzj6u52u30Kp6M/trliBMCMKTyK833zpbD+pXdCLuTusPj697FH4R/5mcr" crossorigin="anonymous">
|
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
{% block content %}
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js"
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js"
|
||||||
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
|
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
@ -247,6 +239,4 @@
|
|||||||
import { init_retro } from "/static/retro.js";
|
import { init_retro } from "/static/retro.js";
|
||||||
init_retro("{{ retro.extId }}", "{{ participant.extId }}");
|
init_retro("{{ retro.extId }}", "{{ participant.extId }}");
|
||||||
</script>
|
</script>
|
||||||
</body>
|
{% endblock %}
|
||||||
|
|
||||||
</html>
|
|