remove individual podcast "overwrite" checkbox, improve layout

This commit is contained in:
ryan 2019-01-22 19:06:41 -06:00
parent ccdd447ddc
commit aadc254c88
2 changed files with 8 additions and 16 deletions

View File

@ -16,24 +16,16 @@
<a href="{{podcast.url}}" target="_blank" class="podcast-url">{{podcast.url}}</a>
</div>
<div class="podcast-metadata-row">
<label for="podcast_auto_ingest"><?php echo _("Download latest episodes:") ?></label>
<div>
<input name="podcast_auto_ingest" id="podcast_auto_ingest" ng-model="podcast.auto_ingest" type="checkbox"/>
</div>
<label for="podcast_auto_ingest"><?php echo _("Automatically download latest episodes") ?></label>
</div>
<div class="podcast-metadata-row">
<div>
<input name="podcast_album_override" id="podcast_album_override" ng-model="podcast.album_override" type="checkbox" />
</div>
<div>
<label for="podcast_album_override"><?php echo _("Overwrite episode track metadata"); ?></label> <span class='album_names help_icon'></span>
</div>
</div>
<div class="podcast-metadata-row" >
<div></div>
<label><?php echo _("Scheduling:") ?></label>
<div>
<button ng-click="createSmartblock()" ng-disabled="!podcast.album_override" class="btn" type="button" name="smartblock">
<?php echo _("Generate Smartblock and Playlist for Podcast") ?>
<button ng-click="createSmartblock()" class="btn" type="button" name="smartblock">
<?php echo _("Generate Smartblock and Playlist") ?>
</button>
<div class='pc-sb-success success' style='display:none'></span></div>
</div>

View File

@ -4145,15 +4145,15 @@ li .ui-state-hover {
float: none;
}
.podcast-metadata-row > *:first-child {
flex: 0 0 25%;
max-width: 25%;
flex: 0 0 40%;
max-width: 40%;
text-align: right;
padding-right: 2%;
box-sizing: border-box;
}
.podcast-metadata-row > *:last-child {
flex: 0 0 75%;
max-width: 75%;
flex: 0 0 60%;
max-width: 60%;
box-sizing: border-box;
text-align: left;
}