Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Validated HTML
Browse files Browse the repository at this point in the history
- Removed stray <head> tag from header file
- added center class to css for song link div
  • Loading branch information
ebencollins committed Dec 10, 2016
1 parent 8d93fb0 commit 6c3ecee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
7 changes: 1 addition & 6 deletions SinusBot-Stream/header.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<!DOCTYPE html>
<html>
<head>
<link rel="apple-touch-icon" sizes="57x57" href="favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="favicon/apple-icon-72x72.png">
Expand All @@ -18,6 +15,4 @@
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
14 changes: 8 additions & 6 deletions SinusBot-Stream/index.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<?php

error_reporting('E_ERROR');
session_start();
require("config.php");
require("sinusbot.class.php");
require("header.php");


if(isset($_GET['id'])){
$id = $_GET['id'];
Expand Down Expand Up @@ -37,16 +37,16 @@
$sinusbot->selectInstance($inst);
$token = $sinusbot->getWebStreamToken($inst);


?>

<html>
<head>
<?php require("header.php"); ?>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://bootswatch.com/darkly/bootstrap.min.css">

<link rel="stylesheet" href="css/icon-font.css"></head>
<link rel="stylesheet" href="css/icon-font.css">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
Expand All @@ -59,7 +59,9 @@
.songlink{
color: rgb(255, 255, 255);
}

.center{
text-align: center;
}
</style>

<script type="text/javascript">
Expand Down Expand Up @@ -188,7 +190,7 @@ function getCookie(name) {
</script>

</div>
<div id="songnamediv" align="center"><h5 id="songname">Loading song name...</h5></div>
<div id="songnamediv" class="center"><h5 id="songname">Loading song name...</h5></div>
</div>

</body>
Expand Down

0 comments on commit 6c3ecee

Please sign in to comment.