453 lines
25 KiB
HTML
453 lines
25 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
|
<meta name="theme-color" content="#090d16" id="tc">
|
|
<title>Khira — Enterprise Issue Tracker & Telemetry</title>
|
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='16' fill='%230f172a'/%3E%3Cpath d='M22 16h8v12l10-12h10L38 31l13 17H41L30 34v14h-8z' fill='%233b82f6'/%3E%3C/svg%3E">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="/khira/styles.css?v=10">
|
|
<script>try{document.documentElement.dataset.theme=localStorage.khira_theme||'dark'}catch(e){}</script>
|
|
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit" async defer></script>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- AUTHENTICATION VIEW -->
|
|
<main id="auth" class="auth-screen" hidden>
|
|
<div class="auth-card">
|
|
<div class="auth-brand">
|
|
<div class="brand-badge-icon">
|
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z"/><path d="M13 5v2"/><path d="M13 11v2"/><path d="M13 17v2"/></svg>
|
|
</div>
|
|
<h2>Khira Enterprise</h2>
|
|
<p class="auth-subtitle">High-velocity engineering issue tracking and real-time crash telemetry.</p>
|
|
</div>
|
|
|
|
<div class="auth-tabs seg" id="atabs">
|
|
<button class="on" data-a="in">Sign in</button>
|
|
<button data-a="up">Create account</button>
|
|
</div>
|
|
|
|
<form id="fIn" novalidate class="auth-form">
|
|
<div class="form-group">
|
|
<label for="lu">Username</label>
|
|
<input id="lu" class="form-input" placeholder="e.g. admin, charlie" autocomplete="username" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="form-label-row">
|
|
<label for="lp">Password</label>
|
|
<button type="button" class="btn-text-link" id="btnForgot">Forgot password?</button>
|
|
</div>
|
|
<input id="lp" type="password" class="form-input" placeholder="••••••••" autocomplete="current-password" required>
|
|
</div>
|
|
<div id="turnstileWidgetIn" class="turnstile-container"></div>
|
|
<button class="btn-submit" type="submit">Sign in to Workspace</button>
|
|
</form>
|
|
|
|
<form id="fUp" hidden novalidate class="auth-form">
|
|
<div class="form-group">
|
|
<label for="rn">Full Name</label>
|
|
<input id="rn" class="form-input" placeholder="e.g. Alex Rivera" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="ru">Username</label>
|
|
<input id="ru" class="form-input" placeholder="e.g. alex" autocomplete="username" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="rr">Engineering Role</label>
|
|
<select id="rr" class="form-select">
|
|
<option value="tester">Tester</option>
|
|
<option value="ios_dev">iOS Developer</option>
|
|
<option value="android_dev">Android Developer</option>
|
|
<option value="backend_dev">Backend Developer</option>
|
|
<option value="designer">Designer</option>
|
|
</select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="rp">Password</label>
|
|
<input id="rp" type="password" class="form-input" placeholder="At least 6 characters" autocomplete="new-password" required>
|
|
</div>
|
|
<div id="turnstileWidgetUp" class="turnstile-container"></div>
|
|
<button class="btn-submit" type="submit">Create Enterprise Account</button>
|
|
</form>
|
|
|
|
<div class="demo-login-box">
|
|
<span class="demo-label">Quick Sign-in Personas</span>
|
|
<div class="demo-chips">
|
|
<button type="button" class="demo-chip" data-d="charlie"><span class="chip-role">Tester</span> Charlie</button>
|
|
<button type="button" class="demo-chip" data-d="alice"><span class="chip-role">iOS</span> Alice</button>
|
|
<button type="button" class="demo-chip" data-d="bob"><span class="chip-role">Backend</span> Bob</button>
|
|
<button type="button" class="demo-chip" data-d="diana"><span class="chip-role">Android</span> Diana</button>
|
|
<button type="button" class="demo-chip" data-d="eva"><span class="chip-role">Design</span> Eva</button>
|
|
<button type="button" class="demo-chip lead" data-d="admin"><span class="chip-role">Lead</span> Admin</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- ENTERPRISE WORKSPACE APP SHELL -->
|
|
<div id="app" class="app-layout" hidden>
|
|
|
|
<!-- COLLAPSIBLE LEFT SIDEBAR -->
|
|
<aside class="app-sidebar" id="sidebar">
|
|
<div class="sidebar-top">
|
|
<div class="sidebar-brand">
|
|
<div class="brand-logo-sq">
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z"/><path d="M13 5v2"/><path d="M13 11v2"/><path d="M13 17v2"/></svg>
|
|
</div>
|
|
<div class="brand-details">
|
|
<span class="brand-text">Khira</span>
|
|
<span class="workspace-name">Creator Suite</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Quick New Issue Button -->
|
|
<div class="sidebar-action">
|
|
<button class="btn-sidebar-create" id="btnSidebarCreate" title="Create New Issue (C or N)">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>
|
|
<span>New Issue</span>
|
|
<kbd class="kbd-subtle">C</kbd>
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Navigation Tree -->
|
|
<nav class="sidebar-nav nav">
|
|
<div class="nav-group-header">Workspace</div>
|
|
<button class="nav-item on" data-s="tickets" title="Tickets (T)">
|
|
<svg class="nav-ic" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z"/><path d="M13 5v2"/><path d="M13 11v2"/><path d="M13 17v2"/></svg>
|
|
<span class="nav-text">Tickets</span>
|
|
<span class="nav-badge" id="navTicketsBadge">0</span>
|
|
</button>
|
|
|
|
<div class="nav-group-header">Observability</div>
|
|
<button class="nav-item" data-s="errors" title="Errors (E)">
|
|
<svg class="nav-ic" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 1.88 1.88"/><path d="M14.12 3.88 16 2"/><path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"/><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"/><path d="M12 20v-9"/><path d="M6.53 9C4.6 8.8 3 7.1 3 5"/><path d="M6 13H2"/><path d="M3 21c0-2.1 1.7-3.9 3.8-4"/><path d="M20.97 5c0 2.1-1.6 3.8-3.5 4"/><path d="M22 13h-4"/><path d="M17.2 17c2.1.1 3.8 1.9 3.8 4"/></svg>
|
|
<span class="nav-text">Error Telemetry</span>
|
|
<span class="nav-badge danger" id="navErrorsBadge">0</span>
|
|
</button>
|
|
<button class="nav-item" data-s="analytics" title="Analytics (A)">
|
|
<svg class="nav-ic" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg>
|
|
<span class="nav-text">Analytics & SLA</span>
|
|
</button>
|
|
|
|
<div class="nav-group-header" id="navAdminGroup" hidden>System</div>
|
|
<button class="nav-item" data-s="admin" id="navAdmin" hidden title="Admin Panel">
|
|
<svg class="nav-ic" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
|
|
<span class="nav-text">Administration</span>
|
|
</button>
|
|
</nav>
|
|
|
|
<!-- Sidebar User Footer -->
|
|
<div class="sidebar-footer">
|
|
<div class="user-profile-tile" id="me" role="button" tabindex="0" title="Profile Settings"></div>
|
|
<div class="sidebar-footer-controls">
|
|
<button class="icon-btn-sm" id="theme" aria-label="Toggle theme" title="Toggle theme">
|
|
<svg id="themeIcon" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>
|
|
</button>
|
|
<button class="icon-btn-sm" id="btnLogout" aria-label="Sign out" title="Sign out">
|
|
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" y1="12" x2="9" y2="12"/></svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- MAIN WORKSPACE VIEWPORT -->
|
|
<div class="main-viewport main">
|
|
|
|
<!-- Top Header Bar -->
|
|
<header class="app-header bar">
|
|
<div class="header-left">
|
|
<button class="mobile-menu-trigger" id="btnMobileNav" aria-label="Toggle Navigation">
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="18" x2="21" y2="18"/></svg>
|
|
</button>
|
|
|
|
<div class="breadcrumb-bar">
|
|
<span class="bc-crumb">Khira</span>
|
|
<span class="bc-divider">/</span>
|
|
<h1 class="bc-current" id="title">Tickets</h1>
|
|
</div>
|
|
|
|
<div id="livePill" class="live-status-pill online" title="Real-time connected: Live updates streaming via SSE">
|
|
<span class="live-dot"><span class="live-pulse"></span></span>
|
|
<span class="live-lbl">Live</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header-center">
|
|
<div class="header-search-bar search">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
|
|
<input id="q" placeholder="Search issues, errors, teammates... (press /)" aria-label="Search">
|
|
<kbd class="search-key">/</kbd>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header-right">
|
|
<div id="adminDbTools" class="tr" hidden>
|
|
<button class="chip db-btn sync" id="btnSyncBackup" title="Sync Primary DB to Backup DB">
|
|
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></svg>
|
|
<span>Sync DB</span>
|
|
</button>
|
|
<button class="chip db-btn rollback" id="btnRollbackBackup" title="Rollback Primary DB from Backup DB">
|
|
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
|
|
<span>Rollback</span>
|
|
</button>
|
|
</div>
|
|
|
|
<button class="chip cmd-k-btn" id="btnCmdK" title="Command Palette (Cmd+K / Ctrl+K)">
|
|
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"/></svg>
|
|
<span>⌘K</span>
|
|
</button>
|
|
|
|
<button class="ib" id="btnShortcutsHelp" title="Keyboard Shortcuts (?)" aria-label="Shortcuts">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>
|
|
</button>
|
|
|
|
<button class="ib notification-bell-btn" id="bell" aria-label="Notifications" title="Notifications">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>
|
|
<span id="dot" class="notification-indicator-dot" hidden></span>
|
|
</button>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Scrollable Canvas Area -->
|
|
<div class="workspace-canvas pg">
|
|
|
|
<!-- TICKETS VIEW -->
|
|
<section id="vT" class="view-panel">
|
|
<div class="panel-header-hero">
|
|
<div class="hero-text">
|
|
<h2 id="hi">Welcome back</h2>
|
|
<p id="sum" class="hero-sub"></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="stats-overview-grid stats" id="stats"></div>
|
|
|
|
<div class="workspace-tabs-bar tabs" id="tabs"></div>
|
|
|
|
<!-- Filter & View Controls -->
|
|
<div class="filter-controls-row tools">
|
|
<div class="status-chips-wrap chips" id="stChips"></div>
|
|
|
|
<div class="filter-tools-right tr">
|
|
<button class="action-chip" id="btnToggleBulk" title="Toggle bulk selection mode">
|
|
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><polyline points="9 11 12 14 22 4"/></svg>
|
|
<span>Select</span>
|
|
</button>
|
|
|
|
<button class="action-chip" id="btnExportTickets" title="Export tickets as CSV">
|
|
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
|
|
<span>Export</span>
|
|
</button>
|
|
|
|
<label class="filter-select-label fsel">
|
|
<select id="fp" class="filter-dropdown">
|
|
<option value="">Any priority</option>
|
|
<option>Critical</option>
|
|
<option>High</option>
|
|
<option>Medium</option>
|
|
<option>Low</option>
|
|
</select>
|
|
</label>
|
|
|
|
<label class="filter-select-label fsel">
|
|
<select id="ft" class="filter-dropdown">
|
|
<option value="">Any type</option>
|
|
<option value="application">Application</option>
|
|
<option value="general">General</option>
|
|
</select>
|
|
</label>
|
|
|
|
<label class="filter-select-label fsel">
|
|
<select id="fa" class="filter-dropdown">
|
|
<option value="">Any assignee</option>
|
|
</select>
|
|
</label>
|
|
|
|
<div class="view-mode-toggle seg ic" id="vsw">
|
|
<button class="on" data-v="board" aria-label="Kanban Board View" title="Kanban Board View (B)">
|
|
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="5" height="18" rx="1"/><rect x="11" y="3" width="5" height="12" rx="1"/><rect x="19" y="3" width="5" height="15" rx="1"/></svg>
|
|
</button>
|
|
<button data-v="list" aria-label="List View" title="List View (L)">
|
|
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="8" y1="6" x2="21" y2="6"/><line x1="8" y1="12" x2="21" y2="12"/><line x1="8" y1="18" x2="21" y2="18"/><line x1="3" y1="6" x2="3.01" y2="6"/><line x1="3" y1="12" x2="3.01" y2="12"/><line x1="3" y1="18" x2="3.01" y2="18"/></svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Saved Views Filter Bar -->
|
|
<div id="savedFilterChips" class="saved-filter-bar" style="display:none"></div>
|
|
|
|
<!-- Kanban Board View -->
|
|
<div id="board" class="kanban-board board"></div>
|
|
|
|
<!-- List View -->
|
|
<div id="list" class="tickets-list list" hidden></div>
|
|
</section>
|
|
|
|
<!-- ERRORS VIEW -->
|
|
<section id="vE" class="view-panel" hidden>
|
|
<div class="panel-header-hero">
|
|
<div class="hero-text">
|
|
<h2>Error Telemetry & Tracking</h2>
|
|
<p class="hero-sub">Real-time runtime exceptions logged across all enterprise services and mobile clients.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="stats-overview-grid stats" id="estats"></div>
|
|
|
|
<div class="filter-controls-row tools">
|
|
<div class="status-chips-wrap chips" id="eChips"></div>
|
|
<div class="filter-tools-right tr">
|
|
<button class="action-chip" id="btnExportErrors" title="Export errors as CSV">
|
|
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
|
|
<span>Export CSV</span>
|
|
</button>
|
|
<button class="action-chip primary" id="btnLogAppErr" title="Log and continue assigning errors for an application">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="16"/><line x1="8" y1="12" x2="16" y2="12"/></svg>
|
|
<span>Log Error</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="elist" class="errors-list list"></div>
|
|
</section>
|
|
|
|
<!-- ANALYTICS DASHBOARD VIEW -->
|
|
<section id="vA" class="view-panel" hidden>
|
|
<div class="panel-header-hero">
|
|
<div class="analytics-hero-bar">
|
|
<div>
|
|
<h2 id="analyticsHeroTitle">Productivity & SLA Analytics</h2>
|
|
<p id="analyticsHeroSub" class="hero-sub">Engineering velocity, SLA compliance rates, and team workload distribution.</p>
|
|
</div>
|
|
<div id="analyticsScopeControls" class="analytics-scope-controls"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="stats-overview-grid stats" id="astats"></div>
|
|
|
|
<div class="analytics-charts-grid">
|
|
<div class="analytics-card velocity-card">
|
|
<div class="card-header-bar">
|
|
<h3 id="velocityCardTitle">8-Week Velocity (Created vs Resolved)</h3>
|
|
<span class="chart-legend-pills"><i class="leg-dot created"></i> Created <i class="leg-dot resolved"></i> Resolved</span>
|
|
</div>
|
|
<div class="canvas-container"><canvas id="velocityCanvas" width="600" height="240"></canvas></div>
|
|
</div>
|
|
|
|
<div class="analytics-card priority-card">
|
|
<div class="card-header-bar">
|
|
<h3 id="priorityCardTitle">Priority Distribution</h3>
|
|
</div>
|
|
<div class="canvas-container"><canvas id="priorityCanvas" width="300" height="240"></canvas></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="analytics-sub-grid">
|
|
<div class="analytics-card workload-card">
|
|
<h3 id="workloadCardTitle" class="card-title-sm">Team Workload Heatmap</h3>
|
|
<div id="workloadTable" class="workload-table-wrap"></div>
|
|
</div>
|
|
<div class="analytics-card activity-card">
|
|
<h3 id="activityCardTitle" class="card-title-sm">Live Activity Stream</h3>
|
|
<div id="activityStream" class="activity-stream-wrap"></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- ADMIN PANEL VIEW -->
|
|
<section id="vAdmin" class="view-panel" hidden>
|
|
<div class="panel-header-hero">
|
|
<div class="hero-text">
|
|
<h2>System Administration</h2>
|
|
<p class="hero-sub">Team access governance, database disaster recovery, and automated API credentials.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="admin-tab-bar">
|
|
<div class="seg" id="adminTabs">
|
|
<button class="on" data-at="users">Team Members</button>
|
|
<button data-at="tokens">API Tokens</button>
|
|
<button data-at="database">Disaster Recovery</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="adminTabUsers" class="admin-tab-pane"></div>
|
|
<div id="adminTabTokens" class="admin-tab-pane" hidden></div>
|
|
<div id="adminTabDatabase" class="admin-tab-pane" hidden></div>
|
|
</section>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Fallback Floating Create Button -->
|
|
<button class="fab" id="fab" title="New Ticket (C or N)" style="display:none"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg><span class="fl" id="fabl">New ticket</span></button>
|
|
|
|
<!-- Notifications Popover -->
|
|
<div class="popover-dropdown" id="pop" hidden></div>
|
|
|
|
<!-- Bulk Action Bottom Floating Bar -->
|
|
<div id="bulkBar" class="bulk-floating-bar" hidden>
|
|
<div class="bulk-info"><span id="bulkCount">0</span> selected</div>
|
|
<div class="bulk-actions-group">
|
|
<button class="bulk-action-btn" id="btnBulkStatus">Status ▾</button>
|
|
<button class="bulk-action-btn" id="btnBulkPriority">Priority ▾</button>
|
|
<button class="bulk-action-btn" id="btnBulkAssign">Assign ▾</button>
|
|
<button class="bulk-action-btn" id="btnBulkArchive">Archive</button>
|
|
<button class="bulk-action-btn danger" id="btnBulkDelete">Delete</button>
|
|
<button class="bulk-cancel-btn" id="btnBulkCancel" title="Clear selection">×</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Command Palette Modal -->
|
|
<div id="cmdPalette" class="cmd-palette-overlay" hidden>
|
|
<div class="cmd-palette-box">
|
|
<div class="cmd-palette-search">
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
|
|
<input id="cmdInput" placeholder="Type a command or search tickets, errors, team members..." autocomplete="off">
|
|
<kbd>Esc</kbd>
|
|
</div>
|
|
<div id="cmdResults" class="cmd-results-list"></div>
|
|
<div class="cmd-footer">
|
|
<span><kbd>↑</kbd><kbd>↓</kbd> Navigate</span>
|
|
<span><kbd>↵</kbd> Select</span>
|
|
<span><kbd>Esc</kbd> Close</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Keyboard Shortcuts Modal -->
|
|
<div id="shortcutsModal" class="cmd-palette-overlay" hidden>
|
|
<div class="cmd-palette-box shortcuts-box">
|
|
<div class="shortcuts-header">
|
|
<h3>Keyboard Shortcuts</h3>
|
|
<button class="ib" id="btnCloseShortcuts">×</button>
|
|
</div>
|
|
<div class="shortcuts-content">
|
|
<div class="sc-row"><span><kbd>⌘</kbd> + <kbd>K</kbd> / <kbd>Ctrl</kbd> + <kbd>K</kbd></span><span>Open Command Palette</span></div>
|
|
<div class="sc-row"><span><kbd>C</kbd> or <kbd>N</kbd></span><span>Create New Ticket</span></div>
|
|
<div class="sc-row"><span><kbd>T</kbd></span><span>Switch to Tickets view</span></div>
|
|
<div class="sc-row"><span><kbd>E</kbd></span><span>Switch to Errors view</span></div>
|
|
<div class="sc-row"><span><kbd>A</kbd></span><span>Switch to Analytics view</span></div>
|
|
<div class="sc-row"><span><kbd>B</kbd></span><span>Switch to Kanban Board</span></div>
|
|
<div class="sc-row"><span><kbd>L</kbd></span><span>Switch to List view</span></div>
|
|
<div class="sc-row"><span><kbd>/</kbd></span><span>Focus global search</span></div>
|
|
<div class="sc-row"><span><kbd>?</kbd></span><span>Open this shortcuts help</span></div>
|
|
<div class="sc-row"><span><kbd>Esc</kbd></span><span>Close modal or sheet</span></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<dialog id="sheet" class="app-drawer-sheet"></dialog>
|
|
<dialog id="dlg" class="app-modal-dialog"></dialog>
|
|
<div class="snack" id="snack" role="status"></div>
|
|
<script src="/khira/app.js?v=10" defer></script>
|
|
</body>
|
|
</html>
|