mindoc/views/items/index.tpl

58 lines
2.6 KiB
Smarty
Raw Normal View History

2018-11-20 20:36:14 +08:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
2018-11-21 11:03:16 +08:00
<title>项目空间列表 - Powered by MinDoc</title>
2018-11-20 20:36:14 +08:00
<meta name="keywords" content="MinDoc,文档在线管理系统,WIKI,wiki,wiki在线,文档在线管理,接口文档在线管理,接口文档管理">
<meta name="description" content="MinDoc文档在线管理系统 {{.site_description}}">
<meta name="author" content="Minho" />
<meta name="site" content="https://www.iminho.me" />
<!-- Bootstrap -->
<link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet">
<link href="{{cdncss "/static/font-awesome/css/font-awesome.min.css"}}" rel="stylesheet">
<link href="{{cdncss "/static/css/main.css" "version"}}" rel="stylesheet">
2018-11-21 11:03:16 +08:00
2018-11-20 20:36:14 +08:00
</head>
<body>
<div class="manual-reader manual-container manual-search-reader">
{{template "widgets/header.tpl" .}}
<div class="container manual-body">
<div class="search-head">
2018-11-21 11:03:16 +08:00
<strong class="search-title">项目空间列表</strong>
2018-11-20 20:36:14 +08:00
</div>
<div class="row">
<div class="hide tag-container-outer" style="border: 0;margin-top: 0;padding: 5px 15px;min-height: 200px;">
<div class="attach-list" id="ItemsetsList">
2018-11-21 11:03:16 +08:00
{{range $index,$item := .Lists}}
<a href="{{urlfor "ItemsetsController.List" ":key" $item.ItemKey}}" class="ui-card" title="{{$item.ItemName}}">
<div class="header">{{$item.ItemName}}</div>
<div class="description">项目数量:{{$item.BookNumber}} &nbsp; 创建人:{{$item.CreateName}}<br/> 创建时间:{{$item.CreateTimeString}}</div>
</a>
{{else}}
<div class="search-empty">
<img src="{{cdnimg "/static/images/search_empty.png"}}" class="empty-image">
<span class="empty-text">没有项目空间</span>
</div>
{{end}}
2018-11-20 20:36:14 +08:00
</div>
</div>
<nav class="pagination-container">
{{if gt .TotalPages 1}}
{{.PageHtml}}
{{end}}
<div class="clearfix"></div>
</nav>
</div>
</div>
{{template "widgets/footer.tpl" .}}
</div>
<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>
{{.Scripts}}
</body>
</html>