diff --git a/src/app/(app)/audit/page.tsx b/src/app/(app)/audit/page.tsx index eb63d4f..f767e99 100644 --- a/src/app/(app)/audit/page.tsx +++ b/src/app/(app)/audit/page.tsx @@ -68,7 +68,7 @@ export default function AuditPage() { value={search} onChange={e => { setSearch(e.target.value); setPage(1) }} placeholder="Search audit logs..." - className="w-full bg-gray-800 border border-gray-700 text-gray-100 text-sm rounded-lg pl-10 pr-4 py-2 focus:ring-2 focus:ring-cyan-500 focus:border-transparent placeholder-gray-500 outline-none" + className="w-full glass-input text-gray-100 text-sm rounded-lg pl-10 pr-4 py-2 focus:ring-2 focus:ring-cyan-400/40 focus:border-transparent outline-none" /> @@ -81,7 +81,7 @@ export default function AuditPage() { {/* Table */} -
+
{loading ? (
@@ -95,7 +95,7 @@ export default function AuditPage() { <>
- + @@ -105,9 +105,9 @@ export default function AuditPage() { - + {logs.map(log => ( - + @@ -139,7 +139,7 @@ export default function AuditPage() { {/* Pagination */} {totalPages > 1 && ( -
+

Page {page} of {totalPages}

@@ -147,14 +147,14 @@ export default function AuditPage() { diff --git a/src/app/(app)/dashboard/page.tsx b/src/app/(app)/dashboard/page.tsx index 0ada2b3..d108014 100644 --- a/src/app/(app)/dashboard/page.tsx +++ b/src/app/(app)/dashboard/page.tsx @@ -93,9 +93,9 @@ export default function DashboardPage() {
{/* Server List */} -
-
-

Servers

+
+
+

Servers

{servers.length === 0 ? ( @@ -103,12 +103,12 @@ export default function DashboardPage() { No servers yet. Create your first Minecraft server!
) : ( -
+
{servers.map(server => (
@@ -140,21 +140,21 @@ function StatCard({ value: number color: string }) { - const colorMap: Record = { - cyan: 'bg-cyan-500/20 text-cyan-400', - emerald: 'bg-emerald-500/20 text-emerald-400', - amber: 'bg-amber-500/20 text-amber-400', - gray: 'bg-gray-500/20 text-gray-400', + const colorMap: Record = { + cyan: { badge: 'bg-cyan-400/20 text-cyan-400', glow: 'shadow-cyan-500/15' }, + emerald: { badge: 'bg-emerald-400/20 text-emerald-400', glow: 'shadow-emerald-500/15' }, + amber: { badge: 'bg-amber-400/20 text-amber-400', glow: 'shadow-amber-500/15' }, + gray: { badge: 'bg-white/[0.1] text-gray-400', glow: '' }, } return ( -
+
-
+
-

{value}

+

{value}

{label}

diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index de58a80..7516d89 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -9,7 +9,7 @@ export default function AppLayout({ children }: { children: React.ReactNode }) { if (loading) { return ( -
+
) @@ -18,9 +18,9 @@ export default function AppLayout({ children }: { children: React.ReactNode }) { if (!user) return null // Middleware will redirect return ( -
+
-
+
{children}
diff --git a/src/app/(app)/roles/page.tsx b/src/app/(app)/roles/page.tsx index 9114512..c0f6004 100644 --- a/src/app/(app)/roles/page.tsx +++ b/src/app/(app)/roles/page.tsx @@ -233,7 +233,7 @@ export default function RolesPage() { const PermissionGrid = () => (
{allResources.map(resource => ( -
+

{resource}

{allActions[resource].map(action => ( @@ -241,10 +241,10 @@ export default function RolesPage() { key={`${resource}:${action}`} type="button" onClick={() => togglePermission(resource, action)} - className={`px-2.5 py-1 rounded text-xs font-medium transition-colors ${ + className={`px-2.5 py-1 rounded text-xs font-medium transition-all ${ hasPermissionToggle(resource, action) - ? 'bg-cyan-500/20 text-cyan-400 border border-cyan-500/50' - : 'bg-gray-700 text-gray-400 border border-gray-600 hover:bg-gray-600' + ? 'bg-cyan-400/20 text-cyan-400 border border-cyan-400/35 shadow-[0_0_10px_rgba(6,182,212,0.2)]' + : 'bg-white/[0.08] text-gray-400 border border-white/[0.12] hover:bg-white/[0.14] hover:text-gray-300' }`} > {action} diff --git a/src/app/(app)/servers/[id]/backups/page.tsx b/src/app/(app)/servers/[id]/backups/page.tsx index c745317..8a7c276 100644 --- a/src/app/(app)/servers/[id]/backups/page.tsx +++ b/src/app/(app)/servers/[id]/backups/page.tsx @@ -152,7 +152,7 @@ export default function BackupsPage() { } /> -
+
{backups.length === 0 ? (
@@ -161,7 +161,7 @@ export default function BackupsPage() {
) : (
Timestamp UserIP
{formatDateTime(log.createdAt)}
- + @@ -171,9 +171,9 @@ export default function BackupsPage() { - + {backups.map(backup => ( - +
Filename TypeActions
{backup.filename} diff --git a/src/app/(app)/servers/[id]/configuration/page.tsx b/src/app/(app)/servers/[id]/configuration/page.tsx index 00df5dd..86841a1 100644 --- a/src/app/(app)/servers/[id]/configuration/page.tsx +++ b/src/app/(app)/servers/[id]/configuration/page.tsx @@ -119,7 +119,7 @@ export default function ConfigurationPage() { /> {/* JVM Args */} -
+

JVM Arguments

{/* Server Properties */} -
-
+
+

server.properties

-
+
{sortedKeys.map(key => (
))} diff --git a/src/app/(app)/servers/[id]/files/page.tsx b/src/app/(app)/servers/[id]/files/page.tsx index d9d91e7..ce4815f 100644 --- a/src/app/(app)/servers/[id]/files/page.tsx +++ b/src/app/(app)/servers/[id]/files/page.tsx @@ -640,7 +640,7 @@ export default function FilesPage() { {i > 0 && }