X-Git-Url: https://git.distorted.org.uk/~mdw/rsync-backup/blobdiff_plain/9f0350f99ac2b5ecb212b2c85204e13b285d30e6..915b95f48e8754956e3ac6c1f27b91beafc619e8:/check-bkp-status.in diff --git a/check-bkp-status.in b/check-bkp-status.in index 15afadd..de347c6 100644 --- a/check-bkp-status.in +++ b/check-bkp-status.in @@ -221,7 +221,17 @@ html_header () { padding: 1ex; background: #eee; border: solid thin black; - overflow-y: auto; + overflow: auto; + } + + pre.logdump { max-height: 120ex; } + + .hide { display: none; } + a.expand-button { + float: right; + font-size: medium; + font-weight: initial; + padding-top: 1ex; } div.logdump-info { @@ -231,10 +241,60 @@ html_header () { border: solid thin black; } --> + -

rsync-backup report: $now

+

rsync-backup report: $now_dow $now

EOF } @@ -255,7 +315,10 @@ EOF html_hosttbl_fs () { case $3 in winning) link="" knil="" ;; - *) link="" knil="";; + *) + link="" + knil="" + ;; esac cat < @@ -279,19 +342,27 @@ EOF html_logdump_begin () { cat <Log tail for $1:$2 +

Log tail for $1:$2 +

EOF } html_logdump_info () { cat <$3 +
$3
EOF } html_logdump_file () { cat < +
+$3
 EOF
   cat "$3"
   cat <
-  Checked at $now $now_time.
-  
rsync-backup $VERSION; © 2014 Mark Wooding + Checked at $now $now_time
+ rsync-backup $VERSION; © 2014 Mark Wooding @@ -433,6 +504,7 @@ esac now=$(date +"%Y-%m-%d") now_time=$(date +"%H:%M:%S %z") +now_dow=$(date +"%A") now_jdn=$(julian $now) . "$conf" failure_logs