mindoc/views/manager/index.tpl

82 lines
4.4 KiB
Smarty
Raw Normal View History

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>
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">
<title>用户中心 - Powered by MinDoc</title>
<!-- 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">
2017-04-20 18:19:32 +08:00
<link href="{{cdncss "/static/css/main.css" "version"}}" rel="stylesheet">
2017-04-20 18:19:32 +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]>
<script src="/static/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="/static/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
2017-04-19 18:19:27 +08:00
</head>
<body>
2017-04-20 18:19:32 +08:00
<div class="manual-reader">
{{template "widgets/header.tpl" .}}
<div class="container manual-body">
<div class="row">
<div class="page-left">
<ul class="menu">
<li class="active"><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><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>
<li><a href="{{urlfor "ManagerController.LabelList" }}" class="item"><i class="fa fa-bookmark" aria-hidden="true"></i> 标签管理</a> </li>
2017-06-09 18:14:55 +08:00
2017-04-20 18:19:32 +08:00
</ul>
</div>
2017-04-25 20:05:59 +08:00
<div class="page-right">
<div class="m-box">
<div class="box-head">
<strong class="box-title">仪表盘</strong>
</div>
</div>
<div class="box-body manager">
2017-05-26 14:19:27 +08:00
<a href="{{urlfor "ManagerController.Books"}}" class="dashboard-item">
2017-04-25 20:05:59 +08:00
<span class="fa fa-book" aria-hidden="true"></span>
<span class="fa-class">项目数量</span>
<span class="fa-class">{{.Model.BookNumber}}</span>
2017-05-26 14:19:27 +08:00
</a>
2017-04-25 20:05:59 +08:00
<div class="dashboard-item">
<span class="fa fa-file-text-o" aria-hidden="true"></span>
<span class="fa-class">文章数量</span>
<span class="fa-class">{{.Model.DocumentNumber}}</span>
</div>
2017-05-26 14:19:27 +08:00
<a href="{{urlfor "ManagerController.Users"}}" class="dashboard-item">
<span class="fa fa-users" aria-hidden="true"></span>
<span class="fa-class">会员数量</span>
<span class="fa-class">{{.Model.MemberNumber}}</span>
</a>
2017-05-12 14:21:29 +08:00
<!--
2017-05-02 18:09:46 +08:00
{{/*
2017-04-25 20:05:59 +08:00
<div class="dashboard-item">
<span class="fa fa-comments-o" aria-hidden="true"></span>
<span class="fa-class">评论数量</span>
<span class="fa-class">{{.Model.CommentNumber}}</span>
</div>
2017-05-12 14:21:29 +08:00
*/}}-->
2017-06-09 18:14:55 +08:00
<a href="{{urlfor "ManagerController.AttachList" }}" class="dashboard-item">
2017-04-25 20:05:59 +08:00
<span class="fa fa-cloud-download" aria-hidden="true"></span>
<span class="fa-class">附件数量</span>
<span class="fa-class">{{.Model.AttachmentNumber}}</span>
2017-06-09 18:14:55 +08:00
</a>
2017-04-25 20:05:59 +08:00
</div>
</div>
2017-04-19 18:19:27 +08:00
</div>
</div>
</div>
2017-05-12 14:21:29 +08:00
<script src="{{cdnjs "/static/jquery/1.12.4/jquery.min.js"}}"></script>
<script src="{{cdnjs "/static/bootstrap/js/bootstrap.min.js"}}"></script>
2017-04-19 18:19:27 +08:00
</body>
2017-04-20 18:19:32 +08:00
</html>