-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: actpub action: commit revision: path_from: revision_from: f0f1c33859c53b70f4f8bf77cfca6fa27b157823: path_to: revision_to:
commit f0f1c33859c53b70f4f8bf77cfca6fa27b157823 Author: epoch <epoch@thebackupbox.net> Date: Wed Mar 22 10:25:53 2023 +0000 external css in outbox diff --git a/ap-outbox.cgi b/ap-outbox.cgi
--- a/ap-outbox.cgi +++ b/ap-outbox.cgi @@ -77,33 +77,9 @@ fi fi ## if we got here, they requested / and aren't looking for json, so, graphical display of our outbox :) - -printf "Content-Type: text/html; charset=utf-8\r\n\r\n" - -printf "<html><head><title>epoch@thebackupbox.net actpub outbox</title>\n" -printf "<style>\n" -cat <<EOF -.actdiv { - border-style: solid; - border-width: 3px; - border-color: pink; - max-width: 700px; - margin: auto; -} -.objdiv { - border-style: solid; - border-width: 3px; - border-color blue; - max-width: 700px; - margin: auto; -} -td { - border-style: solid; - border-color: black; - border-width: 3px; -} -EOF - printf "</style>\n" + printf "Content-Type: text/html; charset=utf-8\r\n\r\n" + printf "<html><head><title>epoch@thebackupbox.net actpub outbox</title>\n" + printf '<link href="/ap-style.css" type="text/css" rel="stylesheet" />' printf "</head><body>\n" ls -t | while read next_file;do ap-activity2html "${next_file}"
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 15:12:09 2024