aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Ray <ray@tilde.institute>2020-09-02 13:10:11 -0400
committerNeil Ray <ray@tilde.institute>2020-09-02 13:10:11 -0400
commit1117bfbd81c8bc12da59c59a7b8e58c4dfb33ee7 (patch)
treefb73c0edd3e8502884f01f29f4090f9a08dec415
parent7abe5dafc9879422f34580f577dd6885164082e4 (diff)
downloadprep_html-1117bfbd81c8bc12da59c59a7b8e58c4dfb33ee7.tar.gz
tweak html per suckless example
-rw-r--r--mid.html2
-rw-r--r--top.tmpl4
-rwxr-xr-xupdate.sh5
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:
+<strong>Projects:</strong>
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}
</style>
@@ -21,4 +21,4 @@
<br><br>
<pre>
-Plan:
+<strong>Plan:</strong>
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.+:)$/<strong>&</strong>/" 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