Browse Source

Add back-link to patchpanel page

Jan Behrens 1 year ago
parent
commit
db42cdd825
2 changed files with 15 additions and 11 deletions
  1. 8 8
      index.php
  2. 7 3
      patchpanel/index.php

+ 8 - 8
index.php

@@ -1,12 +1,12 @@
 <html>
 <head>
 
-  
+
 <link rel="shortcut icon" href="pics/KATRINlogo.ico" />
 <link href="stylesheet.css" rel="stylesheet">
 
-  <link rel="preload" href="CorporateESC-Bold.woff" as="font" type="font/woff" crossorigin>
-  
+<link rel="preload" href="CorporateESC-Bold.woff" as="font" type="font/woff" crossorigin>
+
 <link rel="preload" href="CorporateESC-Bold.woff2" as="font" type="font/woff2" crossorigin>
 
 
@@ -161,7 +161,7 @@ else { echo '<meta http-equiv="refresh" content="120">'; $slowrefresh= true; }
 
 </head>
 <body style="background-color:white;">
-     
+
 <?php
       // set time zone to local German time
       date_default_timezone_set('Europe/Berlin');
@@ -187,14 +187,14 @@ else { echo '<meta http-equiv="refresh" content="120">'; $slowrefresh= true; }
       $loop = 0;
       $includeflag = 0;
       do {
-        $includeflag = include 'ADEIvalues.php'; 
+        $includeflag = include 'ADEIvalues.php';
         $loop++;
         if ($valuesincluded == 0) usleep(100000);
         }
       while (($loop < 21) && ($includeflag+$valuesincluded < 2));
       if ($valuesincluded == 0) $extraction_time = "Request timed out!".PHP_EOL;
       //echo $loop."  ".$includeflag."  ".$valuesincluded.PHP_EOL;
-      
+
 
 	// ########## TIME STAMP ##########
 //	echo '<font size="6" color="#FF0000"><b>Deprecated KATRIN Spectrometer and Detector Section Status Overview</b></font><br>';
@@ -214,7 +214,7 @@ else { echo '<meta http-equiv="refresh" content="120">'; $slowrefresh= true; }
 <div style="position:absolute; top:0px; left:0px">
 <img src="pics/bg.png">
 -->
-  
+
 <div style="position:absolute; top:150px; left:2px">
 <img src="pics/beamline_noMoS.png" >
 
@@ -247,6 +247,6 @@ else { echo '<meta http-equiv="refresh" content="120">'; $slowrefresh= true; }
 
   <br><br><br>
   <iframe width="1700" height="400" src="https://dataview.raspberryshake.org/#/embed/AM/R985B/00/EHZ"></iframe>
-  
+
 </body>
 </html>

+ 7 - 3
patchpanel/index.php

@@ -1,5 +1,6 @@
 <html>
 <head>
+<link rel="shortcut icon" href="../pics/KATRINlogo.ico" />
 <title>High-Voltage Patch-Panel Configuration</title>
 <style type="text/css">
 	body      { font-family:Arial; }
@@ -193,9 +194,12 @@
 
 <form method="post" action="index.php" name="myform">
 
-
-
-<font size="6"><b>High-Voltage Patch-Panel Configuration</b></font>
+<font size="6">
+<a href="../index.php" title="Back to main page">
+<img style="margin-right: .5em; margin-bottom: -8px" src="../pics/katrin_logo_round.png" width="40px" height="40px">
+<a>
+<b>High-Voltage Patch-Panel Configuration</b>
+</font>