Removed app prompt and googleplay from footer

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-14 17:29:23 +02:00
parent bf63119709
commit fa7a4cc356
3 changed files with 9 additions and 6 deletions

View File

@@ -16,9 +16,9 @@
<div class="col l4 offset-l2 s12 valign-wrapper">
<ul>
<li>
<a href="https://play.google.com/store/apps/details?id=no.lqasse.zoff">
<!--<a href="https://play.google.com/store/apps/details?id=no.lqasse.zoff">
<img title="Get it on Google Play" src="/static/images/google_play.png">
</a>
</a>-->
<a href="https://github.com/nixolas1/Zoff">
<img title="Contribute on GitHub" src="/static/images/GitHub_Logo.png">
</a>

View File

@@ -133,9 +133,9 @@ if(isset($_GET['chan'])){
<div class="col l4 offset-l2 s12 valign-wrapper">
<ul>
<li>
<a href="https://play.google.com/store/apps/details?id=no.lqasse.zoff">
<!--<a href="https://play.google.com/store/apps/details?id=no.lqasse.zoff">
<img title="Get it on Google Play" src="static/images/google_play.png">
</a>
</a>-->
<a href="https://github.com/nixolas1/Zoff">
<img title="Contribute on GitHub" src="static/images/GitHub_Logo.png">
</a>

View File

@@ -98,7 +98,10 @@ $(document).ready(function (){
if(pad >= 100)
window.location.href = 'https://www.youtube.com/v/0IGsNdVoEh0?autoplay=1&showinfo=0&autohide=1';
});
if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
//Not in use since the app is outdated
/*if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
//console.log("android");
var ca = document.cookie.split(';');
if(getCookie("show_prompt") == ""){
@@ -113,7 +116,7 @@ $(document).ready(function (){
document.cookie = "show_prompt=false;"+expires;
}
}
}
}*/
git_info = $.ajax({ type: "GET",
url: "https://api.github.com/repos/nixolas1/zoff/commits",