Style tweaks

This commit is contained in:
Duncan Sommerville 2015-11-04 09:45:16 -05:00
parent b12b08f0f4
commit 69da2fa07e
3 changed files with 9 additions and 7 deletions

View File

@ -45,6 +45,7 @@
.playlist_editor input, .playlist_editor textarea { .playlist_editor input, .playlist_editor textarea {
width: 200px; width: 200px;
height: 70px;
box-sizing: border-box; box-sizing: border-box;
} }

View File

@ -1709,6 +1709,7 @@ h2#scheduled_playlist_name span {
.simple-formblock dd textarea { .simple-formblock dd textarea {
box-sizing: border-box; box-sizing: border-box;
height: 70px;
} }
.simple-formblock h2 { .simple-formblock h2 {

View File

@ -181,7 +181,7 @@ var AIRTIME = (function (AIRTIME) {
self._updatePodcast(); self._updatePodcast();
}; };
$scope.deleteSelectedEpisodes = function () { self.deleteSelectedEpisodes = function () {
var episodes = self.episodeTable.getSelectedRows(); var episodes = self.episodeTable.getSelectedRows();
jQuery.each(episodes, function () { jQuery.each(episodes, function () {
$http.delete(endpoint + $scope.podcast.id + '/episodes/' + this.id + '?csrf_token=' + $scope.csrf) $http.delete(endpoint + $scope.podcast.id + '/episodes/' + this.id + '?csrf_token=' + $scope.csrf)
@ -191,7 +191,7 @@ var AIRTIME = (function (AIRTIME) {
}); });
}; };
$scope.openSelectedTabEditors = function () { self.openSelectedTabEditors = function () {
var episodes = self.episodeTable.getSelectedRows(); var episodes = self.episodeTable.getSelectedRows();
$.each(episodes, function () { $.each(episodes, function () {
var uid = AIRTIME.library.MediaTypeStringEnum.FILE + "_" + this.file_id; var uid = AIRTIME.library.MediaTypeStringEnum.FILE + "_" + this.file_id;
@ -215,7 +215,7 @@ var AIRTIME = (function (AIRTIME) {
* @private * @private
*/ */
StationPodcastController.prototype._initTable = function() { StationPodcastController.prototype._initTable = function() {
var $scope = this.$scope, var self = this, $scope = this.$scope,
buttons = { buttons = {
editBtn: { editBtn: {
title : $.i18n._('Edit Metadata'), title : $.i18n._('Edit Metadata'),
@ -223,8 +223,8 @@ var AIRTIME = (function (AIRTIME) {
extraBtnClass : '', extraBtnClass : '',
elementId : '', elementId : '',
eventHandlers : { eventHandlers : {
click: function(e) { click: function () {
$scope.openSelectedTabEditors(); self.openSelectedTabEditors();
} }
} }
}, },
@ -234,8 +234,8 @@ var AIRTIME = (function (AIRTIME) {
extraBtnClass : 'btn-danger', extraBtnClass : 'btn-danger',
elementId : '', elementId : '',
eventHandlers : { eventHandlers : {
click: function(e) { click: function () {
$scope.deleteSelectedEpisodes(); self.deleteSelectedEpisodes();
} }
} }
} }