Some minor style changes for podcasting

This commit is contained in:
Albert Santoni 2015-11-11 18:01:09 -05:00
parent 86b7dec6fb
commit e5c198b61b
4 changed files with 16 additions and 16 deletions

View File

@ -223,13 +223,13 @@ class Application_Form_EditAudioMD extends Zend_Form
$this->addElement('button', 'publishdialog', array(
'ignore' => true,
'class' => 'btn md-publish',
'label' => _('Publish track'),
'label' => _('Publish...'),
'decorators' => array(
'ViewHelper'
)
));
$this->addDisplayGroup(array('editmdsave', 'editmdcancel', 'publishdialog'), 'submitButtons', array(
$this->addDisplayGroup(array('publishdialog', 'editmdsave', 'editmdcancel'), 'submitButtons', array(
'decorators' => array(
'FormElements',
'DtDdWrapper'

View File

@ -3,18 +3,18 @@
<h2>
<?php echo _("Publishing") ?> "<span ng-bind="media.track_title" class="title_obj_name"></span>"
</h2>
<button ng-click="openEditDialog()" class="btn publish-edit-md"><?php echo _("Edit Metadata") ?></button>
<button ng-click="openEditDialog()" class="btn publish-edit-md"><?php echo _("Edit Metadata...") ?></button>
</div>
<div class="inner_editor_wrapper">
<form class="media-metadata">
<input ng-value="media.id" class="obj_id" type="hidden"/>
<label class="publish-md-field"><?php echo _("Title") ?></label>
<label class="publish-md-field"><?php echo _("Title:") ?></label>
<input disabled ng-model="media.track_title" type="text"/>
<label class="publish-md-field"><?php echo _("Creator") ?></label>
<label class="publish-md-field"><?php echo _("Creator:") ?></label>
<input disabled ng-model="media.artist_name" type="text"/>
<label class="publish-md-field"><?php echo _("Description") ?></label>
<label class="publish-md-field"><?php echo _("Description:") ?></label>
<textarea disabled ng-model="media.description"></textarea>
<fieldset>
<legend><?php echo _("Publish to:"); ?></legend>

View File

@ -9,12 +9,7 @@
</div>
<div class="inner_editor_wrapper station_podcast_wrapper">
<form class="podcast-metadata">
<p>
<?php echo _("Check out the ") ?><a target="_blank" href="http://cyber.law.harvard.edu/rss/rss.html#requiredChannelElements"><?php echo _("RSS specification") ?></a>
<?php echo _(" or the ") ?><a target="_blank" href="http://www.apple.com/ca/itunes/podcasts/specs.html"><?php echo _("Apple podcasting specification") ?></a>
<?php echo _(" for more information.") ?>
</p>
<H4>About your Podcast</H4>
<input ng-value="podcast.id" class="obj_id" type="hidden"/>
<div>
@ -78,6 +73,12 @@
<label><?php echo _("Explicit") ?></label>
<input name="podcast_itunes_explicit" ng-model="podcast.itunes_explicit" type="checkbox"/>
</fieldset>
<p>
<?php echo(sprintf(_("For detailed information on what these metadata fields mean, please see the %sRSS specification%s
or %sApple's podcasting documentation%s."),
'<a href="http://cyber.law.harvard.edu/rss/rss.html#requiredChannelElements">', '</a>',
'<a target="_blank" href="http://www.apple.com/ca/itunes/podcasts/specs.html">', "</a>")); ?>
</p>
</form>
</div>

View File

@ -2451,8 +2451,7 @@ dd.radio-inline-list, .preferences dd.radio-inline-list, .stream-config dd.radio
}
.md-publish {
width: 100%;
margin-top: 4px;
margin-right: 4px;
}
.md-save {
@ -4014,7 +4013,7 @@ li .ui-state-hover {
.podcast-metadata p {
text-align: center;
padding: 0 5%;
padding: 0 10px;
margin-top: 0;
}