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,24 +1,18 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
{% extends "layout.jinja2.html" %}
|
||||
|
||||
<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 %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="container text-center">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1>Willkommen beim Retrotool!</h1>
|
||||
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">.
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
|
||||
crossorigin="anonymous"></script>
|
||||
<h1>
|
||||
Willkommen beim <img src="/static/icons/apple-touch-icon-120.png" alt="Retrotool"/>!
|
||||
</h1>
|
||||
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">.
|
||||
<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>
|
||||
@ -35,7 +29,4 @@
|
||||
import { init_starter } from "/static/retro.js";
|
||||
init_starter("{{ url_for('createRetro') }}");
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{% endblock %}
|
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>
|
||||
<html lang="en" id="html" data-bs-theme="light">
|
||||
{% extends "layout.jinja2.html" %}
|
||||
|
||||
<head>
|
||||
<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>
|
||||
{% block title %}Retrotool{% endblock %}
|
||||
|
||||
<body>
|
||||
{% block content %}
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
|
||||
crossorigin="anonymous"></script>
|
||||
@ -247,6 +239,4 @@
|
||||
import { init_retro } from "/static/retro.js";
|
||||
init_retro("{{ retro.extId }}", "{{ participant.extId }}");
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{% endblock %}
|