Improved admin styling a bit. Removed tables, made smaller.
git-svn-id: http://svn.automattic.com/wordpress/trunk@313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
785ef2b6b0
commit
6bb6984d12
|
@ -63,19 +63,18 @@ function focusit() {
|
||||||
}
|
}
|
||||||
window.onload = focusit;
|
window.onload = focusit;
|
||||||
</script>
|
</script>
|
||||||
<table>
|
|
||||||
<tr>
|
<div id="titlediv">
|
||||||
<td width="210">
|
|
||||||
<label for="title"><a href="http://wordpress.org/docs/reference/post/#title" title="Help on titles">Title</a>:</label>
|
<label for="title"><a href="http://wordpress.org/docs/reference/post/#title" title="Help on titles">Title</a>:</label>
|
||||||
<br />
|
<br />
|
||||||
<input type="text" name="post_title" size="25" tabindex="1" style="width: 190px;" value="<?php echo $edited_post_title; ?>" id="title" />
|
<input type="text" name="post_title" size="25" tabindex="1" style="width: 190px;" value="<?php echo $edited_post_title; ?>" id="title" />
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div id="categorydiv">
|
||||||
<label for="category"><a href="http://wordpress.org/docs/reference/post/#category" title="Help on categories">Category</a>:</label>
|
<label for="category"><a href="http://wordpress.org/docs/reference/post/#category" title="Help on categories">Category</a>:</label>
|
||||||
<br />
|
<br />
|
||||||
<?php dropdown_categories($blog_ID, $default_post_cat); ?>
|
<?php dropdown_categories($blog_ID, $default_post_cat); ?>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div id="poststatusdiv">
|
||||||
<label for="post_status"><a href="http://wordpress.org/docs/reference/post/#post_status" title="Help on post status">Post
|
<label for="post_status"><a href="http://wordpress.org/docs/reference/post/#post_status" title="Help on post status">Post
|
||||||
Status</a>:</label>
|
Status</a>:</label>
|
||||||
<br />
|
<br />
|
||||||
|
@ -84,31 +83,30 @@ window.onload = focusit;
|
||||||
<option value="draft"<?php selected($post_status, 'draft'); ?>>Draft</option>
|
<option value="draft"<?php selected($post_status, 'draft'); ?>>Draft</option>
|
||||||
<option value="private"<?php selected($post_status, 'private'); ?>>Private</option>
|
<option value="private"<?php selected($post_status, 'private'); ?>>Private</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div id="commentstatusdiv">
|
||||||
<label for="comment_status"><a href="http://wordpress.org/docs/reference/post/#comments" title="Help on comment status">Comments</a>:</label>
|
<label for="comment_status"><a href="http://wordpress.org/docs/reference/post/#comments" title="Help on comment status">Comments</a>:</label>
|
||||||
<br />
|
<br />
|
||||||
<select name="comment_status" id="comment_status">
|
<select name="comment_status" id="comment_status">
|
||||||
<option value="open"<?php selected($comment_status, 'open'); ?>>Open</option>
|
<option value="open"<?php selected($comment_status, 'open'); ?>>Open</option>
|
||||||
<option value="closed"<?php selected($comment_status, 'closed'); ?>>Closed</option>
|
<option value="closed"<?php selected($comment_status, 'closed'); ?>>Closed</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div id="pingstatusdiv">
|
||||||
<label for="ping_status"><a href="http://wordpress.org/docs/reference/post/#pings" title="Help on ping status">Pings</a>:</label>
|
<label for="ping_status"><a href="http://wordpress.org/docs/reference/post/#pings" title="Help on ping status">Pings</a>:</label>
|
||||||
<br />
|
<br />
|
||||||
<select name="ping_status" id="ping_status">
|
<select name="ping_status" id="ping_status">
|
||||||
<option value="open"<?php selected($ping_status, 'open'); ?>>Open</option>
|
<option value="open"<?php selected($ping_status, 'open'); ?>>Open</option>
|
||||||
<option value="closed"<?php selected($ping_status, 'closed'); ?>>Closed</option>
|
<option value="closed"<?php selected($ping_status, 'closed'); ?>>Closed</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div id="postpassworddiv">
|
||||||
<label for="post_password"><a href="http://wordpress.org/docs/reference/post/#post_password" title="Help on post password">Post
|
<label for="post_password"><a href="http://wordpress.org/docs/reference/post/#post_password" title="Help on post password">Post
|
||||||
Password</a>:</label>
|
Password</a>:</label>
|
||||||
<br />
|
<br />
|
||||||
<input name="post_password" type="text" id="post_password" value="<?php echo $post_password ?>" />
|
<input name="post_password" type="text" id="post_password" value="<?php echo $post_password ?>" />
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<br clear="all" />
|
||||||
</table>
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -56,7 +56,7 @@ if ($standalone == 0) {
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<title>WordPress > <?php bloginfo('name') ?> > <?php echo $title; ?></title>
|
<title>WordPress > <?php bloginfo('name') ?> > <?php echo $title; ?></title>
|
||||||
<link rel="stylesheet" href="b2.css" type="text/css" />
|
<link rel="stylesheet" href="wp-admin.css" type="text/css" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $admin_area_charset ?>" />
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $admin_area_charset ?>" />
|
||||||
<?php
|
<?php
|
||||||
if ($redirect==1) {
|
if ($redirect==1) {
|
||||||
|
|
|
@ -0,0 +1,222 @@
|
||||||
|
a {
|
||||||
|
color: #00019b;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: #006;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #069;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body, td {
|
||||||
|
color: #000;
|
||||||
|
font-family: Georgia, "Times New Roman", Times, serif;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
form {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0; /* thanks #mozilla */
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
border-bottom: 2px solid #666;
|
||||||
|
color: #333;
|
||||||
|
margin: 2px 5px;
|
||||||
|
font: normal 22px/22px normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin-bottom: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
line-height: 130%;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea, input, select {
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
border-color: #ccc;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
font-family: Georgia, "Times New Roman", Times, serif;
|
||||||
|
margin: 1px;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alternate {
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox {
|
||||||
|
background-color: #fff;
|
||||||
|
border-width: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.quicktags, .search {
|
||||||
|
background-color: #ccc;
|
||||||
|
color: #000;
|
||||||
|
font-family: Georgia, "Times New Roman", Times, serif;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrap {
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
margin: 20px auto 10px auto;
|
||||||
|
padding: 10px;
|
||||||
|
width: 85%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helptext {
|
||||||
|
}
|
||||||
|
#titlediv, #categorydiv, #poststatusdiv, #commentstatusdiv, #pingstatusdiv, #postpassworddiv {
|
||||||
|
float: left;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#metainfo {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
#adminmenu {
|
||||||
|
list-style: none outside;
|
||||||
|
margin: 5px 0 0 0;
|
||||||
|
margin-left: 40px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu #last {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu a {
|
||||||
|
border: 1px solid #fff;
|
||||||
|
color: #333;
|
||||||
|
padding: 3px 5px 3px 4px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu a:hover, #current {
|
||||||
|
background-color: #e9e9e9;
|
||||||
|
border: 1px solid #808080;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li {
|
||||||
|
border-right: 1px solid #ccc;
|
||||||
|
display: block;
|
||||||
|
float: left;
|
||||||
|
padding: 2px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu2 {
|
||||||
|
list-style: none outside;
|
||||||
|
margin: 5px 0 0 0;
|
||||||
|
margin-left: 40px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu2 li {
|
||||||
|
border-right: 1px solid #ccc;
|
||||||
|
display: block;
|
||||||
|
float: left;
|
||||||
|
padding: 4px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu2 a {
|
||||||
|
border: 1px solid #fff;
|
||||||
|
color: #333;
|
||||||
|
padding: 3px 8px 3px 7px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu2 a:hover, #current2 {
|
||||||
|
background-color: #e9e9e9;
|
||||||
|
border: 1px solid #808080;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu2 #last2 {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#login {
|
||||||
|
background: url(http://wordpress.org/images/wp-small.png) #fff no-repeat top center;
|
||||||
|
border: 2px solid #333;
|
||||||
|
color: #333;
|
||||||
|
height: 170px;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -120px; /* half of width and height */
|
||||||
|
margin-top: -85px;
|
||||||
|
padding: 40px 5px 5px 5px;
|
||||||
|
position: absolute;
|
||||||
|
text-align: right;
|
||||||
|
top: 45%;
|
||||||
|
width: 240px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#login textarea, #login input, #login select {
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
border-color: #ccc;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
margin: 1px;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#profile {
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#profile .left {
|
||||||
|
border-right: 1px dashed #ccc;
|
||||||
|
float: left;
|
||||||
|
margin-right: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#profile label {
|
||||||
|
float: left;
|
||||||
|
padding-right: 3px;
|
||||||
|
text-align: right;
|
||||||
|
width: 85px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#profile p {
|
||||||
|
margin: 0 0 4px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wphead {
|
||||||
|
background-image: url(../b2-img/wp-small.png);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
border-bottom: 4px solid #333;
|
||||||
|
height: 42px;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wphead a {
|
||||||
|
display: block;
|
||||||
|
height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wphead a span {
|
||||||
|
display: none;
|
||||||
|
}
|
Loading…
Reference in New Issue