Fortlaufende Zyklus-Planung und Periodenlogik einführen
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!doctype html>
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
@@ -24,7 +24,7 @@
|
||||
<main class="layout">
|
||||
<section class="card">
|
||||
<h2>Aktuelle Ingame-Zeit</h2>
|
||||
<p><strong>{{.CurrentMonth}} Tag {{.Settings.CurrentDay}}</strong> bei {{.Settings.DaysPerMonth}} Tagen pro Monat.</p>
|
||||
<p><strong>{{.CurrentMonth}} Tag {{.Settings.CurrentDay}}</strong> im Zyklus {{.Settings.CurrentCycle}} bei {{.Settings.DaysPerMonth}} Tagen pro Monat.</p>
|
||||
<p>{{.PlanningCount}} Plan-Einträge insgesamt.</p>
|
||||
<form method="post" action="/settings/time" class="grid">
|
||||
<label>Monat
|
||||
@@ -43,6 +43,9 @@
|
||||
<option value="12" {{if eq .Settings.CurrentMonth 12}}selected{{end}}>Dezember</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>Zyklus
|
||||
<input type="number" name="current_cycle" min="0" value="{{.Settings.CurrentCycle}}">
|
||||
</label>
|
||||
<label>Tag
|
||||
<input type="number" name="current_day" min="1" max="{{.Settings.DaysPerMonth}}" value="{{.Settings.CurrentDay}}">
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user