diff --git a/_repo_assets/screenshot-2.png b/_repo_assets/screenshot-2.png index a5e62931..4b6d1ed6 100644 Binary files a/_repo_assets/screenshot-2.png and b/_repo_assets/screenshot-2.png differ diff --git a/assets/css/admin.css b/assets/css/admin.css index 2d54b892..942a04dd 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -10,4 +10,8 @@ .view-feed-link span{font-size:100%;margin-top:2px;margin-bottom:-2px;} #podcast_settings .update-nag{margin:0;padding:1px 9pt;} textarea#episode_embed_code{width:100%;height:60px;} -.episode_embed_code_size_option{width:50px;} \ No newline at end of file +.episode_embed_code_size_option{width:50px;} +#podcast-episode-data p{line-height:1.8;} +#podcast-episode-data input[type="radio"]{vertical-align: middle!important;} +#podcast-episode-data input[type="text"]{min-width:50%;} +.ssp-episode-details-label{font-weight:bold;} \ No newline at end of file diff --git a/includes/class-ssp-admin.php b/includes/class-ssp-admin.php index 1611d7ef..8b5bad3b 100644 --- a/includes/class-ssp-admin.php +++ b/includes/class-ssp-admin.php @@ -446,8 +446,6 @@ public function meta_box_content() { $html .= ''; if ( 0 < count( $field_data ) ) { - $html .= '' . "\n"; - $html .= '' . "\n"; $html .= ''; @@ -470,23 +468,29 @@ public function meta_box_content() { switch( $v['type'] ) { case 'file': - $html .= '' . "\n"; + $html .= '

+ +
+ + +
+ ' . $v['description'] . ' +

' . "\n"; break; case 'checkbox': - $html .= '' . "\n"; + $html .= '

' . "\n"; break; case 'radio': - $html .= '' . "\n"; + $html .= '

+ ' . $v['name'] . '
'; + foreach( $v['options'] as $option => $label ) { + $html .= ' + ' . "\n"; + } + $html .= '' . $v['description'] . ' +

' . "\n"; break; case 'datepicker': @@ -494,23 +498,28 @@ public function meta_box_content() { if( $data ) { $display_date = date( 'j F, Y', strtotime( $data ) ); } - $html .= '' . "\n"; + $html .= '

+ +
+ + +
+ ' . $v['description'] . ' +

' . "\n"; break; default: - $html .= '' . "\n"; + $html .= '

+ +
+ +
+ ' . $v['description'] . ' +

' . "\n"; break; } } - - $html .= '' . "\n"; - $html .= '
' . "\n"; - $html .= '

' . $v['description'] . '

' . "\n"; - $html .= '
' . $v['name'] . ' ' . "\n"; - $html .= '
' . $v['name'] . '' ."\n"; - foreach( $v['options'] as $option => $label ) { - $html .= ' ' . "\n"; - } - $html .= '

' . $v['description'] . '

' . "\n"; - $html .= '
' . "\n"; - $html .= '' . "\n"; - $html .= '

' . $v['description'] . '

' . "\n"; - $html .= '
' . "\n"; - $html .= '

' . $v['description'] . '

' . "\n"; - $html .= '
' . "\n"; } echo $html; diff --git a/readme.txt b/readme.txt index 907a8862..bd6ff14f 100644 --- a/readme.txt +++ b/readme.txt @@ -88,8 +88,9 @@ You can find complete user and developer documentation (along with the FAQs) on = 1.14.9 = * 2016-07-21 * UPDATE SUMMARY: Improving accessibility and allowing for more frontend customisation. -* [TWEAK] Adding `download` attribute to episode download links +* [TWEAK] Adding `download` attribute to episode download links (props [Chris Christoff](https://github.com/chriscct7)) * [TWEAK] Adding HTML tags and classes to episode meta details +* [TWEAK] Improving layout of episode details fields on edit screen for design and accessibility = 1.14.8 = * 2016-06-06