Style updates to plugins, export, and sidemenu from mt. fixes #6019
git-svn-id: http://svn.automattic.com/wordpress/trunk@7066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
92cd35b5a2
commit
b310e6a620
|
@ -65,8 +65,8 @@ textarea, input, select {
|
||||||
|
|
||||||
.widefat td, .widefat th {
|
.widefat td, .widefat th {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
font-size: 10px;
|
font-size: 12px;
|
||||||
padding: 10px 6px 20px 6px;
|
padding: 10px 10px 20px;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ textarea, input, select {
|
||||||
.wrap {
|
.wrap {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
margin-right: 25px;
|
margin-right: 15px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,16 +14,15 @@ require_once ('admin-header.php');
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h2><?php _e('Export'); ?></h2>
|
<h2><?php _e('Export'); ?></h2>
|
||||||
<div class="narrow">
|
|
||||||
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
|
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
|
||||||
<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, comments, custom fields, and categories.'); ?></p>
|
<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, comments, custom fields, and categories.'); ?></p>
|
||||||
<p><?php _e('Once you’ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
|
<p><?php _e('Once you’ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
|
||||||
<form action="" method="get">
|
<form action="" method="get">
|
||||||
<h3><?php _e('Optional options'); ?></h3>
|
<h3><?php _e('Options'); ?></h3>
|
||||||
|
|
||||||
<table class="niceblue">
|
<table class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php _e('Restrict Author:'); ?></th>
|
<th><?php _e('Restrict Author'); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="author">
|
<select name="author">
|
||||||
<option value="all" selected="selected"><?php _e('All Authors'); ?></option>
|
<option value="all" selected="selected"><?php _e('All Authors'); ?></option>
|
||||||
|
@ -43,7 +42,6 @@ foreach ( $authors as $id ) {
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -81,15 +81,38 @@ if (empty($plugins)) {
|
||||||
echo '</p>';
|
echo '</p>';
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<table class="widefat plugins">
|
|
||||||
|
<div class="tablenav">
|
||||||
|
<div style="float: left">
|
||||||
|
<?php
|
||||||
|
$active = get_option('active_plugins');
|
||||||
|
$inactive = get_option('deactivated_plugins');
|
||||||
|
if ( !empty($active) ) {
|
||||||
|
?>
|
||||||
|
<a class="button-secondary" href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a>
|
||||||
|
<?php
|
||||||
|
} elseif ( empty($active) && !empty($inactive) ) {
|
||||||
|
?>
|
||||||
|
<a class="button-secondary" href="<?php echo wp_nonce_url('plugins.php?action=reactivate-all', 'reactivate-all'); ?>" class="delete"><?php _e('Reactivate All Plugins'); ?></a>
|
||||||
|
<?php
|
||||||
|
} // endif active/inactive plugin check
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<br style="clear:both;">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br style="clear:both;">
|
||||||
|
|
||||||
|
<table class="widefat">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php _e('Plugin'); ?></th>
|
<th><?php _e('Plugin'); ?></th>
|
||||||
<th style="text-align: center"><?php _e('Version'); ?></th>
|
<th style="text-align: center"><?php _e('Version'); ?></th>
|
||||||
<th><?php _e('Description'); ?></th>
|
<th><?php _e('Description'); ?></th>
|
||||||
<th style="text-align: center"<?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
|
<th <?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody id="plugins">
|
||||||
<?php
|
<?php
|
||||||
$style = '';
|
$style = '';
|
||||||
|
|
||||||
|
@ -126,36 +149,15 @@ if (empty($plugins)) {
|
||||||
<td class='name'>{$plugin_data['Title']}</td>
|
<td class='name'>{$plugin_data['Title']}</td>
|
||||||
<td class='vers'>{$plugin_data['Version']}</td>
|
<td class='vers'>{$plugin_data['Version']}</td>
|
||||||
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
|
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
|
||||||
<td class='togl'>$toggle</td>";
|
<td class='togl'>$toggle"; if ( current_user_can('edit_plugins') ) echo " | $edit</td>";
|
||||||
if ( current_user_can('edit_plugins') )
|
|
||||||
echo "
|
|
||||||
<td>$edit</td>";
|
|
||||||
echo"
|
echo"
|
||||||
</tr>";
|
</tr>";
|
||||||
do_action( 'after_plugin_row', $plugin_file );
|
do_action( 'after_plugin_row', $plugin_file );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
</tbody>
|
||||||
<tr>
|
|
||||||
<td colspan="3"> </td>
|
|
||||||
<td colspan="2" style="width:12em;">
|
|
||||||
<?php
|
|
||||||
$active = get_option('active_plugins');
|
|
||||||
$inactive = get_option('deactivated_plugins');
|
|
||||||
if ( !empty($active) ) {
|
|
||||||
?>
|
|
||||||
<a href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a>
|
|
||||||
<?php
|
|
||||||
} elseif ( empty($active) && !empty($inactive) ) {
|
|
||||||
?>
|
|
||||||
<a href="<?php echo wp_nonce_url('plugins.php?action=reactivate-all', 'reactivate-all'); ?>" class="delete"><?php _e('Reactivate All Plugins'); ?></a>
|
|
||||||
<?php
|
|
||||||
} // endif active/inactive plugin check
|
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,10 +1,24 @@
|
||||||
.plugins p {
|
#plugins .active td {
|
||||||
margin: 4px;
|
opacity:1;
|
||||||
|
filter:alpha(opacity=100)
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugins .active td.name {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugins td {
|
||||||
|
opacity:0.70;
|
||||||
|
filter:alpha(opacity=70)
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugins p {
|
||||||
|
margin: 0 4px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins .name {
|
#plugins .togl {
|
||||||
font-size: 16px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.import-system {
|
.import-system {
|
||||||
|
@ -116,7 +130,9 @@ form#upload #post_content {
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit {
|
.submit {
|
||||||
margin: 1.5em 0 0 0;
|
border-top: 1px solid #ccc;
|
||||||
|
padding: 1.5em 0 0 0;
|
||||||
|
margin: 10px 0 0 0;
|
||||||
-moz-border-radius-bottomleft: 3px;
|
-moz-border-radius-bottomleft: 3px;
|
||||||
-khtml-border-bottom-left-radius: 3px;
|
-khtml-border-bottom-left-radius: 3px;
|
||||||
-webkit-border-bottom-left-radius: 3px;
|
-webkit-border-bottom-left-radius: 3px;
|
||||||
|
@ -197,7 +213,7 @@ select {
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
margin-right: 15%;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.updated a, .error a {
|
.updated a, .error a {
|
||||||
|
@ -395,19 +411,6 @@ input.disabled, textarea.disabled {
|
||||||
zoom: 1;
|
zoom: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active td {
|
|
||||||
background: #BEB;
|
|
||||||
}
|
|
||||||
.active .name {
|
|
||||||
background: #9C9;
|
|
||||||
}
|
|
||||||
.alternate.active td {
|
|
||||||
background: #ADA;
|
|
||||||
}
|
|
||||||
.alternate.active .name {
|
|
||||||
background: #8B8;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ajax-response {
|
#ajax-response {
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
}
|
}
|
||||||
|
@ -522,6 +525,11 @@ p.pagenav {
|
||||||
border-color: #e4f2fd;
|
border-color: #e4f2fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tablenav a.button-secondary {
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.tablenav .next, .tablenav .prev{
|
.tablenav .next, .tablenav .prev{
|
||||||
border-color: #e4f2fd;
|
border-color: #e4f2fd;
|
||||||
background-color: #e4f2fd;
|
background-color: #e4f2fd;
|
||||||
|
@ -603,7 +611,7 @@ a.view-comment-post-link {
|
||||||
|
|
||||||
#user_info {
|
#user_info {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 25px;
|
right: 15px;
|
||||||
top: 11px;
|
top: 11px;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
|
@ -742,7 +750,7 @@ a.view-comment-post-link {
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidemenu {
|
#sidemenu {
|
||||||
margin: -30px 15% 0 315px;
|
margin: -30px 15px 0 315px;
|
||||||
color: #999;
|
color: #999;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -912,6 +920,7 @@ html, body {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin-bottom: -8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-table td {
|
.form-table td {
|
||||||
|
@ -925,6 +934,7 @@ html, body {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-bottom: 8px solid #fff;
|
border-bottom: 8px solid #fff;
|
||||||
|
width: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-table tr {
|
.form-table tr {
|
||||||
|
@ -1134,7 +1144,7 @@ html, body {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: #eaf3fa;
|
background-color: #eaf3fa;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
right: 25px;
|
right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1386,7 +1396,7 @@ ul.view-switch li.current a {
|
||||||
|
|
||||||
#the-comment-list td {
|
#the-comment-list td {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
font-size: 11px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#the-comment-list td.comment {
|
#the-comment-list td.comment {
|
||||||
|
|
Loading…
Reference in New Issue