CC-84: Smart Playlists

-fixed playlist type spacing on UI
This commit is contained in:
denise 2012-07-20 12:32:18 -04:00
parent a67b2fa300
commit 9bdb4a40e0
2 changed files with 7 additions and 3 deletions

View File

@ -3,8 +3,8 @@
<legend style='cursor: pointer;'><span class='ui-icon ui-icon-triangle-2-n-s'></span>Smart Playlist Options</legend> <legend style='cursor: pointer;'><span class='ui-icon ui-icon-triangle-2-n-s'></span>Smart Playlist Options</legend>
<dl class='zend_form'> <dl class='zend_form'>
<div id='sp-success' class='success' style='display:none'></div> <div id='sp-success' class='success' style='display:none'></div>
<dd id='sp_type-element' class='radio-inline-list'> <dd id='sp_type-element'>
<label> <label class='sp-label'>
<?php echo $this->element->getElement('sp_type')->getLabel() ?> <?php echo $this->element->getElement('sp_type')->getLabel() ?>
<span class='playlist_type_help_icon'></span> <span class='playlist_type_help_icon'></span>
</label> </label>
@ -12,7 +12,7 @@
$value = $this->element->getElement('sp_type')->getValue(); $value = $this->element->getElement('sp_type')->getValue();
foreach ($this->element->getElement('sp_type')->getMultiOptions() as $radio) : ?> foreach ($this->element->getElement('sp_type')->getMultiOptions() as $radio) : ?>
<label for='sp_type-<?php echo $i?>'> <label class='sp-label' for='sp_type-<?php echo $i?>'>
<input type="radio" value="<?php echo $i ?>" id="sp_type-<?php echo $i ?>" name="sp_type" <?php if($i == $value){echo 'checked="checked"';}?> ><?php echo $radio ?> <input type="radio" value="<?php echo $i ?>" id="sp_type-<?php echo $i ?>" name="sp_type" <?php if($i == $value){echo 'checked="checked"';}?> ><?php echo $radio ?>
</label> </label>
<?php $i = $i + 1; ?> <?php $i = $i + 1; ?>

View File

@ -477,6 +477,10 @@ input.input_text.sp_extra_input_text{
width: 16px; width: 16px;
display: inline-block; display: inline-block;
} }
.sp-label{
padding: 0px !important;
}
/***** SMART PLAYLIST SPECIFIC STYLES END *****/ /***** SMART PLAYLIST SPECIFIC STYLES END *****/
label { label {