Files
eiblog/views/admin/origin/reading.html
deepzz0 ddf508825c init
2016-09-29 02:59:27 +08:00

312 lines
14 KiB
HTML

<!DOCTYPE HTML>
<html class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>阅读设置 - Hello World - Powered by Typecho</title>
<meta name="robots" content="noindex, nofollow">
<link rel="stylesheet" href="http://localhost/admin/css/normalize.css?v=14.10.10">
<link rel="stylesheet" href="http://localhost/admin/css/grid.css?v=14.10.10">
<link rel="stylesheet" href="http://localhost/admin/css/style.css?v=14.10.10">
<!--[if lt IE 9]>
<script src="http://localhost/admin/js/html5shiv.js?v=14.10.10"></script>
<script src="http://localhost/admin/js/respond.js?v=14.10.10"></script>
<![endif]-->
</head>
<body>
<!--[if lt IE 9]>
<div class="message error browsehappy" role="dialog">当前网页 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的访问, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>.</div>
<![endif]-->
<div class="typecho-head-nav clearfix" role="navigation">
<nav id="typecho-nav-list">
<ul class="root focus">
<li class="parent"><a target="_self" href="/admin/home">控制台</a></dt>
</li>
<ul class="child">
<li target="_self" class="focus"><a href="/admin/home">概要</a></li>
<li><a target="_self" href="/admin/profile">个人设置</a></li>
<li><a target="_self" href="/admin/plugin">插件</a></li>
<li class="last"><a target="_self" href="/admin/theme">外观</a></li>
</ul>
</ul>
<ul class="root">
<li class="parent"><a target="_self" href="/admin/write">撰写</a></dt>
</li>
<ul class="child">
<li class="last"><a target="_self" href="/admin/write">撰写文章</a></li>
</ul>
</ul>
<ul class="root">
<li class="parent"><a target="_self" href="/admin/articles">管理</a></dt>
</li>
<ul class="child">
<li><a target="_self" href="/admin/articles">文章</a></li>
<li><a target="_self" href="/admin/categories">分类</a></li>
<li class="last"><a target="_self" href="/admin/tags">标签</a></li>
</ul>
</ul>
<ul class="root">
<li class="parent"><a target="_self" href="/admin/setting">设置</a></dt>
</li>
<ul class="child">
<li><a target="_self" href="/admin/setting">基本</a></li>
<li class="last"><a target="_self" href="/admin/reading">阅读</a></li>
</ul>
</ul>
</nav>
<div class="operate">
<a target="_self" title="最后登录: 7小时前" href="/admin/profile" class="author">admin</a><a target="_self" class="exit" href="/admin/login?logout=true">登出</a><a href="/">网站</a>
</div>
</div>
<div class="main">
<div class="body container">
<div class="typecho-page-title">
<h2>阅读设置</h2>
</div>
<div class="row typecho-page-main" role="form">
<div class="col-mb-12 col-tb-8 col-tb-offset-2">
<form action="http://localhost/index.php/action/options-reading?_=e53d9ccaafcd7253533d0586ebb24d30" method="post" enctype="application/x-www-form-urlencoded">
<ul class="typecho-option" id="typecho-option-item-postDateFormat-0">
<li>
<label class="typecho-label" for="postDateFormat-0-1">
文章日期格式</label>
<input id="postDateFormat-0-1" name="postDateFormat" type="text" class="w-40 mono" value="Y-m-d" />
<p class="description">
此格式用于指定显示在文章归档中的日期默认显示格式.
<br />在某些主题中这个格式可能不会生效, 因为主题作者可以自定义日期格式.
<br />请参考 <a href="http://www.php.net/manual/zh/function.date.php">PHP 日期格式写法</a>.</p>
</li>
</ul>
<ul class="typecho-option" id="typecho-option-item-frontPage-1">
<li>
<label class="typecho-label">
站点首页</label>
<span class="multiline">
<input name="frontPage" type="radio" value="recent" id="frontPage-recent" checked="true" />
<label for="frontPage-recent">
显示最新发布的文章</label>
</span>
<span class="multiline">
<input name="frontPage" type="radio" value="page" id="frontPage-page" />
<label for="frontPage-page">
使用 </label><select name="frontPagePage" id="frontPage-frontPagePage"><option value="2">关于</option></select><label for="frontPage-frontPagePage"> 页面作为首页</label></span><span class="multiline front-archive hidden"><input type="checkbox" id="frontArchive" name="frontArchive" value="1" />
<label for="frontArchive">同时将文章列表页路径更改为 <input type="text" name="archivePattern" class="w-20 mono" value="/blog/" /></label></label>
</span>
</li>
</ul>
<ul class="typecho-option" id="typecho-option-item-postsListSize-2">
<li>
<label class="typecho-label" for="postsListSize-0-3">
文章列表数目</label>
<input id="postsListSize-0-3" name="postsListSize" type="text" class="w-20" value="10" />
<p class="description">
此数目用于指定显示在侧边栏中的文章列表数目.</p>
</li>
</ul>
<ul class="typecho-option" id="typecho-option-item-pageSize-3">
<li>
<label class="typecho-label" for="pageSize-0-4">
每页文章数目</label>
<input id="pageSize-0-4" name="pageSize" type="text" class="w-20" value="5" />
<p class="description">
此数目用于指定文章归档输出时每页显示的文章数目.</p>
</li>
</ul>
<ul class="typecho-option" id="typecho-option-item-feedFullText-4">
<li>
<label class="typecho-label">
聚合全文输出</label>
<span>
<input name="feedFullText" type="radio" value="0" id="feedFullText-0" />
<label for="feedFullText-0">
仅输出摘要</label>
</span>
<span>
<input name="feedFullText" type="radio" value="1" id="feedFullText-1" checked="true" />
<label for="feedFullText-1">
全文输出</label>
</span>
<p class="description">
如果你不希望在聚合中输出文章全文,请使用仅输出摘要选项.
<br />摘要的文字取决于你在文章中使用分隔符的位置.</p>
</li>
</ul>
<ul class="typecho-option typecho-option-submit" id="typecho-option-item-submit-5">
<li>
<button type="submit" class="btn primary">
保存设置</button>
</li>
</ul>
</form>
</div>
</div>
</div>
</div>
<div class="typecho-foot" role="contentinfo">
<div class="copyright">
<a href="http://typecho.org" class="i-logo-s">Typecho</a>
<p><a href="http://typecho.org">Typecho</a> 强力驱动, 版本 1.0 (14.10.10)</p>
</div>
<nav class="resource">
<a href="http://docs.typecho.org">帮助文档</a> &bull;
<a href="http://forum.typecho.org">支持论坛</a> &bull;
<a href="https://github.com/typecho/typecho/issues">报告错误</a> &bull;
<a href="http://extends.typecho.org">资源下载</a>
</nav>
</div>
<script src="http://localhost/admin/js/jquery.js?v=14.10.10"></script>
<script src="http://localhost/admin/js/jquery-ui.js?v=14.10.10"></script>
<script src="http://localhost/admin/js/typecho.js?v=14.10.10"></script>
<script>
(function() {
$(document).ready(function() {
// 处理消息机制
(function() {
var prefix = '86a9106ae65537651a8e456835b316ab',
cookies = {
notice: $.cookie(prefix + '__typecho_notice'),
noticeType: $.cookie(prefix + '__typecho_notice_type'),
highlight: $.cookie(prefix + '__typecho_notice_highlight')
},
path = '/';
if (!!cookies.notice && 'success|notice|error'.indexOf(cookies.noticeType) >= 0) {
var head = $('.typecho-head-nav'),
p = $('<div class="message popup ' + cookies.noticeType + '">' + '<ul><li>' + $.parseJSON(cookies.notice).join('</li><li>') + '</li></ul></div>'),
offset = 0;
if (head.length > 0) {
p.insertAfter(head);
offset = head.outerHeight();
} else {
p.prependTo(document.body);
}
function checkScroll() {
if ($(window).scrollTop() >= offset) {
p.css({
'position': 'fixed',
'top': 0
});
} else {
p.css({
'position': 'absolute',
'top': offset
});
}
}
$(window).scroll(function() {
checkScroll();
});
checkScroll();
p.slideDown(function() {
var t = $(this),
color = '#C6D880';
if (t.hasClass('error')) {
color = '#FBC2C4';
} else if (t.hasClass('notice')) {
color = '#FFD324';
}
t.effect('highlight', {
color: color
})
.delay(5000).slideUp(function() {
$(this).remove();
});
});
$.cookie(prefix + '__typecho_notice', null, {
path: path
});
$.cookie(prefix + '__typecho_notice_type', null, {
path: path
});
}
if (cookies.highlight) {
$('#' + cookies.highlight).effect('highlight', 1000);
$.cookie(prefix + '__typecho_notice_highlight', null, {
path: path
});
}
})();
// 导航菜单 tab 聚焦时展开下拉菜单
(function() {
$('#typecho-nav-list').find('.parent a').focus(function() {
$('#typecho-nav-list').find('.child').hide();
$(this).parents('.root').find('.child').show();
});
$('.operate').find('a').focus(function() {
$('#typecho-nav-list').find('.child').hide();
});
})();
if ($('.typecho-login').length == 0) {
$('a').each(function() {
var t = $(this),
href = t.attr('href');
if ((href && href[0] == '#') || /^http\:\/\/localhost\/admin\/.*$/.exec(href) || /^http\:\/\/localhost\/index\.php\/action\/[_a-zA-Z0-9\/]+.*$/.exec(href)) {
return;
}
t.attr('target', '_blank');
});
}
});
})();
</script>
<script>
(function() {
$(document).ready(function() {
var error = $('.typecho-option .error:first');
if (error.length > 0) {
$('html,body').scrollTop(error.parents('.typecho-option').offset().top);
}
$('form').submit(function() {
if (this.submitted) {
return false;
} else {
this.submitted = true;
}
});
$('label input[type=text]').click(function(e) {
var check = $('#' + $(this).parents('label').attr('for'));
check.prop('checked', true);
return false;
});
});
})();
</script>
<script>
$('#frontPage-recent,#frontPage-page,#frontPage-file').change(function() {
var t = $(this);
if (t.prop('checked')) {
if ('frontPage-recent' == t.attr('id')) {
$('.front-archive').addClass('hidden');
} else {
$('.front-archive').insertAfter(t.parent()).removeClass('hidden');
}
}
});
</script>
</body>
</html>