Skip to content

Commit

Permalink
Bring back the glow! (and a small goodie)
Browse files Browse the repository at this point in the history
  • Loading branch information
koyuawsmbrtn committed Jun 30, 2019
1 parent 8af8dda commit e49fbc4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions app/www/app.js
Expand Up @@ -62,6 +62,7 @@ $(document).ready(function() {
});
$("#text__cast").html(callback.feed.title);
$("#text__subtitle").html(callback.feed.subtitle);
$("#text__author").html(callback.feed.author);
$("#text__description").html(callback.feed.content.replaceAll("\n", "<br />"));
callback.entries.forEach(function(item) {
$("#podtable tbody").append("<tr><td><ion-icon name=\"play-circle\"></ion-icon></td><td>"+item.title+"</td></tr>");
Expand Down Expand Up @@ -121,7 +122,6 @@ $(document).ready(function() {
$("#logo__intro").hide();
}
$("#view__main").css("padding-top", "90px");
//localStorage.setItem("podlist", "https://aboutweb.podigee.io/feed/mp3,https://www.nrwision.de/mediathek/sendungen/abschied-von-der-steinkohle/rss/100/")
$("#view__main").hide();
$("#view__settings").hide();
$("#nav").hide();
Expand Down Expand Up @@ -163,6 +163,11 @@ $(document).ready(function() {
$.get(backend+"/api/v1/getfeatured", function(data) {
data.forEach(function(item) {
$("#section__featured").html($("#section__featured").html()+"<div><a href=\"app.html?cast="+item[1]+"\"><img src=\""+backend+"/api/v1/getbanner/"+item[0]+"\" class=\"card__big\" /></a></div>");
$(".card__big").primaryColor({
callback: function(color) {
$(this).css('box-shadow', '0px 0px 13px 2px rgba('+color+',0.75)');
}
});
});
});

Expand All @@ -171,12 +176,6 @@ $(document).ready(function() {
}).error(function() {
$("#text__username").hide();
});

$(".card__big").primaryColor({
callback: function(color) {
$(this).css('box-shadow', '0px 0px 13px 2px rgba('+color+',0.75)');
}
});
}, 800);
}

Expand Down Expand Up @@ -245,6 +244,7 @@ function onDeviceReady() {
$("#text__featured").html("Angesagt");
$("#text__list").html("Deine Liste");
$("#text__hello").html("Hallo");
$("#text__by").html("von");
$("#logout").html("Abmelden");
$("#view__settings h1").html("Einstellungen");
$("#qq").attr("placeholder", "Suchbegriff");
Expand Down
3 changes: 2 additions & 1 deletion views/podview.html
@@ -1,4 +1,5 @@
<br /><div id="podcard"><img id="img__cast" class="card__small" style="float: left;"><h1 id="text__cast" style="text-align: center;margin-top: -5px;"></h1>
<br /><div id="podcard"><img id="img__cast" class="card__smaller" style="float: left;"><h1 id="text__cast" style="text-align: center;margin-top: -5px;"></h1>
<small><h6 style="text-align: center"><span id="text__by">by</span> <span id="text__author"></span></h6></small><br /><br />
<h5 id="text__subtitle" style="text-align: center"></h3>
</div>
<br /><button id="button__follow" class="btn btn-primary">Follow</button><button id="button__unfollow" class="btn btn-danger">Unfollow</button><br /><br /><h6 id="text__description"></h6>
Expand Down

0 comments on commit e49fbc4

Please sign in to comment.