60 lines
2.8 KiB
PHTML
60 lines
2.8 KiB
PHTML
<div class="angular_wrapper" ng-controller="Podcast">
|
|
<div class="inner_editor_title">
|
|
<h2>
|
|
<?php echo _("Editing ") ?>"<span ng-bind="podcast.title" class="title_obj_name"></span>"
|
|
</h2>
|
|
</div>
|
|
<div class="inner_editor_wrapper">
|
|
<form class="podcast-metadata">
|
|
<input ng-value="podcast.id" class="obj_id" type="hidden"/>
|
|
<div class="podcast-metadata-row">
|
|
<label for="podcast_name"><?php echo _("Podcast Name: ") ?></label>
|
|
<input name="podcast_name" type="text" ng-model="podcast.title" value={{podcast.title}} >
|
|
</div>
|
|
<div class="podcast-metadata-row">
|
|
<label for="podcast_url"><?php echo _("Podcast URL: ") ?></label>
|
|
<a href="{{podcast.url}}" target="_blank" class="podcast-url">{{podcast.url}}</a>
|
|
</div>
|
|
<div class="podcast-metadata-row">
|
|
<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>
|
|
<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>
|
|
<div class='pc-sb-success success' style='display:none'></span></div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<table class="datatable podcast_episodes" cellpadding="0" cellspacing="0"></table>
|
|
|
|
<div class="btn-toolbar clearfix">
|
|
<div class="btn-group pull-right">
|
|
<button ng-click="discard()" class="btn" type="button" name="cancel">
|
|
<?php echo _("Cancel") ?>
|
|
</button>
|
|
</div>
|
|
<div class='btn-group pull-right'>
|
|
<button ng-click="savePodcast()" class="btn" title='<?php echo _("Save podcast") ?>' type="button">
|
|
<?php echo _("Save") ?>
|
|
</button>
|
|
</div>
|
|
<div class='success' style='display:none'></div>
|
|
</div>
|
|
</div>
|