commit 09c764034e0200815e1b48c697baaeaafb8fb0aa Author: Josh Holtrop Date: Fri Mar 27 18:36:13 2026 -0400 Add login screen diff --git a/assets/login.erb b/assets/login.erb new file mode 100644 index 0000000..df20925 --- /dev/null +++ b/assets/login.erb @@ -0,0 +1,137 @@ + + + + + + Home Server Status + + + + +
+

homelab · status

+
+ +
+
Sign In
+
+
+ + +
+
+ + +
+ +
+
+ + + diff --git a/malp.rb b/malp.rb new file mode 100755 index 0000000..aedf012 --- /dev/null +++ b/malp.rb @@ -0,0 +1,14 @@ +#!/usr/bin/env ruby + +require "cgi" +require "erb" + +ASSETS_DIR = File.join(__dir__, "assets") + +cgi = CGI.new + +template = ERB.new(File.read(File.join(ASSETS_DIR, "login.erb"))) + +cgi.out("type" => "text/html", "charset" => "UTF-8") do + template.result(binding) +end