index.php: cleanup html
This commit is contained in:
+4
-9
@@ -10,11 +10,9 @@ set_timezone();
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
<title><?php echo $site_name; ?></title>
|
<title><?php echo $site_name; ?></title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<style>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
<link rel="stylesheet" href="style.css?v=<?php echo date ('n.d.y', filemtime('style.css')); ?>">
|
<link rel="stylesheet" href="style.css?v=<?php echo date ('n.d.y', filemtime('style.css')); ?>">
|
||||||
<link rel="stylesheet" type="text/css" href="static/dialog-polyfill.css" />
|
<link rel="stylesheet" type="text/css" href="static/dialog-polyfill.css" />
|
||||||
<body>
|
<body>
|
||||||
@@ -39,7 +37,7 @@ if(isset($_GET['stream'])){
|
|||||||
</div><div class=\"centered\"><h3>$site_name</h3></div>";
|
</div><div class=\"centered\"><h3>$site_name</h3></div>";
|
||||||
} else {
|
} else {
|
||||||
echo "
|
echo "
|
||||||
<form action=\"\" method=\"GET\">
|
<form action=\"index.php\" method=\"GET\">
|
||||||
<button type=\"submit\" name=\"stream\" value=\"play\">Live Audio</button>
|
<button type=\"submit\" name=\"stream\" value=\"play\">Live Audio</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@@ -49,11 +47,8 @@ if(isset($_GET['stream'])){
|
|||||||
if(isset($_GET['filename'])) {
|
if(isset($_GET['filename'])) {
|
||||||
$filename = $_GET['filename'];
|
$filename = $_GET['filename'];
|
||||||
echo "
|
echo "
|
||||||
<iframe src=\"/views.php?view=Recordings&filename=$filename\"></iframe>
|
<iframe src=\"/views.php?view=Recordings&filename=$filename\"></iframe>";
|
||||||
</div>";
|
|
||||||
} else {
|
} else {
|
||||||
echo "
|
echo "
|
||||||
<iframe src=\"/views.php\"></iframe>
|
<iframe src=\"/views.php\"></iframe>";
|
||||||
</div>";
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user