2017-04-19 18:19:27 +08:00
|
|
|
<!DOCTYPE html>
|
2017-04-20 18:19:32 +08:00
|
|
|
<html lang="zh-CN">
|
2017-04-19 18:19:27 +08:00
|
|
|
<head>
|
2018-01-27 13:34:48 +08:00
|
|
|
<title>{{.SITE_NAME}} - Powered by MinDoc</title>
|
2017-04-20 18:19:32 +08:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2018-01-27 13:34:48 +08:00
|
|
|
<meta name="renderer" content="webkit">
|
2017-05-12 14:21:29 +08:00
|
|
|
<meta name="author" content="Minho" />
|
|
|
|
<meta name="site" content="https://www.iminho.me" />
|
2018-09-19 16:12:32 +08:00
|
|
|
<meta name="keywords" content="MinDoc,文档在线管理系统,WIKI,wiki,wiki在线,文档在线管理,接口文档在线管理,接口文档管理">
|
|
|
|
<meta name="description" content="MinDoc文档在线管理系统 {{.site_description}}">
|
2017-04-20 18:19:32 +08:00
|
|
|
<!-- Bootstrap -->
|
2017-05-12 14:21:29 +08:00
|
|
|
<link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet">
|
|
|
|
<link href="{{cdncss "/static/font-awesome/css/font-awesome.min.css"}}" rel="stylesheet">
|
2018-08-15 15:33:22 +08:00
|
|
|
<link href="{{cdncss "/static/css/main.css" "version"}}" rel="stylesheet">
|
2024-07-04 09:43:33 +08:00
|
|
|
<script type="text/javascript">
|
|
|
|
window.updateBookOrder = "{{urlfor "BookController.UpdateBookOrder"}}";
|
|
|
|
</script>
|
2017-04-19 18:19:27 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-04-20 18:19:32 +08:00
|
|
|
<div class="manual-reader manual-container">
|
|
|
|
{{template "widgets/header.tpl" .}}
|
|
|
|
<div class="container manual-body">
|
|
|
|
<div class="row">
|
2018-11-27 11:47:19 +08:00
|
|
|
<div class="manual-list">
|
2017-04-30 22:13:12 +08:00
|
|
|
{{range $index,$item := .Lists}}
|
2024-07-04 09:43:33 +08:00
|
|
|
<div class="list-item" data-id="{{$item.BookId}}">
|
2018-07-10 18:53:41 +08:00
|
|
|
<dl class="manual-item-standard">
|
|
|
|
<dt>
|
2021-03-18 15:02:19 +08:00
|
|
|
<a href="{{urlfor "DocumentController.Index" ":key" $item.Identify}}" title="{{$item.BookName}}-{{$item.CreateName}}">
|
2018-07-10 18:53:41 +08:00
|
|
|
<img src="{{cdnimg $item.Cover}}" class="cover" alt="{{$item.BookName}}-{{$item.CreateName}}" onerror="this.src='{{cdnimg "static/images/book.jpg"}}';">
|
|
|
|
</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
2021-03-18 15:02:19 +08:00
|
|
|
<a href="{{urlfor "DocumentController.Index" ":key" $item.Identify}}" class="name" title="{{$item.BookName}}-{{$item.CreateName}}">{{$item.BookName}}</a>
|
2018-07-10 18:53:41 +08:00
|
|
|
</dd>
|
|
|
|
<dd>
|
2017-04-20 18:19:32 +08:00
|
|
|
<span class="author">
|
2021-03-30 19:08:50 +08:00
|
|
|
<b class="text">{{i18n $.Lang "blog.author"}}</b>
|
2017-04-20 18:19:32 +08:00
|
|
|
<b class="text">-</b>
|
2018-02-02 23:12:29 +08:00
|
|
|
<b class="text">{{if eq $item.RealName "" }}{{$item.CreateName}}{{else}}{{$item.RealName}}{{end}}</b>
|
2017-04-20 18:19:32 +08:00
|
|
|
</span>
|
2018-07-10 18:53:41 +08:00
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
2021-03-30 19:08:50 +08:00
|
|
|
<div class="text-center" style="height: 200px;margin: 100px;font-size: 28px;">{{i18n $.Lang "message.no_project"}}</div>
|
2017-04-30 22:13:12 +08:00
|
|
|
{{end}}
|
2017-04-20 18:19:32 +08:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
2017-05-31 10:15:04 +08:00
|
|
|
<nav class="pagination-container">
|
|
|
|
{{if gt .TotalPages 1}}
|
2023-08-09 10:51:06 +08:00
|
|
|
{{.PageHtml}}
|
2017-05-31 10:15:04 +08:00
|
|
|
{{end}}
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</nav>
|
2017-04-20 18:19:32 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "widgets/footer.tpl" .}}
|
2017-04-19 18:19:27 +08:00
|
|
|
</div>
|
2017-05-12 14:21:29 +08:00
|
|
|
<script src="{{cdnjs "/static/jquery/1.12.4/jquery.min.js"}}" type="text/javascript"></script>
|
|
|
|
<script src="{{cdnjs "/static/bootstrap/js/bootstrap.min.js"}}" type="text/javascript"></script>
|
2024-07-04 09:43:33 +08:00
|
|
|
<script src="{{cdnjs "/static/layer/layer.js"}}"></script>
|
|
|
|
<script src="{{cdnjs "/static/js/sort.js"}}" type="text/javascript"></script>
|
2018-09-19 16:12:32 +08:00
|
|
|
{{.Scripts}}
|
2017-04-19 18:19:27 +08:00
|
|
|
</body>
|
2017-04-20 18:19:32 +08:00
|
|
|
</html>
|