mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-12-06 07:34:00 +00:00
feat(ui): redesign the dashboard as a package checkpoint
Add overview, packages with quick view, package detail tabs, a merged security page, insights, system and restyled bypasses. Old vulnerable and blocked routes redirect to the matching security tab.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<StatGroup :columns="4" :aria-label="label">
|
||||
<StatGroup :columns="4" class="grid-cols-2! lg:grid-cols-4!" :aria-label="label">
|
||||
<template v-if="selectable">
|
||||
<KpiTile
|
||||
v-for="level in SEVERITY_LEVELS"
|
||||
@@ -10,7 +10,7 @@
|
||||
:label="formatSeverityName(level)"
|
||||
:value="counts[level]"
|
||||
:aria-pressed="isSelected(level)"
|
||||
:class="isSelected(level) && 'ring-2 ring-primary'"
|
||||
:class="['text-left', isSelected(level) && 'ring-2 ring-primary']"
|
||||
:data-severity="level"
|
||||
@click="toggle(level)"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user