3 Commits

3 changed files with 11 additions and 9 deletions

View File

@@ -472,15 +472,15 @@ Damit ist die App für Menschen mit unterschiedlichen Einschränkungen (z.B. Seh
### Code Statistik ### Code Statistik
cloc|github.com/AlDanial/cloc v 2.06 T=0.08 s (301.6 files/s, 72354.1 lines/s) cloc|github.com/AlDanial/cloc v 2.06 T=0.17 s (146.7 files/s, 35235.5 lines/s)
--- | --- --- | ---
Language|files|blank|comment|code Language|files|blank|comment|code
:-------|-------:|-------:|-------:|-------: :-------|-------:|-------:|-------:|-------:
HTML|8|47|6|2086 HTML|8|48|6|2092
Python|2|59|68|690 Python|2|59|68|690
JavaScript|2|95|87|571 JavaScript|2|95|87|571
Markdown|3|176|0|492 Markdown|3|176|0|493
PO File|2|234|240|492 PO File|2|234|240|492
JSON|3|0|0|243 JSON|3|0|0|243
CSS|1|186|3|188 CSS|1|186|3|188
@@ -488,7 +488,7 @@ SVG|2|0|0|14
Dockerfile|1|5|6|8 Dockerfile|1|5|6|8
DOS Batch|1|0|0|1 DOS Batch|1|0|0|1
--------|--------|--------|--------|-------- --------|--------|--------|--------|--------
SUM:|25|802|410|4785 SUM:|25|803|410|4792
## Lizenz ## Lizenz

2
app.py
View File

@@ -20,7 +20,7 @@ app.config['BABEL_TRANSLATION_DIRECTORIES'] = 'translations'
babel = Babel() babel = Babel()
# Version der App # Version der App
APP_VERSION = "1.4.3" APP_VERSION = "1.4.6"
# HTML-Template wird jetzt aus templates/index.html geladen # HTML-Template wird jetzt aus templates/index.html geladen

View File

@@ -72,7 +72,7 @@ body {
} }
.help-button-container { .help-button-container {
position: absolute; position: absolute;
top: 1.5em; top: 1em;
right: 2em; right: 2em;
z-index: 10; z-index: 10;
} }
@@ -473,9 +473,11 @@ button:focus, .accordion-header:focus {
max-width: none; max-width: none;
overflow: hidden; overflow: hidden;
} }
.header-section {
margin-top: 4.5em; /* Mehr Abstand für Sprachauswahl und Hilfe-Button */
}
h1 { h1 {
font-size: 1.3em; font-size: 1.3em;
margin-top: 3.5em; /* Abstand für Sprachauswahl */
} }
.help-button-container { .help-button-container {
top: 1em; top: 1em;
@@ -519,7 +521,7 @@ button:focus, .accordion-header:focus {
/* Sprachauswahl */ /* Sprachauswahl */
.language-selector { .language-selector {
position: absolute; position: absolute;
top: 1.5em; top: 1em;
left: 2em; left: 2em;
z-index: 10; z-index: 10;
} }
@@ -797,7 +799,7 @@ footer br + a {
<option value="en" {% if get_locale() == 'en' %}selected{% endif %}>{{ _('English') }}</option> <option value="en" {% if get_locale() == 'en' %}selected{% endif %}>{{ _('English') }}</option>
</select> </select>
</div> </div>
<div style="text-align:center; margin-bottom:1.2em;"> <div class="header-section" style="text-align:center; margin-bottom:1.2em;">
<div style="font-size:1.1em; font-style:italic; color:#475569;">{{ _('Elpatrons') }}</div> <div style="font-size:1.1em; font-style:italic; color:#475569;">{{ _('Elpatrons') }}</div>
<h1 style="margin:0;">{{ _('Datumsrechner') }}</h1> <h1 style="margin:0;">{{ _('Datumsrechner') }}</h1>
<div style="font-size:0.9em; color:#1e293b; margin-top:0.3em;"> <div style="font-size:0.9em; color:#1e293b; margin-top:0.3em;">