+
-
+
-
+
-
-
-
+
-
-
-
+
-
@@ -46,6 +52,6 @@
-
+
diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css
index 3cab8afd2..2658c7c23 100644
--- a/airtime_mvc/public/css/styles.css
+++ b/airtime_mvc/public/css/styles.css
@@ -4137,66 +4137,34 @@ li .ui-state-hover {
padding: 5px 0 0 5px;
}
-.podcast-metadata p {
- text-align: center;
- padding: 0 10px;
- margin-top: 0;
+.podcast-metadata-row {
+ margin: 10px 0;
+ display: flex;
+ align-items: center;
}
-
-.podcast-metadata label,
-.podcast-metadata input:not([type="checkbox"]),
-.podcast-metadata select,
-.podcast-metadata textarea,
-.media-metadata label,
-.media-metadata input:not([type="checkbox"]),
-.media-metadata select,
-.media-metadata textarea {
- margin: 4px 0;
-}
-
-.podcast-metadata input[type="checkbox"] {
- float: left;
- margin: 8px 0 0;
-}
-
-.podcast-metadata input[type="checkbox"].no-float {
+.podcast-metadata .podcast-metadata-row * {
+ line-height: 1.3;
+ position: static;
float: none;
- margin: 8px 0 0;
+}
+.podcast-metadata-row > *:first-child {
+ flex: 0 0 25%;
+ max-width: 25%;
+ text-align: right;
+ padding-right: 2%;
+ box-sizing: border-box;
+}
+.podcast-metadata-row > *:last-child {
+ flex: 0 0 75%;
+ max-width: 75%;
+ box-sizing: border-box;
+ text-align: left;
}
-.podcast-metadata input[type="checkbox"].float-right {
- float:right;
- margin: 8px 0 0;
-
-}
-
-.podcast-metadata label,
-.media-metadata label {
- display: block;
- width: 20%;
- float: left;
-}
-
-.podcast-metadata input:not([type="checkbox"]),
-.podcast-metadata select,
-.podcast-metadata textarea,
-.media-metadata input:not([type="checkbox"]),
-.media-metadata select,
-.media-metadata textarea {
- width: 60%;
- float: left;
-}
-
-.podcast-metadata-field {
- display: inline-block;
- width: 60%;
- min-width: 60%;
- max-width: 60%;
+.podcast-url {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
- margin: 4px 0;
- line-height: 24px;
}
.podcast_episodes_imported {
@@ -4221,6 +4189,17 @@ li .ui-state-hover {
overflow: auto;
}
+
+#podcast_url_dialog table tr td {
+ padding: 0;
+}
+
+#podcast_url_dialog .errors {
+ display: inline-block;
+ float: right;
+ width: 50%;
+}
+
/* UI Revamp Video */
#whatsnew {
@@ -4336,16 +4315,6 @@ li .ui-state-hover {
float: right;
}
-#podcast_url_dialog table tr td {
- padding: 0;
-}
-
-#podcast_url_dialog .errors {
- display: inline-block;
- float: right;
- width: 50%;
-}
-
#upgrade-feature-locked {
margin: 0 auto;
width: 50%;
diff --git a/airtime_mvc/public/js/airtime/library/podcast.js b/airtime_mvc/public/js/airtime/library/podcast.js
index b4aad6219..52e35736d 100644
--- a/airtime_mvc/public/js/airtime/library/podcast.js
+++ b/airtime_mvc/public/js/airtime/library/podcast.js
@@ -61,7 +61,16 @@ var AIRTIME = (function (AIRTIME) {
id: $scope.podcast.id,
title: $scope.podcast.title
},
- callback
+ function() {
+ var successMsg = $('.active-tab .pc-sb-success')
+ successMsg.text($.i18n._('Smartblock and playlist generated'));
+ successMsg.show();
+ setTimeout(function(){
+ successMsg.hide();
+ }, 5000);
+ dt = $('table[id="library_display"]').dataTable();
+ dt.fnStandingRedraw();
+ }
);
// save podcast
$scope.savePodcast();