Trying to fix some w3c validator issues

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-17 20:20:24 +01:00
parent 2c4ca881be
commit 8037fdd233
8 changed files with 29 additions and 19 deletions

View File

@@ -11,7 +11,7 @@
<input id="contact-form-message" name="message" type="text" autocomplete="off"> <input id="contact-form-message" name="message" type="text" autocomplete="off">
<label for="contact-form-message" class="noselect">Message</label> <label for="contact-form-message" class="noselect">Message</label>
</div> </div>
<button class="contact-button-submit" action="submit" id="submit-contact-form">Send</button> <button class="contact-button-submit" id="submit-contact-form">Send</button>
<div class="valign hide" id="send-loader"> <div class="valign hide" id="send-loader">
<div class="preloader-wrapper small active"> <div class="preloader-wrapper small active">
<div class="spinner-layer spinner-blue"> <div class="spinner-layer spinner-blue">

View File

@@ -6,14 +6,13 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<title>Zöff</title> <title>Zöff</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="author" content="Nicolas 'Nixo' Almagro Tonne &amp; Kasper 'KasperRT' Rynning-Tønnesen"/> <meta name="author" content="Nicolas 'Nixo' Almagro Tonne &amp; Kasper 'KasperRT' Rynning-Tønnesen"/>
<meta name="description" content="The Shared (free) YouTube radio. Being built around the YouTube search and video API it enables the creation of collaborative and shared live playlists, with billions of videos and songs to choose from, all for free and without registration. Enjoy!"/> <meta name="description" content="The Shared (free) YouTube radio. Being built around the YouTube search and video API it enables the creation of collaborative and shared live playlists, with billions of videos and songs to choose from, all for free and without registration. Enjoy!"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
<meta charset="UTF-8"/>
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#2D2D2D" /> <meta name="theme-color" content="#2D2D2D" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta property="og:image" content="/static/images/favicon.png" /> <meta property="og:image" content="/static/images/favicon.png" />
<meta property="og:title" content="Zöff"/> <meta property="og:title" content="Zöff"/>
<meta property="og:description" content="The Shared (free) YouTube radio. Being built around the YouTube search and video API it enables the creation of collaborative and shared live playlists, with billions of videos and songs to choose from, all for free and without registration. Enjoy!"/> <meta property="og:description" content="The Shared (free) YouTube radio. Being built around the YouTube search and video API it enables the creation of collaborative and shared live playlists, with billions of videos and songs to choose from, all for free and without registration. Enjoy!"/>
@@ -38,7 +37,6 @@
<script type="text/javascript" src="/static/dist/lib/jquery-ui-1.10.3.min.js"></script> <script type="text/javascript" src="/static/dist/lib/jquery-ui-1.10.3.min.js"></script>
<script type="text/javascript" src="/static/dist/lib/materialize.min.js"></script> <script type="text/javascript" src="/static/dist/lib/materialize.min.js"></script>
<script type="text/javascript" src="/static/dist/lib/socket.io-1.4.5.js"></script> <script type="text/javascript" src="/static/dist/lib/socket.io-1.4.5.js"></script>
<!--<script type="text/javascript" src="/static/dist/lib/jquery.lazyload.js"></script>-->
<script type="text/javascript" src="/static/dist/lib/color-thief.js"></script> <script type="text/javascript" src="/static/dist/lib/color-thief.js"></script>
<script type="text/javascript" src="/static/dist/lib/sha256.js"></script> <script type="text/javascript" src="/static/dist/lib/sha256.js"></script>
<script type="text/javascript" src="/static/dist/lib/aes.js"></script> <script type="text/javascript" src="/static/dist/lib/aes.js"></script>

View File

@@ -105,7 +105,7 @@ if(isset($_GET['chan'])){
maxlength="18" maxlength="18"
/> />
<datalist id="searches"></datalist> <datalist id="searches"></datalist>
<button class="listen-button" action="submit">Listen</button> <button class="listen-button">Listen</button>
</form> </form>
<div class="pitch outline"> <div class="pitch outline">
<div>Live &amp; democratic playlists with YouTube Music</div> <div>Live &amp; democratic playlists with YouTube Music</div>
@@ -130,7 +130,7 @@ if(isset($_GET['chan'])){
data-length="18" data-length="18"
/> />
<label for="search-mobile" class="noselect">Find or create radio channel</label> <label for="search-mobile" class="noselect">Find or create radio channel</label>
<datalist id="searches"> <datalist id="searches_mobile">
</datalist> </datalist>
</div> </div>
</form> </form>
@@ -162,7 +162,7 @@ if(isset($_GET['chan'])){
</p> </p>
</div> </div>
<div class="card-action noselect"> <div class="card-action noselect">
<a class="chan-link waves-effect waves-orange btn-flat">Listen</a> <span class="chan-link waves-effect waves-orange btn-flat">Listen</span>
</div> </div>
</a> </a>
</div> </div>

View File

@@ -40,6 +40,13 @@
height:calc(100vh - 48px - 64px) !important; height:calc(100vh - 48px - 64px) !important;
} }
.chan-link{
width: 100%;
padding: 0;
color: orange;
margin: 0;
}
.prev_page_hide, .prev_page{ .prev_page_hide, .prev_page{
float:left; float:left;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -931,11 +931,11 @@ function onepage_load(){
$("main").attr("class", "center-align container"); $("main").attr("class", "center-align container");
$("body").attr("id", ""); $("body").attr("id", "");
$("body").attr("style", ""); $("body").attr("style", "");
$("header").html($($(e)[59]).html()); $("header").html($($(e)[55]).html());
$($(e)[61]).insertAfter("header"); $($(e)[57]).insertAfter("header");
$($(e)[63]).insertAfter(".mega"); $($(e)[59]).insertAfter(".mega");
if(Helper.mobilecheck()) $("main").html($($(e)[67]).html()); if(Helper.mobilecheck()) $("main").html($($(e)[63]).html());
else $("main").append($($($(e)[67]).html())[0]); else $("main").append($($($(e)[63]).html())[0]);
$(".page-footer").removeClass("padding-bottom-extra"); $(".page-footer").removeClass("padding-bottom-extra");
$(".page-footer").removeClass("padding-bottom-novideo"); $(".page-footer").removeClass("padding-bottom-novideo");
$("#favicon").attr("href", "static/images/favicon.png"); $("#favicon").attr("href", "static/images/favicon.png");

View File

@@ -95,6 +95,7 @@ var Nochan = {
} }
document.getElementById("preloader").style.display = "none"; document.getElementById("preloader").style.display = "none";
document.getElementById("searches").innerHTML = output; document.getElementById("searches").innerHTML = output;
document.getElementById("searches_mobile").innerHTML = output;
//Materialize.fadeInImage('#channels'); //Materialize.fadeInImage('#channels');
$("#channels").fadeIn(800); $("#channels").fadeIn(800);
$("#searchFrontpage").focus(); $("#searchFrontpage").focus();
@@ -251,11 +252,11 @@ var Nochan = {
$(".mobile-search").remove(); $(".mobile-search").remove();
$("main").attr("class", "container center-align main"); $("main").attr("class", "container center-align main");
$("body").attr("id", "channelpage"); $("body").attr("id", "channelpage");
$("header").html($($(e)[59]).html()); $("header").html($($(e)[55]).html());
if($("#alreadychannel").length === 0 || Helper.mobilecheck() || Player.player === undefined){ if($("#alreadychannel").length === 0 || Helper.mobilecheck() || Player.player === undefined){
$("main").html($($(e)[63]).html()); $("main").html($($(e)[59]).html());
} else { } else {
var main = $($($($($(e)[63]).html())[0]).html()); var main = $($($($($(e)[59]).html())[0]).html());
$("#main-row").append($(main[2]).wrap("<div>").parent().html()); $("#main-row").append($(main[2]).wrap("<div>").parent().html());
$("#video-container").append($($($(main[0]).html())[4]).wrap("<div>").parent().html()); $("#video-container").append($($($(main[0]).html())[4]).wrap("<div>").parent().html());
$("#main-row").append("<div id='playbar'></div>"); $("#main-row").append("<div id='playbar'></div>");
@@ -273,6 +274,10 @@ var Nochan = {
fromFront = true; fromFront = true;
init(); init();
} }
console.log($("#wrw"))
$("#wrapper").on("scroll", function(){
console.log("scroll");
});
if($("#alreadyfp").length === 0) $("head").append("<div id='alreadyfp'></div>"); if($("#alreadyfp").length === 0) $("head").append("<div id='alreadyfp'></div>");
} }