WordPress.org

Make WordPress Core

Changeset 27487


Ignore:
Timestamp:
03/09/2014 11:18:06 PM (6 years ago)
Author:
wonderboymusic
Message:

Update the UI styles for Playlist Settings.

Props melchoyce for the design.
See #26631.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/media-views.css

    r27454 r27487  
    14331433}
    14341434
     1435.collection-settings .setting input[type="checkbox"] {
     1436    float: left;
     1437    margin-right: 8px;
     1438}
     1439
     1440.collection-settings .setting span {
     1441    min-width: inherit;
     1442}
     1443
    14351444/**
    14361445 * Image Editor
  • trunk/src/wp-includes/media-template.php

    r27481 r27487  
    419419
    420420        <label class="setting">
    421             <span><?php _e( 'Random Order' ); ?></span>
    422             <input type="checkbox" data-setting="_orderbyRandom" />
    423         </label>
    424 
    425         <label class="setting">
    426421            <span><?php _e( 'Style' ); ?></span>
    427422            <select class="style" data-setting="style">
     
    439434        #>
    440435        <label class="setting">
    441             <span><?php _e( 'Show Tracklist' ); ?></span>
     436            <input type="checkbox" data-setting="_orderbyRandom" />
     437            <span><?php _e( 'Random Order' ); ?></span>
     438        </label>
     439
     440        <label class="setting">
    442441            <input type="checkbox" data-setting="tracklist" <# if ( playlist && emptyModel ) { #>
    443442                checked="checked"
    444443            <# } #> />
    445         </label>
    446 
    447         <label class="setting">
    448             <span><?php _e( 'Show Track Numbers' ); ?></span>
     444            <span><?php _e( 'Show Tracklist' ); ?></span>
     445        </label>
     446
     447        <label class="setting">
    449448            <input type="checkbox" data-setting="tracknumbers" <# if ( playlist && emptyModel ) { #>
    450449                checked="checked"
    451450            <# } #> />
    452         </label>
    453 
    454         <label class="setting">
    455             <span><?php _e( 'Show Artist Name in Tracklist' ); ?></span>
     451            <span><?php _e( 'Show Track Numbers' ); ?></span>
     452        </label>
     453
     454        <label class="setting">
    456455            <input type="checkbox" data-setting="artists" <# if ( playlist && emptyModel ) { #>
    457456                checked="checked"
    458457            <# } #> />
    459         </label>
    460 
    461         <label class="setting">
    462             <span><?php _e( 'Show Images' ); ?></span>
     458            <span><?php _e( 'Show Artist Name in Tracklist' ); ?></span>
     459        </label>
     460
     461        <label class="setting">
    463462            <input type="checkbox" data-setting="images" <# if ( emptyModel ) { #>
    464463                checked="checked"
    465464            <# } #> />
     465            <span><?php _e( 'Show Images' ); ?></span>
    466466        </label>
    467467    </script>
Note: See TracChangeset for help on using the changeset viewer.