feat: aggiunti: loggica random, tema scuro, correzioni mail, miglioramenti generali, cache;
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
<!-- Date Navigation (Centered) -->
|
||||
<div style="display: flex; justify-content: center; margin-bottom: 2rem;">
|
||||
<div
|
||||
style="display: flex; align-items: center; gap: 0.5rem; background: white; padding: 0.5rem; border-radius: 8px; border: 1px solid var(--border);">
|
||||
style="display: flex; align-items: center; gap: 0.5rem; background: transparent; padding: 0.5rem; border-radius: 8px;">
|
||||
<button class="btn-icon" id="statusPrevDay"
|
||||
style="border: none; width: 32px; height: 32px;">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
||||
@@ -117,11 +117,11 @@
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<div style="position: relative; text-align: center; min-width: 200px;">
|
||||
<div style="position: relative; text-align: center; min-width: 250px; cursor: pointer;">
|
||||
<div id="statusDateDisplay"
|
||||
style="font-weight: 600; font-size: 1rem; text-transform: capitalize;"></div>
|
||||
style="font-weight: 600; font-size: 1.1rem; text-transform: capitalize; color: var(--text);"></div>
|
||||
<input type="date" id="statusDatePicker"
|
||||
style="position: absolute; inset: 0; opacity: 0; cursor: pointer;">
|
||||
style="position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%;">
|
||||
</div>
|
||||
|
||||
<button class="btn-icon" id="statusNextDay"
|
||||
@@ -139,7 +139,7 @@
|
||||
<div
|
||||
style="display: flex; align-items: center; justify-content: flex-start; gap: 1rem; margin-bottom: 1.5rem;">
|
||||
<div style="font-weight: 600; font-size: 1.1rem; color: var(--text);">
|
||||
Ufficio: <span id="currentOfficeDisplay" style="color: var(--primary);">...</span>
|
||||
Gruppo: <span id="currentOfficeDisplay" style="color: var(--primary);">...</span>
|
||||
</div>
|
||||
<span class="badge"
|
||||
style="background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; padding: 0.35rem 0.75rem; font-size: 0.85rem;">
|
||||
@@ -367,7 +367,30 @@
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Admin Manual Assign Spot Modal -->
|
||||
<div class="modal" id="adminAssignSpotModal" style="display: none;">
|
||||
<div class="modal-content modal-small">
|
||||
<div class="modal-header">
|
||||
<h3>Assegna Posto Manualmente</h3>
|
||||
<button class="modal-close" id="closeAdminAssignModal">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="adminAssignSpotInfo" style="margin-bottom: 1rem;"></p>
|
||||
<form id="adminAssignForm">
|
||||
<div class="form-group" style="margin-bottom: 1rem;">
|
||||
<label for="adminAssignUser">Seleziona Utente (Presente in Sede)</label>
|
||||
<select id="adminAssignUser" class="form-control" required style="width: 100%;">
|
||||
<option value="">Caricamento utenti...</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<button type="button" class="btn btn-secondary" id="cancelAdminAssign">Annulla</button>
|
||||
<button type="submit" class="btn btn-dark">Assegna</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/js/api.js"></script>
|
||||
<script src="/js/utils.js"></script>
|
||||
<script src="/js/nav.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user