diff --git a/asteroid.lisp b/asteroid.lisp index 529205d..bc0f0ff 100644 --- a/asteroid.lisp +++ b/asteroid.lisp @@ -1316,11 +1316,18 @@ :framesetp t :title "About - Asteroid Radio")) +(define-page-with-limit status-page #@"/status" (:limit-group "public") + "Status page content" + (clip:process-to-string + (load-template "status") + :title "Status - Asteroid Radio")) + ;; Status content (for frameset mode) (define-page-with-limit status-content #@"/status-content" (:limit-group "public") "Status page content (displayed in content frame)" (clip:process-to-string - (load-template "status-content") + (load-template "status") + :framesetp t :title "Status - Asteroid Radio")) (define-api-with-limit asteroid/status () () diff --git a/template/status-content.ctml b/template/status-content.ctml deleted file mode 100644 index e406499..0000000 --- a/template/status-content.ctml +++ /dev/null @@ -1,57 +0,0 @@ - - - - Asteroid Radio - Status - - - - - - -
-
-

- Asteroid - 📡 SYSTEM STATUS - Asteroid -

- -
- -
-
-

đŸŸĸ Server Status

-

- Asteroid Radio is currently online and broadcasting. -

-
- -
-

📊 Stream Information

-
    -
  • Status: đŸŸĸ Live
  • -
  • Formats: AAC 96kbps, MP3 128kbps, MP3 64kbps
  • -
  • Server: Icecast
  • -
-
- -
-

â„šī¸ Additional Information

-

- For detailed system status and administration, please visit the Admin Dashboard. -

-
-
-
- - diff --git a/template/status.ctml b/template/status.ctml index a0f2355..8a9645c 100644 --- a/template/status.ctml +++ b/template/status.ctml @@ -15,16 +15,32 @@ 📡 SYSTEM STATUS Asteroid +