diff --git a/docs/code-bridge/archive/MSG-2026-04-12-phase11d-ui-styling.md b/docs/code-bridge/archive/MSG-2026-04-12-phase11d-ui-styling.md new file mode 100644 index 0000000..d563478 --- /dev/null +++ b/docs/code-bridge/archive/MSG-2026-04-12-phase11d-ui-styling.md @@ -0,0 +1,50 @@ +# Chronicler Dispatch — Phase 11D UI Styling + +**Date:** 2026-04-12 +**From:** Chronicler #84 — The Meridian +**To:** Code + +--- + +## UI Feedback from Michael + +The current admin page renders as plain unstyled HTML — not integrated with Pterodactyl's admin UI. Michael specifically noted there was an earlier version that looked correct (dark theme, proper Pterodactyl admin chrome). + +**What's needed:** `view.blade.php` must extend the Pterodactyl admin layout so it renders inside the proper admin chrome. + +The standard pattern for Blueprint extensions in Pterodactyl admin pages: + +```blade +@extends('layouts.admin') +@include('partials/admin.settings-notices') + +@section('title') + ModpackChecker +@endsection + +@section('content-header') +

ModpackChecker4-Platform Modpack Version Monitoring

+@endsection + +@section('content') +
+
+
+
+

License

+
+
+ {{-- license content here --}} +
+
+
+
+@endsection +``` + +Use AdminLTE's `box`, `box-primary`, `form-group`, `btn btn-primary` classes — that's what the rest of the Pterodactyl admin uses. + +Michael has final approval on UI before it goes to the live panel. Please push an updated view.blade.php with proper Pterodactyl admin styling. + +*— Chronicler #84, The Meridian* +**Fire + Frost + Foundation** 💙🔥❄️ diff --git a/services/modpack-version-checker/blueprint-extension/admin/view.blade.php b/services/modpack-version-checker/blueprint-extension/admin/view.blade.php index 8471aaa..7649621 100644 --- a/services/modpack-version-checker/blueprint-extension/admin/view.blade.php +++ b/services/modpack-version-checker/blueprint-extension/admin/view.blade.php @@ -1,165 +1,100 @@ -
- +@section('content') - -
- {{ csrf_field() }} - -
- - - -
-
-
-
- -
-
-

ModpackChecker

-

4-Platform Modpack Version Monitoring

-
-
+{{-- License Status Banners --}} +@if($license['status'] === 'expired') +
+
+
+

License Expired

+

Your license could not be validated. Pro features are disabled. Please check your order ID or contact support.

- - - @if($license['status'] === 'expired') -
-
-
-

License Expired

-

Your license could not be validated. Pro features are disabled. Please check your order ID or contact support.

-
+
+@elseif($license['status'] === 'grace') +
+
+
+

License Validation Warning

+

Could not reach license server. Grace period expires: {{ $license['grace_expires'] }}

- @elseif($license['status'] === 'grace') -
-
-
-

License Validation Warning

-

Could not reach license server. Grace period expires: {{ $license['grace_expires'] }}

-
-
-
- @endif +
+@endif + + + {{ csrf_field() }} -
+ {{-- License Activation --}}

License - @if($license['status'] === 'active') - Active - @elseif($license['status'] === 'grace') - Grace Period - @elseif($license['status'] === 'expired') - Expired - @else - Not Activated - @endif

+
+ @if($license['status'] === 'active') + Active + @elseif($license['status'] === 'grace') + Grace Period + @elseif($license['status'] === 'expired') + Expired + @else + Not Activated + @endif +
- -

- Enter the order ID from your BuiltByBit purchase to activate. -

+ +

Enter the order ID from your BuiltByBit purchase to activate.

@if($license['status'] === 'active' || $license['status'] === 'grace') -
-

- Tier: {{ ucfirst($license['tier']) }} -  |  - Last Validated: {{ $license['last_validated'] ?: 'Never' }} -

-
- @endif - @if(!empty($license['order_id'])) -
- +
+ Tier: {{ ucfirst($license['tier']) }} +  |  + Last Validated: {{ $license['last_validated'] ?: 'Never' }}
@endif
+ @if(!empty($license['order_id'])) + + @endif
- + {{-- CurseForge API Key --}}
-

- CurseForge API Key -

+

CurseForge API Key

- -

+ +

Get your free API key from console.curseforge.com. - Required for CurseForge modpack detection.

@@ -168,29 +103,28 @@
- + {{-- Check Interval (PRO) --}}

Check Interval - PRO TIER + PRO

- -

+

@if($license['tier'] === 'professional' && $license['status'] !== 'expired') Professional tier — custom check intervals enabled. @else - Standard tier is locked to daily checks. Upgrade to Professional for more frequent automated checks. @endif

@@ -199,32 +133,27 @@
- + {{-- Discord Webhook (PRO) --}}

Discord Notifications - PRO TIER + PRO

- -

+ +

@if($license['tier'] === 'professional' && $license['status'] !== 'expired') Professional tier — Discord webhook alerts enabled. @else - Upgrade to Professional to receive automated update alerts in your Discord server. + Upgrade to Professional for Discord update alerts. @endif

@@ -234,58 +163,50 @@
- + {{-- Supported Platforms --}}
-

- Supported Platforms -

+

Supported Platforms

-
-
    -
  • - - CurseForge - (Requires API Key) -
  • -
  • - - Modrinth - (No key required) -
  • -
  • - - Technic - (No key required) -
  • -
  • - - FTB (modpacks.ch) - +
    + + + + + + + + + + + + + + + + + +
    CurseForgeRequires API Key
    ModrinthNo key required
    TechnicNo key required
    FTB @if($license['tier'] === 'professional') - (Enabled — Professional) + Enabled @else - (PRO TIER only) + PRO @endif - - - +
- + {{-- Update Available --}} @if(!empty($license['latest_version']) && $license['latest_version'] !== '1.0.0')
-

- Update Available -

+

Update Available

-

A new version ({{ $license['latest_version'] }}) is available.

+

Version {{ $license['latest_version'] }} is available.

Download from BuiltByBit @@ -295,32 +216,38 @@ @endif
- + {{-- How It Works --}}
-
-

How It Works

-

+

+

How It Works

+

ModpackChecker automatically detects modpacks via Egg Variables or file fingerprinting. - Set MODPACK_PLATFORM and - MODPACK_ID in your server's startup variables - for the most reliable detection, or let the extension scan for - manifest.json / - modrinth.index.json files. + Set MODPACK_PLATFORM and MODPACK_ID in your server's startup + variables for the most reliable detection.

- + {{-- Save Button --}}
-
-

Need Help?

-

- Join our Discord for support: firefrostgaming.com/discord -

+ +
+
+ + {{-- Support --}} +
+
+
+

Need Help?

+

Join our Discord for support: firefrostgaming.com/discord

+ +@endsection