268 lines
12 KiB
PHP
Executable File
268 lines
12 KiB
PHP
Executable File
<style>
|
|
.hd-helpdesk-surface .hd-btn,
|
|
.hd-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: .5rem;
|
|
border-radius: .65rem;
|
|
padding: .46rem .78rem;
|
|
font-size: .8125rem;
|
|
line-height: 1.25rem;
|
|
font-weight: 800;
|
|
color: #ffffff !important;
|
|
text-decoration: none !important;
|
|
border: 1px solid rgba(255, 255, 255, .14);
|
|
box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
|
|
transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn:hover,
|
|
.hd-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-sm,
|
|
.hd-btn-sm {
|
|
border-radius: .55rem;
|
|
padding: .32rem .62rem;
|
|
font-size: .75rem;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-blue,
|
|
.hd-btn-blue {
|
|
background: #2563eb !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-blue:hover,
|
|
.hd-btn-blue:hover {
|
|
background: #1d4ed8 !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-green,
|
|
.hd-btn-green {
|
|
background: #16a34a !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-green:hover,
|
|
.hd-btn-green:hover {
|
|
background: #15803d !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-amber,
|
|
.hd-btn-amber {
|
|
background: #f59e0b !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-amber:hover,
|
|
.hd-btn-amber:hover {
|
|
background: #d97706 !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-red,
|
|
.hd-btn-red {
|
|
background: #dc2626 !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-red:hover,
|
|
.hd-btn-red:hover {
|
|
background: #b91c1c !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-violet,
|
|
.hd-btn-violet {
|
|
background: #7c3aed !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface .hd-btn-violet:hover,
|
|
.hd-btn-violet:hover {
|
|
background: #6d28d9 !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface button[type="submit"],
|
|
.hd-helpdesk-surface button[data-flux-button][type="submit"] {
|
|
background: #16a34a !important;
|
|
color: #ffffff !important;
|
|
border-color: rgba(255, 255, 255, .14) !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface button[wire\:click^="reset"],
|
|
.hd-helpdesk-surface button[wire\:target^="reset"] {
|
|
background: #f59e0b !important;
|
|
color: #ffffff !important;
|
|
border-color: rgba(255, 255, 255, .14) !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface button[wire\:click^="edit"],
|
|
.hd-helpdesk-surface button[wire\:target^="edit"] {
|
|
background: #2563eb !important;
|
|
color: #ffffff !important;
|
|
border-color: rgba(255, 255, 255, .14) !important;
|
|
}
|
|
|
|
.hd-helpdesk-surface button[wire\:click^="delete"],
|
|
.hd-helpdesk-surface button[wire\:target^="delete"] {
|
|
background: #dc2626 !important;
|
|
color: #ffffff !important;
|
|
border-color: rgba(255, 255, 255, .14) !important;
|
|
}
|
|
|
|
.hd-select {
|
|
width: 100%;
|
|
min-height: 3.35rem;
|
|
border-radius: 1rem;
|
|
border: 1px solid #3f3f46 !important;
|
|
background: #09090b !important;
|
|
color: #f4f4f5 !important;
|
|
padding: .78rem 3rem .78rem 1rem;
|
|
font-weight: 800;
|
|
outline: none;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 26px rgba(0, 0, 0, .24);
|
|
}
|
|
|
|
.hd-select:focus {
|
|
border-color: #60a5fa !important;
|
|
box-shadow: 0 0 0 3px rgba(96, 165, 250, .38), inset 0 1px 0 rgba(255, 255, 255, .05);
|
|
}
|
|
|
|
.helpdesk-ticket-form,
|
|
.helpdesk-ticket-form * {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.helpdesk-ticket-form input,
|
|
.helpdesk-ticket-form textarea,
|
|
.helpdesk-ticket-form select,
|
|
.helpdesk-ticket-form .select2-container--default .select2-selection--single,
|
|
.helpdesk-ticket-form .select2-container--default .select2-selection--multiple,
|
|
.helpdesk-ticket-form .select2-container--default .select2-selection__rendered,
|
|
.helpdesk-ticket-form .select2-container--default .select2-selection__choice {
|
|
background: #09090b !important;
|
|
background-color: #09090b !important;
|
|
color: #f4f4f5 !important;
|
|
border-color: #3f3f46 !important;
|
|
caret-color: #f4f4f5 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.helpdesk-ticket-form input:disabled,
|
|
.helpdesk-ticket-form textarea:disabled,
|
|
.helpdesk-ticket-form select:disabled,
|
|
.helpdesk-ticket-form .select2-container--disabled .select2-selection--single,
|
|
.helpdesk-ticket-form .select2-container--disabled .select2-selection--multiple,
|
|
.helpdesk-ticket-form [disabled],
|
|
.helpdesk-ticket-form [aria-disabled="true"] {
|
|
background: #09090b !important;
|
|
background-color: #09090b !important;
|
|
color: #a1a1aa !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.helpdesk-ticket-form input:-webkit-autofill,
|
|
.helpdesk-ticket-form input:-webkit-autofill:hover,
|
|
.helpdesk-ticket-form input:-webkit-autofill:focus,
|
|
.helpdesk-ticket-form textarea:-webkit-autofill,
|
|
.helpdesk-ticket-form textarea:-webkit-autofill:hover,
|
|
.helpdesk-ticket-form textarea:-webkit-autofill:focus,
|
|
.helpdesk-ticket-form select:-webkit-autofill,
|
|
.helpdesk-ticket-form select:-webkit-autofill:hover,
|
|
.helpdesk-ticket-form select:-webkit-autofill:focus {
|
|
-webkit-text-fill-color: #f4f4f5 !important;
|
|
box-shadow: 0 0 0 1000px #09090b inset !important;
|
|
transition: background-color 9999s ease-in-out 0s;
|
|
}
|
|
</style>
|
|
|
|
<div class="hd-helpdesk-surface space-y-5">
|
|
<div class="overflow-hidden rounded-2xl border border-blue-400/20 bg-slate-950 shadow-sm ring-1 ring-white/5">
|
|
<div class="relative overflow-hidden bg-[radial-gradient(circle_at_78%_18%,rgba(37,99,235,0.28),transparent_34%),linear-gradient(135deg,#020617_0%,#07112d_48%,#111827_100%)] px-5 py-5 text-white sm:px-6">
|
|
<div class="grid items-center gap-5 lg:grid-cols-[minmax(0,1fr)_minmax(26rem,34rem)]">
|
|
<div class="relative z-10 max-w-4xl">
|
|
<p class="text-[0.67rem] font-black uppercase tracking-[0.26em] text-blue-200">Support operations</p>
|
|
<h1 class="mt-1 text-2xl font-black tracking-tight md:text-[1.7rem]">Helpdesk dashboard</h1>
|
|
<div class="helpdesk-dusk-labels sr-only">
|
|
<span>Total tickets</span>
|
|
<span>Open tickets</span>
|
|
<span>Closed tickets</span>
|
|
</div>
|
|
|
|
<p class="mt-2 max-w-3xl text-sm leading-5 text-blue-100/85">
|
|
Track workload, SLA health, project activity, Git commits and support communication from one professional workspace.
|
|
</p>
|
|
<div class="mt-4 flex flex-wrap gap-2">
|
|
<a href="{{ route('helpdesk.tickets.create') }}" wire:navigate class="hd-btn hd-btn-sm hd-btn-green">
|
|
<i class="fa-solid fa-plus" aria-hidden="true"></i>
|
|
<span>New Ticket</span>
|
|
</a>
|
|
<a href="{{ route('helpdesk.tickets.index') }}" wire:navigate class="hd-btn hd-btn-sm hd-btn-blue">
|
|
<i class="fa-solid fa-ticket" aria-hidden="true"></i>
|
|
<span>Active tickets</span>
|
|
</a>
|
|
<a href="{{ route('helpdesk.kanban') }}" wire:navigate class="hd-btn hd-btn-sm hd-btn-amber">
|
|
<i class="fa-solid fa-table-columns" aria-hidden="true"></i>
|
|
<span>Kanban</span>
|
|
</a>
|
|
<a href="{{ route('helpdesk.settings') }}" wire:navigate class="hd-btn hd-btn-sm hd-btn-violet">
|
|
<i class="fa-solid fa-gear" aria-hidden="true"></i>
|
|
<span>Settings</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="relative hidden min-h-[8.5rem] lg:block" aria-hidden="true">
|
|
<div class="absolute inset-0 rounded-2xl bg-[radial-gradient(circle_at_30%_20%,rgba(59,130,246,0.22),transparent_36%),radial-gradient(circle_at_88%_76%,rgba(16,185,129,0.16),transparent_30%)]"></div>
|
|
<div class="relative h-full rounded-2xl border border-blue-300/15 bg-slate-950/70 p-4 shadow-2xl shadow-blue-950/30 backdrop-blur-sm">
|
|
<div class="flex items-start justify-between gap-4 border-b border-white/10 pb-3">
|
|
<div>
|
|
<p class="text-[0.62rem] font-black uppercase tracking-[0.24em] text-blue-200">Support workflow</p>
|
|
<p class="mt-0.5 text-[0.72rem] text-slate-400">Tickets, replies, files, commits and SLA</p>
|
|
</div>
|
|
<div class="flex shrink-0 gap-1.5 pt-1">
|
|
<span class="h-2 w-2 rounded-full bg-emerald-400 shadow-[0_0_12px_rgba(52,211,153,0.8)]"></span>
|
|
<span class="h-2 w-2 rounded-full bg-amber-400 shadow-[0_0_12px_rgba(251,191,36,0.8)]"></span>
|
|
<span class="h-2 w-2 rounded-full bg-rose-400 shadow-[0_0_12px_rgba(251,113,133,0.8)]"></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mt-3 grid grid-cols-4 items-stretch gap-2">
|
|
<div class="rounded-xl border border-blue-400/25 bg-blue-500/10 px-2 py-2 text-center">
|
|
<i class="fa-solid fa-ticket text-sm text-blue-300"></i>
|
|
<p class="mt-1 text-[0.58rem] font-black uppercase tracking-wide text-white">New</p>
|
|
</div>
|
|
<div class="rounded-xl border border-amber-400/25 bg-amber-500/10 px-2 py-2 text-center">
|
|
<i class="fa-solid fa-user-gear text-sm text-amber-300"></i>
|
|
<p class="mt-1 text-[0.58rem] font-black uppercase tracking-wide text-white">Assigned</p>
|
|
</div>
|
|
<div class="rounded-xl border border-violet-400/25 bg-violet-500/10 px-2 py-2 text-center">
|
|
<i class="fa-solid fa-comments text-sm text-violet-300"></i>
|
|
<p class="mt-1 text-[0.58rem] font-black uppercase tracking-wide text-white">Response</p>
|
|
</div>
|
|
<div class="rounded-xl border border-emerald-400/25 bg-emerald-500/10 px-2 py-2 text-center">
|
|
<i class="fa-solid fa-circle-check text-sm text-emerald-300"></i>
|
|
<p class="mt-1 text-[0.58rem] font-black uppercase tracking-wide text-white">Resolved</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mt-2 grid grid-cols-3 gap-2">
|
|
<div class="rounded-lg border border-white/10 bg-slate-900/65 px-2 py-1.5 text-[0.62rem] font-bold text-slate-200">
|
|
<i class="fa-solid fa-paperclip mr-1 text-blue-300"></i> Attachments
|
|
</div>
|
|
<div class="rounded-lg border border-white/10 bg-slate-900/65 px-2 py-1.5 text-[0.62rem] font-bold text-slate-200">
|
|
<i class="fa-solid fa-code-branch mr-1 text-violet-300"></i> Commits
|
|
</div>
|
|
<div class="rounded-lg border border-white/10 bg-slate-900/65 px-2 py-1.5 text-[0.62rem] font-bold text-slate-200">
|
|
<i class="fa-solid fa-stopwatch mr-1 text-emerald-300"></i> SLA
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<livewire:helpdesk.dashboard-widget />
|
|
</div>
|