添加错误页面

This commit is contained in:
fen 2013-10-17 14:11:14 +08:00
parent cbc848be88
commit ca155fce44
2 changed files with 53 additions and 1 deletions

52
admin/404.html Normal file
View File

@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page Not Found :(</title>
<style>
html {
padding: 50px 10px;
font-size: 20px;
line-height: 1.4;
color: #666;
background: #F6F6F3;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
html,
input { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
body {
max-width: 500px;
_width: 500px;
padding: 30px 20px 50px;
margin: 0 auto;
background: #FFF;
}
h1 {
font-size: 50px;
text-align: center;
}
h1 span { color: #bbb; }
ul {
padding: 0 0 0 40px;
}
.container {
max-width: 380px;
_width: 380px;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="container">
<h1>Not found <span>:(</span></h1>
<p>Sorry, but the page you were trying to view does not exist.</p>
<p>It looks like this was the result of either:</p>
<ul>
<li>a mistyped address</li>
<li>an out-of-date link</li>
</ul>
</div>
</body>
</html>

View File

@ -52,7 +52,7 @@ Typecho_Widget::widget('Widget_Contents_Page_Edit')->to($page);
<section class="typecho-post-option">
<label for="order" class="typecho-label"><?php _e('页面顺序'); ?></label>
<p><input type="text" id="order" name="order" value="<?php $page->order(); ?>" class="mini" /></p>
<p><input type="text" id="order" name="order" value="<?php $page->order(); ?>" class="w-100" /></p>
<p class="description"><?php _e('为你的自定义页面设定一个序列值以后, 能够使得它们按此值从小到大排列'); ?></p>
</section>