From 1117bfbd81c8bc12da59c59a7b8e58c4dfb33ee7 Mon Sep 17 00:00:00 2001 From: Neil Ray Date: Wed, 2 Sep 2020 13:10:11 -0400 Subject: tweak html per suckless example --- mid.html | 2 +- top.tmpl | 4 ++-- update.sh | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/mid.html b/mid.html index 3b73f30..3f9779e 100644 --- a/mid.html +++ b/mid.html @@ -1 +1 @@ -Projects: +Projects: diff --git a/top.tmpl b/top.tmpl index 1b3fb85..d9608ac 100644 --- a/top.tmpl +++ b/top.tmpl @@ -9,7 +9,7 @@ line-height:1.6; font-size:18px; color:#444; - background-color: MistyRose; + background-color:#e8dddd; padding:0 10px} h1,h2,h3{line-height:1.2} @@ -21,4 +21,4 @@

-Plan:
+Plan:
diff --git a/update.sh b/update.sh
index 862cd29..9a8ab00 100755
--- a/update.sh
+++ b/update.sh
@@ -10,7 +10,8 @@ git add store_plan_proj
 git commit -m 'usual updates to plan & project'
 sed "s/TINMAN/$tin_img/g" top.tmpl > top.html
 sed "s/^Status:/Status (`date +%Y-%m-%d`):/" ~/.project > project.cooked
-cat top.html ~/.plan mid.html project.cooked end.html > ~/public_html/index.html
+sed "s/^(Status.+:)$/&/" project.cooked > project.done
+cat top.html ~/.plan mid.html project.done end.html > ~/public_html/index.html
 if [ ! -e ~/public_html/$tin_img ]; then cp $tin_img ~/public_html; fi
-rm project.cooked top.html
+rm project.cooked project.done top.html
 
-- 
cgit