CronEdit...geht weiter..1
This commit is contained in:
parent
39556f7613
commit
f2ba00f34f
2 changed files with 116 additions and 49 deletions
|
|
@ -460,4 +460,25 @@ text-decoration: underline;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
.weekday-selector {
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
gap: 12px;
|
||||||
|
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.weekday-selector label {
|
||||||
|
|
||||||
|
font-weight: normal;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
gap: 4px;
|
||||||
}
|
}
|
||||||
|
|
@ -84,75 +84,121 @@
|
||||||
|
|
||||||
<div class="cards">
|
<div class="cards">
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
Kontostand aktualisieren
|
Kontostand aktualisieren
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
<form
|
||||||
|
action="/run/balance"
|
||||||
|
method="post">
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
balance.py ausführen
|
balance.py ausführen
|
||||||
</p>
|
</p>
|
||||||
<h3>Automatische Ausführung</h3>
|
|
||||||
|
|
||||||
<label>
|
<hr>
|
||||||
Minute:
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<input
|
<h3>
|
||||||
type="number"
|
Automatische Ausführung
|
||||||
min="0"
|
</h3>
|
||||||
max="59"
|
|
||||||
name="balance_minute"
|
|
||||||
value="7">
|
|
||||||
|
|
||||||
<br><br>
|
<div class="weekday-selector">
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
Intervall:
|
<input
|
||||||
</label>
|
type="checkbox"
|
||||||
|
{% if 1 in schedules.balance.days %}checked{% endif %}>
|
||||||
|
Mo
|
||||||
|
</label>
|
||||||
|
|
||||||
<input
|
<label>
|
||||||
type="number"
|
<input
|
||||||
min="1"
|
type="checkbox"
|
||||||
max="24"
|
{% if 2 in schedules.balance.days %}checked{% endif %}>
|
||||||
name="balance_interval"
|
Di
|
||||||
value="4">
|
</label>
|
||||||
|
|
||||||
Stunden
|
<label>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
{% if 3 in schedules.balance.days %}checked{% endif %}>
|
||||||
|
Mi
|
||||||
|
</label>
|
||||||
|
|
||||||
<br><br>
|
<label>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
{% if 4 in schedules.balance.days %}checked{% endif %}>
|
||||||
|
Do
|
||||||
|
</label>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
Tage:
|
<input
|
||||||
</label>
|
type="checkbox"
|
||||||
|
{% if 5 in schedules.balance.days %}checked{% endif %}>
|
||||||
|
Fr
|
||||||
|
</label>
|
||||||
|
|
||||||
<br>
|
<label>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
{% if 6 in schedules.balance.days %}checked{% endif %}>
|
||||||
|
Sa
|
||||||
|
</label>
|
||||||
|
|
||||||
<input type="checkbox" checked> Mo
|
<label>
|
||||||
<input type="checkbox" checked> Di
|
<input
|
||||||
<input type="checkbox" checked> Mi
|
type="checkbox"
|
||||||
<input type="checkbox" checked> Do
|
{% if 0 in schedules.balance.days %}checked{% endif %}>
|
||||||
<input type="checkbox" checked> Fr
|
So
|
||||||
<input type="checkbox" checked> Sa
|
</label>
|
||||||
<input type="checkbox"> So
|
|
||||||
|
|
||||||
<br><br>
|
</div>
|
||||||
|
|
||||||
<button type="submit">
|
<br>
|
||||||
Speichern
|
|
||||||
</button>
|
|
||||||
<form
|
|
||||||
action="/run/balance"
|
|
||||||
method="post">
|
|
||||||
|
|
||||||
<button type="submit">
|
<label>
|
||||||
Starten
|
Minute:
|
||||||
</button>
|
</label>
|
||||||
|
|
||||||
</form>
|
<input
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
|
max="59"
|
||||||
|
value="{{ schedules.balance.minute }}">
|
||||||
|
|
||||||
</div>
|
<br><br>
|
||||||
|
|
||||||
|
<label>
|
||||||
|
Intervall:
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="number"
|
||||||
|
min="1"
|
||||||
|
max="24"
|
||||||
|
value="{{ schedules.balance.interval }}">
|
||||||
|
|
||||||
|
Stunden
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<small>
|
||||||
|
Aktuell:
|
||||||
|
{{ schedules.balance.cron }}
|
||||||
|
</small>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<button type="submit">
|
||||||
|
Starten
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue