Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
4740288c45 | |||
512898b34b | |||
872d0f9e23 |
2
app.py
2
app.py
@@ -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
|
||||||
|
|
||||||
|
@@ -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;">
|
||||||
@@ -853,7 +855,7 @@ footer br + a {
|
|||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<button name="action" value="tage_werktage" type="submit">Berechnen</button>
|
<button name="action" value="tage_werktage" type="submit">{{ _('Berechnen') }}</button>
|
||||||
</form>
|
</form>
|
||||||
{% if tage is not none %}
|
{% if tage is not none %}
|
||||||
<div class="result" aria-live="polite">
|
<div class="result" aria-live="polite">
|
||||||
|
Reference in New Issue
Block a user