diff --git a/webserver_files/root/css/style.css b/webserver_files/root/css/style.css index d5d0547..145d04d 100644 --- a/webserver_files/root/css/style.css +++ b/webserver_files/root/css/style.css @@ -33,8 +33,19 @@ button { display: flex; margin: auto; margin-bottom: 10px; - color: blue; + color: hotpink; font-size: 20px; + font-weight: bold; + border-radius: 14px; + padding: 10px; +} + +a { + color: hotpink; +} + +a:link { + text-decoration: none; } .log_block{ @@ -57,4 +68,8 @@ box-shadow: rgba(0, 0, 0, 0.8) 0px 10px 25px; button { font-size: 30px; } -} \ No newline at end of file +} + +#overview { + font-size: 22px; +} diff --git a/webserver_files/root/output-single-rsync.php b/webserver_files/root/output-single-rsync.php new file mode 100644 index 0000000..ac83c50 --- /dev/null +++ b/webserver_files/root/output-single-rsync.php @@ -0,0 +1,21 @@ + +

Rsync logs for backup of

+ 0) { + $pageText = fread($fh, filesize($filename)); + $erg = $converter->convert($pageText); + $erg = str_replace("color: white","color: black",$erg); + $erg = str_replace("background-color: black;","",$erg); + echo nl2br($erg); +} else { + echo "Error. This log does not exist."; +} +?> diff --git a/webserver_files/root/output-single.php b/webserver_files/root/output-single.php index dc6380f..58028ff 100644 --- a/webserver_files/root/output-single.php +++ b/webserver_files/root/output-single.php @@ -6,7 +6,7 @@ $date = basename("$date"); $filename = "../logs/backup_script-" . $date . ".log"; ?> -

Logs for backup of

+

Logs for backup of (rsync)

0) { diff --git a/webserver_files/root/output.php b/webserver_files/root/output.php index 4a2d56c..5e8be51 100644 --- a/webserver_files/root/output.php +++ b/webserver_files/root/output.php @@ -24,7 +24,7 @@ } ?> -

Last Backup:

+

Last Backup: (rsync)

Loading... - - \ No newline at end of file + + diff --git a/webserver_files/root/show-rsync-log.php b/webserver_files/root/show-rsync-log.php new file mode 100644 index 0000000..3b7a064 --- /dev/null +++ b/webserver_files/root/show-rsync-log.php @@ -0,0 +1,24 @@ + +SFTP-Backup log of <?php echo $date?> + + + + + + + + +

Single log

+
+Loading... +
+ +