Auslastungsberechung angepasst

This commit is contained in:
erik committed 2026-08-13 14:39:07 +02:00
1 parent eb71a9160f
commit eeb2e63f89
12 files changed
+646 -297

No files matched your search

+55 -10
View File
@@ -106,7 +106,7 @@
<option value="current">Aktuelle Sitzung</option>
<option value="all">Alle Sitzungen (Historie)</option>
</select>
<span class="hint">Zählt Projektzuordnungen (Haupt=1 · Optional=0,5 · Kleine Projekte=0,3 · In Anbahnung wird nicht gezählt).</span>
<span class="hint">Auswertung über den rollenspezifischen Gewichtungsfaktor je Leistungsphase.</span>
</div>
<div class="load-grid" id="loadGrid"></div>
</div>
@@ -115,15 +115,7 @@
<div id="projects" style="display:none">
<div class="section-title">Projekte verwalten</div>
<div class="toolbar" style="margin-bottom:12px">
<input type="text" id="newProjNr" placeholder="Projekt-Nr. (z.B. 26-4001)">
<input type="text" id="newProjName" placeholder="Projektbezeichnung">
<select id="newProjGroup">
<option>Aktive Projekte</option>
<option>Kleine Projekte</option>
<option>In Anbahnung</option>
<option>Allgemein</option>
</select>
<button onclick="addProjectToList()">+ Projekt hinzufügen</button>
<button onclick="openNewProjModal()">+ Neues Projekt</button>
</div>
<div id="projectsList"></div>
</div>
@@ -162,6 +154,59 @@
</div>
</div>
<!-- Aufwand je Leistungsphase Modal -->
<div class="modal-bg" id="lpModal" style="display:none">
<div class="modal">
<h2>Aufwand je Leistungsphase</h2>
<p style="color:#888;margin-bottom:6px" id="lpModalProject"></p>
<p class="hint" style="margin-bottom:10px">
Rollenbezogene Gewichtungsfaktoren je Leistungsphase (Standard 1,0).
Die amtierende Leistungsphase wird pro Projekt im Tab „Projekte" gewählt.
</p>
<div id="lpModalRows"></div>
<div class="toolbar" style="margin-top:12px">
<button onclick="saveLpModal()">Speichern</button>
<button class="secondary" onclick="closeLpModal()">Abbrechen</button>
</div>
</div>
</div>
<!-- Neues Projekt Modal (inkl. LP-Aufwand) -->
<div class="modal-bg" id="newProjModal" style="display:none">
<div class="modal">
<h2>Neues Projekt</h2>
<div class="form-row">
<label>Projekt-Nr.</label>
<input type="text" id="newProjNr" placeholder="z. B. 26-4001" style="width:100%">
</div>
<div class="form-row">
<label>Bezeichnung</label>
<input type="text" id="newProjName" placeholder="Projektbezeichnung" style="width:100%">
</div>
<div class="form-row">
<label>Gruppe</label>
<select id="newProjGroup" style="width:100%">
<option>Aktive Projekte</option>
<option>Kleine Projekte</option>
<option>In Anbahnung</option>
<option>Allgemein</option>
</select>
</div>
<div class="form-row">
<label>Aktive Leistungsphase</label>
<select id="newProjActiveLP" style="width:100%"></select>
</div>
<p class="hint" style="margin:8px 0 10px">
Rollenbezogener Gewichtungsfaktor je Leistungsphase (Standard 1,0).
</p>
<div id="newProjLpRows"></div>
<div class="toolbar" style="margin-top:12px">
<button onclick="saveNewProj()">Anlegen</button>
<button class="secondary" onclick="closeNewProjModal()">Abbrechen</button>
</div>
</div>
</div>
<script src="main.v2.js"></script>
</body>
</html>