WordPress.org

Make WordPress Core

Ticket #15980: 15980.diff

File 15980.diff, 1.9 KB (added by nacin, 3 years ago)
  • wp-admin/includes/class-wp-list-table.php

     
    194194                $input_id = $input_id . '-search-input'; 
    195195 
    196196?> 
    197 <p class="search-box"> 
     197<p class="search-box" style="position:relative"> 
     198        <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" /> 
    198199        <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 
    199200        <input type="text" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 
    200201        <?php submit_button( $text, 'button', 'submit', false ); ?> 
    201202</p> 
    202 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" /> 
    203203<?php 
    204204        } 
    205205 
     
    737737<?php 
    738738                $this->extra_tablenav( $which ); 
    739739                $this->pagination( $which ); 
    740  
    741 if ( 'bottom' == $which ) { 
    742740?> 
     741                <br class="clear" /> 
     742<?php if ( 'bottom' == $which ) { ?> 
    743743<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" /> 
    744744<?php } ?> 
    745  
    746                 <br class="clear" /> 
    747745        </div> 
    748746<?php 
    749747        } 
  • wp-admin/css/wp-admin.dev.css

     
    42284228} 
    42294229* html #template div {margin-right: 0;} 
    42304230 
    4231 .list-ajax-loading { 
    4232         float: right; 
    4233         margin-right: 9px; 
    4234         margin-top: -1px; 
     4231p.search-box { 
     4232        position: relative; 
    42354233} 
     4234p.search-box .list-ajax-loading { 
     4235        position: absolute; 
     4236        top: -18px; 
     4237        right: 0; 
     4238        margin: 0 2px 10px 0; 
     4239} 
    42364240.tablenav .list-ajax-loading { 
    4237         margin-top: 7px; 
     4241        float: right; 
     4242        margin: 0 2px 10px 0; 
    42384243} 
    42394244#howto { 
    42404245        font-size: 11px;