fix: aggiunta nota ticket unito. feat: possiblità di visualizzare ticket in schede. feat: possibilità di creare un nuovo gruppo dall'interfaccia del ticket.
This commit is contained in:
+47
-43
@@ -123,54 +123,58 @@
|
||||
<!-- Main Content -->
|
||||
<main class="main-content" id="main-content">
|
||||
<!-- Top Bar -->
|
||||
<header class="topbar" id="topbar">
|
||||
<div class="topbar-left" style="display:flex; align-items:center; gap:var(--space-md);">
|
||||
<h1 class="page-title" id="page-title">Dashboard</h1>
|
||||
<div style="display:flex; align-items:center; gap:var(--space-xs);">
|
||||
<select class="form-select" id="active-agent-select"
|
||||
style="padding: 6px 32px 6px 12px; font-size: 0.85rem; height: 36px; min-width: 180px; margin: 0; background-position: right 10px center; border-color: var(--border-light);"></select>
|
||||
<button class="btn btn-ghost btn-sm" id="refresh-lookups-btn"
|
||||
style="height:36px; padding:0 10px; min-width:36px;" title="Aggiorna dati locali (code, utenti)">
|
||||
<header class="topbar" id="topbar" style="height: auto; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;">
|
||||
<div class="topbar-main" style="display: flex; align-items: center; justify-content: space-between; width: 100%; height: var(--topbar-height); padding: 0 var(--space-xl);">
|
||||
<div class="topbar-left" style="display:flex; align-items:center; gap:var(--space-md);">
|
||||
<h1 class="page-title" id="page-title">Dashboard</h1>
|
||||
<div style="display:flex; align-items:center; gap:var(--space-xs);">
|
||||
<select class="form-select" id="active-agent-select"
|
||||
style="padding: 6px 32px 6px 12px; font-size: 0.85rem; height: 36px; min-width: 180px; margin: 0; background-position: right 10px center; border-color: var(--border-light);"></select>
|
||||
<button class="btn btn-ghost btn-sm" id="refresh-lookups-btn"
|
||||
style="height:36px; padding:0 10px; min-width:36px;" title="Aggiorna dati locali (code, utenti)">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;">
|
||||
<path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67" />
|
||||
</svg>
|
||||
</button>
|
||||
<select class="form-select" id="theme-select"
|
||||
style="padding: 6px 32px 6px 12px; font-size: 0.85rem; height: 36px; min-width: 130px; margin: 0; background-position: right 10px center; border-color: var(--border-light);">
|
||||
<option value="light">Tema Chiaro</option>
|
||||
<option value="dark">Tema Scuro</option>
|
||||
<option value="rosso">Rosso</option>
|
||||
<option value="naturale">Naturale</option>
|
||||
<option value="ice">Ice</option>
|
||||
<option value="autunno">Autunno</option>
|
||||
<option value="fairytale">Fairytale</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="topbar-right">
|
||||
<div class="search-bar" id="global-search-container">
|
||||
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<circle cx="11" cy="11" r="8" />
|
||||
<path d="M21 21l-4.35-4.35" />
|
||||
</svg>
|
||||
<input type="text" class="search-input" id="global-search"
|
||||
placeholder="Cerca ticket (numero, titolo o corpo)..." style="padding-right: 32px;" />
|
||||
<button id="global-search-clear"
|
||||
style="position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 4px; cursor: pointer; color: var(--text-muted); display: none; align-items: center; justify-content: center;"
|
||||
title="Cancella ricerca">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
||||
style="width:14px;height:14px;display:block;">
|
||||
<path d="M18 6L6 18M6 6l12 12" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<button class="btn btn-primary btn-sm" id="topbar-new-ticket" onclick="window.location.hash='#/tickets/new'">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;">
|
||||
<path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67" />
|
||||
</svg>
|
||||
</button>
|
||||
<select class="form-select" id="theme-select"
|
||||
style="padding: 6px 32px 6px 12px; font-size: 0.85rem; height: 36px; min-width: 130px; margin: 0; background-position: right 10px center; border-color: var(--border-light);">
|
||||
<option value="light">Tema Chiaro</option>
|
||||
<option value="dark">Tema Scuro</option>
|
||||
<option value="rosso">Rosso</option>
|
||||
<option value="naturale">Naturale</option>
|
||||
<option value="ice">Ice</option>
|
||||
<option value="autunno">Autunno</option>
|
||||
<option value="fairytale">Fairytale</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="topbar-right">
|
||||
<div class="search-bar" id="global-search-container">
|
||||
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<circle cx="11" cy="11" r="8" />
|
||||
<path d="M21 21l-4.35-4.35" />
|
||||
</svg>
|
||||
<input type="text" class="search-input" id="global-search"
|
||||
placeholder="Cerca ticket (numero, titolo o corpo)..." style="padding-right: 32px;" />
|
||||
<button id="global-search-clear"
|
||||
style="position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 4px; cursor: pointer; color: var(--text-muted); display: none; align-items: center; justify-content: center;"
|
||||
title="Cancella ricerca">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
||||
style="width:14px;height:14px;display:block;">
|
||||
<path d="M18 6L6 18M6 6l12 12" />
|
||||
<path d="M12 5v14M5 12h14" />
|
||||
</svg>
|
||||
Nuovo
|
||||
</button>
|
||||
</div>
|
||||
<button class="btn btn-primary btn-sm" id="topbar-new-ticket" onclick="window.location.hash='#/tickets/new'">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;">
|
||||
<path d="M12 5v14M5 12h14" />
|
||||
</svg>
|
||||
Nuovo
|
||||
</button>
|
||||
</div>
|
||||
<!-- Tabs Bar -->
|
||||
<div id="tabs-bar" class="tabs-bar" style="display:none; border-top: 1px solid var(--border-subtle);"></div>
|
||||
</header>
|
||||
|
||||
<!-- View Container -->
|
||||
|
||||
Reference in New Issue
Block a user