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( $this->addElement('button', 'publishdialog', array(
'ignore' => true, 'ignore' => true,
'class' => 'btn md-publish', 'class' => 'btn md-publish',
'label' => _('Publish track'), 'label' => _('Publish...'),
'decorators' => array( 'decorators' => array(
'ViewHelper' 'ViewHelper'
) )
)); ));
$this->addDisplayGroup(array('editmdsave', 'editmdcancel', 'publishdialog'), 'submitButtons', array( $this->addDisplayGroup(array('publishdialog', 'editmdsave', 'editmdcancel'), 'submitButtons', array(
'decorators' => array( 'decorators' => array(
'FormElements', 'FormElements',
'DtDdWrapper' 'DtDdWrapper'

View File

@ -3,18 +3,18 @@
<h2> <h2>
<?php echo _("Publishing") ?> "<span ng-bind="media.track_title" class="title_obj_name"></span>" <?php echo _("Publishing") ?> "<span ng-bind="media.track_title" class="title_obj_name"></span>"
</h2> </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>
<div class="inner_editor_wrapper"> <div class="inner_editor_wrapper">
<form class="media-metadata"> <form class="media-metadata">
<input ng-value="media.id" class="obj_id" type="hidden"/> <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"/> <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"/> <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> <textarea disabled ng-model="media.description"></textarea>
<fieldset> <fieldset>
<legend><?php echo _("Publish to:"); ?></legend> <legend><?php echo _("Publish to:"); ?></legend>

View File

@ -9,12 +9,7 @@
</div> </div>
<div class="inner_editor_wrapper station_podcast_wrapper"> <div class="inner_editor_wrapper station_podcast_wrapper">
<form class="podcast-metadata"> <form class="podcast-metadata">
<p> <H4>About your Podcast</H4>
<?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>
<input ng-value="podcast.id" class="obj_id" type="hidden"/> <input ng-value="podcast.id" class="obj_id" type="hidden"/>
<div> <div>
@ -78,6 +73,12 @@
<label><?php echo _("Explicit") ?></label> <label><?php echo _("Explicit") ?></label>
<input name="podcast_itunes_explicit" ng-model="podcast.itunes_explicit" type="checkbox"/> <input name="podcast_itunes_explicit" ng-model="podcast.itunes_explicit" type="checkbox"/>
</fieldset> </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> </form>
</div> </div>

View File

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