CronEdit...geht weiter..1
This commit is contained in:
parent
39556f7613
commit
f2ba00f34f
2 changed files with 116 additions and 49 deletions
|
|
@ -461,3 +461,24 @@ text-decoration: underline;
|
|||
padding-top: 15px;
|
||||
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;
|
||||
}
|
||||
|
|
@ -90,69 +90,115 @@
|
|||
Kontostand aktualisieren
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
balance.py ausführen
|
||||
</p>
|
||||
<h3>Automatische Ausführung</h3>
|
||||
|
||||
<label>
|
||||
Minute:
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="number"
|
||||
min="0"
|
||||
max="59"
|
||||
name="balance_minute"
|
||||
value="7">
|
||||
|
||||
<br><br>
|
||||
|
||||
<label>
|
||||
Intervall:
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="number"
|
||||
min="1"
|
||||
max="24"
|
||||
name="balance_interval"
|
||||
value="4">
|
||||
|
||||
Stunden
|
||||
|
||||
<br><br>
|
||||
|
||||
<label>
|
||||
Tage:
|
||||
</label>
|
||||
|
||||
<br>
|
||||
|
||||
<input type="checkbox" checked> Mo
|
||||
<input type="checkbox" checked> Di
|
||||
<input type="checkbox" checked> Mi
|
||||
<input type="checkbox" checked> Do
|
||||
<input type="checkbox" checked> Fr
|
||||
<input type="checkbox" checked> Sa
|
||||
<input type="checkbox"> So
|
||||
|
||||
<br><br>
|
||||
|
||||
<button type="submit">
|
||||
Speichern
|
||||
</button>
|
||||
<form
|
||||
action="/run/balance"
|
||||
method="post">
|
||||
|
||||
<p>
|
||||
balance.py ausführen
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h3>
|
||||
Automatische Ausführung
|
||||
</h3>
|
||||
|
||||
<div class="weekday-selector">
|
||||
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
{% if 1 in schedules.balance.days %}checked{% endif %}>
|
||||
Mo
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
{% if 2 in schedules.balance.days %}checked{% endif %}>
|
||||
Di
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
{% if 3 in schedules.balance.days %}checked{% endif %}>
|
||||
Mi
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
{% if 4 in schedules.balance.days %}checked{% endif %}>
|
||||
Do
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
{% if 5 in schedules.balance.days %}checked{% endif %}>
|
||||
Fr
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
{% if 6 in schedules.balance.days %}checked{% endif %}>
|
||||
Sa
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
{% if 0 in schedules.balance.days %}checked{% endif %}>
|
||||
So
|
||||
</label>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<label>
|
||||
Minute:
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="number"
|
||||
min="0"
|
||||
max="59"
|
||||
value="{{ schedules.balance.minute }}">
|
||||
|
||||
<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>
|
||||
|
||||
<div class="card">
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue