testing: Use sans-serif font for test results

We could later extend the stylesheet more or even add something similar
to actual templates (e.g. a shared header/footer).
This commit is contained in:
Tobias Brunner
2022-05-24 08:11:56 +02:00
committed by Andreas Steffen
parent 846201a686
commit 63f35993d9
4 changed files with 9 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
body {
font-family: sans-serif;
}
+4
View File
@@ -177,6 +177,7 @@ cat > $INDEX <<@EOF
<html>
<head>
<title>strongSwan KVM Tests</title>
<link rel="stylesheet" href="css/site.css">
</head>
<body>
<h2>strongSwan KVM Tests</h2>
@@ -187,6 +188,7 @@ cat > $TESTRESULTSHTML <<@EOF
<html>
<head>
<title>strongSwan KVM Tests - All Tests</title>
<link rel="stylesheet" href="css/site.css">
</head>
<body>
<div><a href="index.html">strongSwan KVM Tests</a> / All Tests</div>
@@ -267,6 +269,7 @@ do
<html>
<head>
<title>strongSwan $SUBDIR Tests</title>
<link rel="stylesheet" href="../css/site.css">
</head>
<body>
<div><a href="../index.html">strongSwan KVM Tests</a> / $SUBDIR</div>
@@ -512,6 +515,7 @@ do
<html>
<head>
<title>Test $testname</title>
<link rel="stylesheet" href="../../css/site.css">
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="600">
@@ -8,6 +8,7 @@
RewriteEngine on
RewriteRule "^/testresults/.+/images/(.*)" "/images/$1" [PT]
RewriteRule "^/testresults/.+/css/(.*)" "/css/$1" [PT]
LogLevel warn
ErrorLog ${APACHE_LOG_DIR}/error.log
+1
View File
@@ -60,6 +60,7 @@ do
then
execute "mkdir $LOOPDIR/var/log/apache2/ocsp" 0
execute "cp -rf $DIR/../images $LOOPDIR/var/www/" 0
execute "cp -rf $DIR/../css $LOOPDIR/var/www/" 0
execute "mkdir $LOOPDIR/var/www/testresults" 0
echo "echo /testresults ... >> $LOOPDIR/etc/fstab" >>$LOGFILE 2>&1
echo "/testresults /var/www/testresults 9p trans=virtio,version=9p2000.L 0 0" >> $LOOPDIR/etc/fstab