2017-04-24 18:25:17 +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">
|
|
|
|
|
2017-06-09 18:14:55 +08:00
|
|
|
<title>项目管理 - Powered by MinDoc</title>
|
2017-04-24 18:25:17 +08:00
|
|
|
|
|
|
|
<!-- Bootstrap -->
|
2017-05-12 10:45:40 +08:00
|
|
|
<link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet" type="text/css">
|
|
|
|
<link href="{{cdncss "/static/font-awesome/css/font-awesome.min.css"}}" rel="stylesheet" type="text/css">
|
2017-04-24 18:25:17 +08:00
|
|
|
|
2017-05-12 10:45:40 +08:00
|
|
|
<link href="{{cdncss "/static/css/main.css"}}" rel="stylesheet">
|
2017-04-24 18:25:17 +08:00
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
|
|
<!--[if lt IE 9]>
|
2017-05-12 10:45:40 +08:00
|
|
|
<script src="{{cdnjs "/static/html5shiv/3.7.3/html5shiv.min.js"}}"></script>
|
|
|
|
<script src="{{cdnjs "/static/respond.js/1.4.2/respond.min.js" }}"></script>
|
2017-04-24 18:25:17 +08:00
|
|
|
<![endif]-->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="manual-reader">
|
|
|
|
{{template "widgets/header.tpl" .}}
|
|
|
|
<div class="container manual-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="page-left">
|
|
|
|
<ul class="menu">
|
|
|
|
<li><a href="{{urlfor "ManagerController.Index"}}" class="item"><i class="fa fa-dashboard" aria-hidden="true"></i> 仪表盘</a> </li>
|
|
|
|
<li><a href="{{urlfor "ManagerController.Users" }}" class="item"><i class="fa fa-users" aria-hidden="true"></i> 用户管理</a> </li>
|
2017-04-26 18:17:38 +08:00
|
|
|
<li class="active"><a href="{{urlfor "ManagerController.Books" }}" class="item"><i class="fa fa-book" aria-hidden="true"></i> 项目管理</a> </li>
|
2017-05-02 18:09:46 +08:00
|
|
|
{{/*<li><a href="{{urlfor "ManagerController.Comments" }}" class="item"><i class="fa fa-comments-o" aria-hidden="true"></i> 评论管理</a> </li>*/}}
|
2017-04-26 18:17:38 +08:00
|
|
|
<li><a href="{{urlfor "ManagerController.Setting" }}" class="item"><i class="fa fa-cogs" aria-hidden="true"></i> 配置管理</a> </li>
|
2017-06-09 18:14:55 +08:00
|
|
|
<li><a href="{{urlfor "ManagerController.AttachList" }}" class="item"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 附件管理</a> </li>
|
2017-04-24 18:25:17 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="page-right">
|
|
|
|
<div class="m-box">
|
|
|
|
<div class="box-head">
|
|
|
|
<strong class="box-title">项目列表</strong>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-body" id="bookList">
|
|
|
|
<div class="book-list">
|
|
|
|
|
|
|
|
{{range $index,$item := .Lists}}
|
|
|
|
<div class="list-item">
|
|
|
|
<div class="book-title">
|
|
|
|
<div class="pull-left">
|
|
|
|
<a href="{{urlfor "ManagerController.EditBook" ":key" $item.Identify}}" title="编辑项目" data-toggle="tooltip">
|
2017-04-25 20:05:59 +08:00
|
|
|
{{if eq $item.PrivatelyOwned 0}}
|
|
|
|
<i class="fa fa-unlock" aria-hidden="true"></i>
|
|
|
|
{{else}}
|
|
|
|
<i class="fa fa-lock" aria-hidden="true"></i>
|
|
|
|
{{end}}
|
|
|
|
{{$item.BookName}}
|
2017-04-24 18:25:17 +08:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
2018-02-02 23:12:29 +08:00
|
|
|
<div class="btn-group">
|
|
|
|
<a href="{{urlfor "DocumentController.Edit" ":key" $item.Identify ":id" ""}}" class="btn btn-default" target="_blank">编辑</a>
|
|
|
|
<a href="javascript:;" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
<span class="caret"></span>
|
|
|
|
<span class="sr-only">Toggle Dropdown</span>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="{{urlfor "DocumentController.Index" ":key" $item.Identify}}" target="_blank">阅读</a></li>
|
|
|
|
<li><a href="{{urlfor "ManagerController.EditBook" ":key" $item.Identify}}">设置</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{/*<a href="{{urlfor "DocumentController.Index" ":key" $item.Identify}}" title="查看文档" data-toggle="tooltip" target="_blank"><i class="fa fa-eye"></i> 查看文档</a>*/}}
|
|
|
|
{{/*<a href="{{urlfor "DocumentController.Edit" ":key" $item.Identify ":id" ""}}" title="编辑文档" data-toggle="tooltip" target="_blank"><i class="fa fa-edit" aria-hidden="true"></i> 编辑文档</a>*/}}
|
2017-04-24 18:25:17 +08:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
<div class="desc-text">
|
|
|
|
{{if eq $item.Description ""}}
|
|
|
|
|
|
|
|
{{else}}
|
|
|
|
<a href="{{urlfor "ManagerController.EditBook" ":key" $item.Identify}}" title="编辑项目" style="font-size: 12px;" target="_blank">
|
|
|
|
{{$item.Description}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
<div class="info">
|
|
|
|
<span title="创建时间" data-toggle="tooltip" data-placement="bottom"><i class="fa fa-clock-o"></i>
|
|
|
|
{{date $item.CreateTime "Y-m-d H:i:s"}}
|
|
|
|
|
|
|
|
</span>
|
2018-02-02 23:12:29 +08:00
|
|
|
<span title="创建者" data-toggle="tooltip" data-placement="bottom"><i class="fa fa-user"></i> {{if eq $item.RealName "" }}{{$item.CreateName}}{{else}}{{$item.RealName}}{{end}}</span>
|
2017-04-24 18:25:17 +08:00
|
|
|
<span title="文档数量" data-toggle="tooltip" data-placement="bottom"><i class="fa fa-pie-chart"></i> {{$item.DocCount}}</span>
|
|
|
|
{{if ne $item.LastModifyText ""}}
|
|
|
|
<span title="最后编辑" data-toggle="tooltip" data-placement="bottom"><i class="fa fa-pencil"></i> 最后编辑: {{$item.LastModifyText}}</span>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="text-center">暂无数据</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2017-07-10 16:25:38 +08:00
|
|
|
<nav class="pagination-container">
|
2017-06-09 18:14:55 +08:00
|
|
|
{{.PageHtml}}
|
|
|
|
</nav>
|
2017-04-24 18:25:17 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "widgets/footer.tpl" .}}
|
|
|
|
</div>
|
|
|
|
|
2017-05-12 10:45:40 +08:00
|
|
|
<script src="{{cdnjs "/static/jquery/1.12.4/jquery.min.js"}}"></script>
|
|
|
|
<script src="{{cdnjs "/static/bootstrap/js/bootstrap.min.js"}}"></script>
|
|
|
|
<script src="{{cdnjs "/static/vuejs/vue.min.js"}}" type="text/javascript"></script>
|
|
|
|
<script src="{{cdnjs "/static/js/jquery.form.js"}}" type="text/javascript"></script>
|
2017-05-12 14:21:29 +08:00
|
|
|
<script src="/static/js/main.js" type="text/javascript"></script>
|
2017-04-24 18:25:17 +08:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|