WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/01/2014 10:19:51 PM (8 years ago)
Author:
nacin
Message:

Theme Installer fixes:

  • Better more filters section. props sonjanyc for some mockups.
  • Better handling of no results.
  • Use # for hrefs.

props matveb.
see #27055.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/theme-install.php

    r27804 r27896  
    119119        <a class="theme-section" href="#" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></a>
    120120        <div class="theme-top-filters">
    121             <!--<span class="theme-filter" data-filter="photoblogging">Photography</span>
    122             <span class="theme-filter" data-filter="responsive-layout">Responsive</span>-->
     121            <!-- <span class="theme-filter" data-filter="photoblogging">Photography</span>
     122            <span class="theme-filter" data-filter="responsive-layout">Responsive</span> -->
    123123            <a class="more-filters" href="#"><?php _e( 'Feature Filter' ); ?></a>
    124124        </div>
     
    141141        ?>
    142142            <br class="clear" />
     143            <a class="apply-filters button button-secondary" href="#"><?php _e( 'Apply Filters' ); ?><span></span></a>
     144            <a class="clear-filters button button-secondary" href="#"><?php _e( 'Clear' ); ?></a>
     145            <div class="filtering-by">
     146                <span><?php _e( 'Filtering by:' ); ?></span>
     147                <div class="tags"></div>
     148            </div>
    143149        </div>
    144150    </div>
     
    147153    <div id="theme-installer" class="wp-full-overlay expanded"></div>
    148154
     155    <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
    149156    <span class="spinner"></span>
    150157
     
    189196    <div class="wp-full-overlay-sidebar">
    190197        <div class="wp-full-overlay-header">
    191             <a href="" class="close-full-overlay button-secondary"><?php _e( 'Close' ); ?></a>
     198            <a href="#" class="close-full-overlay button-secondary"><?php _e( 'Close' ); ?></a>
    192199            <a href="{{ data.installURI }}" class="button button-primary theme-install"><?php _e( 'Install' ); ?></a>
    193200        </div>
     
    214221        </div>
    215222        <div class="wp-full-overlay-footer">
    216             <a href="" class="collapse-sidebar" title="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">
     223            <a href="#" class="collapse-sidebar" title="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">
    217224                <span class="collapse-sidebar-label"><?php _e( 'Collapse' ); ?></span>
    218225                <span class="collapse-sidebar-arrow"></span>
Note: See TracChangeset for help on using the changeset viewer.