Active plugin highlighting tweaks from MT. fixes #6275
git-svn-id: https://develop.svn.wordpress.org/trunk@7538 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
470a34a524
commit
337574056a
@ -380,7 +380,7 @@ input.readonly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#plugins .active {
|
#plugins .active {
|
||||||
background-color: #EAF3FA;
|
background-color: #e7f7d3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugins .togl {
|
#plugins .togl {
|
||||||
|
@ -117,7 +117,7 @@ h6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.widefat td {
|
.widefat td {
|
||||||
padding: 7px 15px 6px 10px;
|
padding: 7px 15px 9px 10px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIN
wp-admin/images/active.png
Normal file
BIN
wp-admin/images/active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 781 B |
@ -106,7 +106,7 @@ if (empty($plugins)) {
|
|||||||
<th><?php _e('Plugin'); ?></th>
|
<th><?php _e('Plugin'); ?></th>
|
||||||
<th class="num"><?php _e('Version'); ?></th>
|
<th class="num"><?php _e('Version'); ?></th>
|
||||||
<th><?php _e('Description'); ?></th>
|
<th><?php _e('Description'); ?></th>
|
||||||
<th><?php _e('Status') ?></th>
|
<th class="status"><?php _e('Status') ?></th>
|
||||||
<th class="action-links"><?php _e('Action'); ?></th>
|
<th class="action-links"><?php _e('Action'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -147,9 +147,9 @@ if (empty($plugins)) {
|
|||||||
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
|
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
|
||||||
<td class='status'>";
|
<td class='status'>";
|
||||||
if ( is_plugin_active($plugin_file) )
|
if ( is_plugin_active($plugin_file) )
|
||||||
echo __('Active');
|
echo __('<span class="active">Active</span>');
|
||||||
else
|
else
|
||||||
_e('Inactive');
|
_e('<span class="inactive">Inactive</span>');
|
||||||
echo "</td>
|
echo "</td>
|
||||||
<td class='togl action-links'>$toggle";
|
<td class='togl action-links'>$toggle";
|
||||||
if ( !empty($action_links) )
|
if ( !empty($action_links) )
|
||||||
|
@ -1460,3 +1460,17 @@ td.action-links, th.action-links {
|
|||||||
.hide-if-no-js {
|
.hide-if-no-js {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status * {
|
||||||
|
line-height: 16px;
|
||||||
|
display: block;
|
||||||
|
padding-left: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
th.status {
|
||||||
|
padding-left: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status .active {
|
||||||
|
background: url(images/active.png) center left no-repeat;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user