Improved styling of podcast subscribe dialog

This commit is contained in:
Albert Santoni 2015-11-10 15:10:08 -05:00
parent f4e9328e57
commit 127eeda0b3
3 changed files with 21 additions and 8 deletions

View File

@ -1,12 +1,21 @@
<div id="podcast_url_dialog"> <div id="podcast_url_dialog">
<form name="podcast_url_form"> <form name="podcast_url_form" style="margin-top: 10px;">
<?php echo $this->csrf ?> <?php echo $this->csrf ?>
<label> <table style="padding: 0;">
<?php echo _("Podcast URL"); ?> <tr>
<input type="text" name="url" /> <td style="padding-top: 7px; vertical-align: top">
</label> <label for="podcast_url_field">
<?php echo _("RSS Feed URL:"); ?>
</label>
</td>
<td style="text-align: right">
<input type="text" name="podcast_url_field" name="url" size="40" style="margin-left: 10px; margin-bottom: 10px;" placeholder="http://example.com/podcast.xml"/>
</td>
</tr>
</table>
<button class="btn btn-new right-floated" type="button" onclick="AIRTIME.podcast.addPodcast()"> <button class="btn btn-new right-floated" type="button" onclick="AIRTIME.podcast.addPodcast()">
<?php echo _("Subscribe"); ?> <?php echo _("Subscribe"); ?>
</button> </button>
</form> </form>
<!-- <p style="clear: both; text-align: center; opacity: 0.7; margin-top: 20px;">Paste the URL of a podcast RSS feed above.</p> -->
</div> </div>

View File

@ -4164,3 +4164,7 @@ li .ui-state-hover {
.publish-edit-md { .publish-edit-md {
float: right; float: right;
} }
#podcast_url_dialog table tr td {
padding: 0px;
}

View File

@ -487,8 +487,8 @@ var AIRTIME = (function (AIRTIME) {
title: $.i18n._("Add New Podcast"), title: $.i18n._("Add New Podcast"),
resizable: false, resizable: false,
modal: true, modal: true,
width: 'auto', width: '450px',
height: 'auto' height: 129
}); });
}); });
}; };