From 313bd7999c729625fc240ef0c673de17856fb088 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 25 Jan 2018 13:12:43 +0100 Subject: added cnt badge to music pools diff --git a/www/index.html b/www/index.html index df85343..69c695a 100644 --- a/www/index.html +++ b/www/index.html @@ -283,9 +283,14 @@ -
+

+
+
+ 0 Einträge +
+
diff --git a/www/js/musicpools.js b/www/js/musicpools.js index 7395ef6..52ea231 100644 --- a/www/js/musicpools.js +++ b/www/js/musicpools.js @@ -167,6 +167,7 @@ Rdxport.MusicpoolView.prototype.render = function() { $('#app-musicpools .musicpoolContainer').html(this.$el); $('#musicpool-title').text(this.model.title); + $('#musicpool-cnt').text(this.model.carts.length); $('table tbody tr', this.$el).remove(); this.cartViews = []; diff --git a/www/styles/musicpools.css b/www/styles/musicpools.css index c0652f1..371b3ca 100644 --- a/www/styles/musicpools.css +++ b/www/styles/musicpools.css @@ -20,10 +20,21 @@ * along with rhwebimport. If not, see . */ +#musicpool-header-spacer { + margin-top: 1.3em; +} + #musicpool-title { font-weight: bold; + margin-top: 10px; } -#musicpool-header-spacer { - margin-top: 1.3em; +#musicpool-cnt-container { + font-size: 1.2em; + float: right; + margin-top: 15px; +} + +div.musicpoolContainer { + margin-top: 2em; } -- cgit v0.10.2