修复安装界面

修复欢迎界面
This commit is contained in:
fen
2013-10-17 12:31:48 +08:00
parent 9d94236d55
commit db3bbc8da2
3 changed files with 50 additions and 34 deletions
+35 -16
View File
@@ -385,13 +385,8 @@ button.primary:active, button.primary.active {
}
.message a {
border-bottom: 1px dashed #aaa;
line-height: 20px;
}
.message a:hover {
text-decoration: none;
border-style: solid;
font-weight: bold;
text-decoration: underline;
}
.message blockquote {
@@ -407,7 +402,6 @@ button.primary:active, button.primary.active {
.error a {
color: #8A1F11;
border-color:#8A1F11;
}
.notice {
@@ -418,7 +412,6 @@ button.primary:active, button.primary.active {
.notice a {
color: #514721;
border-color:#514721;
}
.success {
@@ -429,7 +422,6 @@ button.primary:active, button.primary.active {
.success a {
color: #264409;
border-color:#264409;
}
/** 增加顶部消息样式 by 70 */
@@ -467,18 +459,39 @@ button.primary:active, button.primary.active {
* 安装向导
*/
.typecho-install-patch {
margin-bottom: 2em;
padding: 2em 0;
background-color: #292D33;
color: #FFF;
text-align: center;
}
.typecho-install-patch ol {
list-style: none;
margin: 3em 0 1em;
padding: 0;
color: #999;
}
.typecho-install-patch li {
display: inline-block;
margin: 0 .8em;
}
.typecho-install-patch span {
display: inline-block;
margin-right: 5px;
width: 20px;
height: 20px;
line-height: 20px;
border: 2px solid #999;
text-align: center;
border-radius: 2em;
}
.typecho-install-patch li.current {
color: #FFF;
font-weight: bold;
}
.typecho-install-patch li.current span {
border-color: #FFF;
}
@@ -537,9 +550,15 @@ margin-top: 25px;
*/
/**
* @安装样式结束
* 欢迎界面
*/
#typecho-welcome {
margin: 1em 0;
padding: 1em 2em;
background-color: #E9E9E6;
}
/**
* 后台分页
*/
+8 -12
View File
@@ -9,22 +9,18 @@ include 'menu.php';
<?php include 'page-title.php'; ?>
<div class="col-group typecho-page-main">
<div class="col-mb-12">
<div class="message success typecho-radius-topleft typecho-radius-topright typecho-radius-bottomleft typecho-radius-bottomright">
<div id="typecho-welcome" class="message">
<form action="<?php $options->adminUrl(); ?>" method="get">
<h6><?php _e('欢迎您使用 "%s" 管理后台!', $options->title); ?></h6>
<blockquote>
<ul>
<li><strong><?php _e('快速导航'); ?></strong></li>
<li><strong>1.</strong> <a class="operate-delete" href="<?php $options->adminUrl('profile.php#change-password'); ?>"><?php _e('强烈建议更改你的默认密码'); ?></a></li>
<h3><?php _e('欢迎您使用 "%s" 管理后台: ', $options->title); ?></h3>
<ol>
<li><a class="operate-delete" href="<?php $options->adminUrl('profile.php#change-password'); ?>"><?php _e('强烈建议更改你的默认密码'); ?></a></li>
<?php if($user->pass('contributor', true)): ?>
<li><strong>2.</strong> <a href="<?php $options->adminUrl('write-post.php'); ?>"><?php _e('撰写第一篇日志'); ?></a></li>
<li><strong>3.</strong> <a href="<?php $options->siteUrl(); ?>"><?php _e('查看我的站点'); ?></a></li>
<li><a href="<?php $options->adminUrl('write-post.php'); ?>"><?php _e('撰写第一篇日志'); ?></a></li>
<li><a href="<?php $options->siteUrl(); ?>"><?php _e('查看我的站点'); ?></a></li>
<?php else: ?>
<li><strong>2.</strong> <a href="<?php $options->siteUrl(); ?>"><?php _e('查看我的站点'); ?></a></li>
<li><a href="<?php $options->siteUrl(); ?>"><?php _e('查看我的站点'); ?></a></li>
<?php endif; ?>
</ul>
</blockquote>
<br />
</ol>
<p><button type="submit"><?php _e('让我直接开始使用吧 &raquo;'); ?></button></p>
</form>
</div>