Changeset 10465
- Timestamp:
- 01/25/2016 09:37:22 PM (9 years ago)
- Location:
- trunk/src/bp-core/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-components.php
r10433 r10465 161 161 <h3 class="screen-reader-text"><?php _e( 'Components list', 'buddypress' ); ?></h3> 162 162 163 <table class="w idefat fixed plugins" cellspacing="0">163 <table class="wp-list-table widefat plugins"> 164 164 <thead> 165 165 <tr> 166 <t h scope="col" id="cb" class="manage-column column-cb check-column"> </th>167 <th scope="col" id="name" class="manage-column column- name" style="width: 190px;"><?php _e( 'Component', 'buddypress' ); ?></th>166 <td id="cb" class="manage-column column-cb check-column"><input id="cb-select-all-1" type="checkbox" disabled><label class="screen-reader-text" for="cb-select-all-1"><?php _e( 'Bulk selection is disabled', 'buddypress' ); ?></label></td> 167 <th scope="col" id="name" class="manage-column column-title column-primary"><?php _e( 'Component', 'buddypress' ); ?></th> 168 168 <th scope="col" id="description" class="manage-column column-description"><?php _e( 'Description', 'buddypress' ); ?></th> 169 169 </tr> 170 170 </thead> 171 172 <tfoot>173 <tr>174 <th scope="col" class="manage-column column-cb check-column"> </th>175 <th scope="col" class="manage-column column-name" style="width: 190px;"><?php _e( 'Component', 'buddypress' ); ?></th>176 <th scope="col" class="manage-column column-description"><?php _e( 'Description', 'buddypress' ); ?></th>177 </tr>178 </tfoot>179 171 180 172 <tbody id="the-list"> … … 191 183 192 184 <tr id="<?php echo esc_attr( $name ); ?>" class="<?php echo esc_attr( $name ) . ' ' . esc_attr( $class ); ?>"> 193 <th scope="row" >185 <th scope="row" class="check-column"> 194 186 195 187 <?php if ( !in_array( $name, array( 'core', 'members' ) ) ) : ?> 196 188 197 <input type="checkbox" id="bp_components[<?php echo esc_attr( $name ); ?>]" name="bp_components[<?php echo esc_attr( $name ); ?>]" value="1"<?php checked( isset( $active_components[esc_attr( $name )] ) ); ?> /> 189 <input type="checkbox" id="<?php echo esc_attr( "bp_components[$name]" ); ?>" name="<?php echo esc_attr( "bp_components[$name]" ); ?>" value="1"<?php checked( isset( $active_components[esc_attr( $name )] ) ); ?> /><label for="<?php echo esc_attr( "bp_components[$name]" ); ?>" class="screen-reader-text"><?php printf( __( 'Select %s', 'buddypress' ), esc_html( $labels['title'] ) ); ?></label> 190 191 <?php else : ?> 192 193 <input type="checkbox" id="<?php echo esc_attr( "bp_components[$name]" ); ?>" name="<?php echo esc_attr( "bp_components[$name]" ); ?>" value="1" checked="checked" disabled><label for="<?php echo esc_attr( "bp_components[$name]" ); ?>" class="screen-reader-text"><?php printf( __( '%s is a required component', 'buddypress' ), esc_html( $labels['title'] ) ); ?></label> 198 194 199 195 <?php endif; ?> 200 196 201 197 </th> 202 <td class="plugin-title " style="width: 190px;">198 <td class="plugin-title column-primary"> 203 199 <span></span> 204 <label for="bp_components[<?php echo esc_attr( $name ); ?>]"> 205 <strong><?php echo esc_html( $labels['title'] ); ?></strong> 206 </label> 207 208 <div class="row-actions-visible"> 209 210 </div> 200 <strong><?php echo esc_html( $labels['title'] ); ?></strong> 211 201 </td> 212 202 … … 215 205 <p><?php echo $labels['description']; ?></p> 216 206 </div> 217 <div class="active second plugin-version-author-uri"> 218 219 </div> 207 220 208 </td> 221 209 </tr> … … 232 220 233 221 </tbody> 222 223 <tfoot> 224 <tr> 225 <td class="manage-column column-cb check-column"><input id="cb-select-all-2" type="checkbox" disabled><label class="screen-reader-text" for="cb-select-all-2"><?php _e( 'Bulk selection is disabled', 'buddypress' ); ?></label></td> 226 <th class="manage-column column-title column-primary"><?php _e( 'Component', 'buddypress' ); ?></th> 227 <th class="manage-column column-description"><?php _e( 'Description', 'buddypress' ); ?></th> 228 </tr> 229 </tfoot> 230 234 231 </table> 235 232 -
trunk/src/bp-core/admin/css/common-rtl.css
r10318 r10465 127 127 /* Tools */ 128 128 #adminmenu .toplevel_page_network-tools div.wp-menu-image:before { 129 129 content: ""; 130 130 } 131 131 … … 224 224 } 225 225 226 #bp-admin-component-form .widefat th { 227 display: table-cell; 228 vertical-align: top; 229 } 226 .settings_page_bp-components tr.core td.plugin-title span:before { 227 content: "\f448"; 228 } 229 230 .settings_page_bp-components tr.members td.plugin-title span:before { 231 content: "\f307"; 232 } 233 234 #bp-admin-component-form .wp-list-table.plugins .plugin-title { 235 width: 25%; 236 } 237 238 @media screen and ( max-width: 782px ) { 239 .settings_page_bp-components td.plugin-title span { 240 margin-top: 5px; 241 } 242 #bp-admin-component-form .wp-list-table.plugins .plugin-title { 243 display: block; 244 width: auto; 245 } 246 #bp-admin-component-form .subsubsub { 247 margin-bottom: 0; 248 padding-bottom: 35px; 249 } 250 } 251 230 252 231 253 /* Version Badge */ -
trunk/src/bp-core/admin/css/common.css
r10318 r10465 127 127 /* Tools */ 128 128 #adminmenu .toplevel_page_network-tools div.wp-menu-image:before { 129 129 content: ""; 130 130 } 131 131 … … 224 224 } 225 225 226 #bp-admin-component-form .widefat th { 227 display: table-cell; 228 vertical-align: top; 229 } 226 .settings_page_bp-components tr.core td.plugin-title span:before { 227 content: "\f448"; 228 } 229 230 .settings_page_bp-components tr.members td.plugin-title span:before { 231 content: "\f307"; 232 } 233 234 #bp-admin-component-form .wp-list-table.plugins .plugin-title { 235 width: 25%; 236 } 237 238 @media screen and ( max-width: 782px ) { 239 .settings_page_bp-components td.plugin-title span { 240 margin-top: 5px; 241 } 242 #bp-admin-component-form .wp-list-table.plugins .plugin-title { 243 display: block; 244 width: auto; 245 } 246 #bp-admin-component-form .subsubsub { 247 margin-bottom: 0; 248 padding-bottom: 35px; 249 } 250 } 251 230 252 231 253 /* Version Badge */
Note: See TracChangeset
for help on using the changeset viewer.