mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
329 lines
16 KiB
HTML
329 lines
16 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>管理文章<a href="http://localhost/admin/write-post.php">新增</a></h2>
|
|
</div>
|
|
<div class="row typecho-page-main" role="main">
|
|
<div class="col-mb-12 typecho-list">
|
|
<div class="typecho-list-operate clearfix">
|
|
<form method="get">
|
|
<div class="operate">
|
|
<label><i class="sr-only">全选</i>
|
|
<input type="checkbox" class="typecho-table-select-all" />
|
|
</label>
|
|
<div class="btn-group btn-drop">
|
|
<button class="btn dropdown-toggle btn-s" type="button"><i class="sr-only">操作</i>选中项 <i class="i-caret-down"></i></button>
|
|
<ul class="dropdown-menu">
|
|
<li><a lang="你确认要删除这些文章吗?" href="http://localhost/index.php/action/contents-post-edit?do=delete&_=448a1ea454e9a1e7c93f8dd9b97b087a">删除</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="search" role="search">
|
|
<input type="text" class="text-s" placeholder="请输入关键字" value="" name="keywords" />
|
|
<select name="category">
|
|
<option value="">所有分类</option>
|
|
<option value="1">默认分类</option>
|
|
<option value="2">232</option>
|
|
<option value="3">234</option>
|
|
<option value="4">2</option>
|
|
<option value="5">4</option>
|
|
<option value="6">3</option>
|
|
<option value="7">5</option>
|
|
<option value="8">6</option>
|
|
<option value="9">7</option>
|
|
<option value="10">8</option>
|
|
<option value="11">9</option>
|
|
</select>
|
|
<button type="submit" class="btn btn-s">筛选</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<!-- end .typecho-list-operate -->
|
|
<form method="post" name="manage_posts" class="operate-form">
|
|
<div class="typecho-table-wrap">
|
|
<table class="typecho-list-table">
|
|
<colgroup>
|
|
<col width="20" />
|
|
<col width="6%" />
|
|
<col width="45%" />
|
|
<col width="" />
|
|
<col width="18%" />
|
|
<col width="16%" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th> </th>
|
|
<th> </th>
|
|
<th>标题</th>
|
|
<th>作者</th>
|
|
<th>分类</th>
|
|
<th>日期</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr id="post-3">
|
|
<td>
|
|
<input type="checkbox" value="3" name="cid[]" />
|
|
</td>
|
|
<td><a href="http://localhost/admin/manage-comments.php?cid=3" class="balloon-button size-1">0</a></td>
|
|
<td>
|
|
<a href="http://localhost/admin/write-post.php?cid=3">未命名文档</a>
|
|
<a href="http://localhost/index.php/archives/3/" title="浏览 未命名文档"><i class="i-exlink"></i></a>
|
|
</td>
|
|
<td><a href="http://localhost/admin/manage-posts.php?uid=1">admin</a></td>
|
|
<td> <a href="http://localhost/admin/manage-posts.php?category=1">默认分类</a> </td>
|
|
<td>
|
|
2天前 </td>
|
|
</tr>
|
|
<tr id="post-1">
|
|
<td>
|
|
<input type="checkbox" value="1" name="cid[]" />
|
|
</td>
|
|
<td><a href="http://localhost/admin/manage-comments.php?cid=1" class="balloon-button size-10">1</a></td>
|
|
<td>
|
|
<a href="http://localhost/admin/write-post.php?cid=1">欢迎使用 Typecho</a>
|
|
<a href="http://localhost/index.php/archives/1/" title="浏览 欢迎使用 Typecho"><i class="i-exlink"></i></a>
|
|
</td>
|
|
<td><a href="http://localhost/admin/manage-posts.php?uid=1">admin</a></td>
|
|
<td> <a href="http://localhost/admin/manage-posts.php?category=1">默认分类</a> </td>
|
|
<td>
|
|
4天前 </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</form>
|
|
<!-- end .operate-form -->
|
|
<div class="typecho-list-operate clearfix">
|
|
<form method="get">
|
|
<div class="operate">
|
|
<label><i class="sr-only">全选</i>
|
|
<input type="checkbox" class="typecho-table-select-all" />
|
|
</label>
|
|
<div class="btn-group btn-drop">
|
|
<button class="btn dropdown-toggle btn-s" type="button"><i class="sr-only">操作</i>选中项 <i class="i-caret-down"></i></button>
|
|
<ul class="dropdown-menu">
|
|
<li><a lang="你确认要删除这些文章吗?" href="http://localhost/index.php/action/contents-post-edit?do=delete&_=448a1ea454e9a1e7c93f8dd9b97b087a">删除</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<ul class="typecho-pager">
|
|
<li class="current"><a href="http://localhost/admin/manage-posts.php?page=1">1</a></li>
|
|
</ul>
|
|
</form>
|
|
</div>
|
|
<!-- end .typecho-list-operate -->
|
|
</div>
|
|
<!-- end .typecho-list -->
|
|
</div>
|
|
<!-- end .typecho-page-main -->
|
|
</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> •
|
|
<a href="http://forum.typecho.org">支持论坛</a> •
|
|
<a href="https://github.com/typecho/typecho/issues">报告错误</a> •
|
|
<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() {
|
|
$('.typecho-list-table').tableSelectable({
|
|
checkEl: 'input[type=checkbox]',
|
|
rowEl: 'tr',
|
|
selectAllEl: '.typecho-table-select-all',
|
|
actionEl: '.dropdown-menu a,button.btn-operate'
|
|
});
|
|
|
|
$('.btn-drop').dropdownMenu({
|
|
btnEl: '.dropdown-toggle',
|
|
menuEl: '.dropdown-menu'
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|