-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
140 lines (128 loc) · 4.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>后台管理模板</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="plugins/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="css/global.css" media="all">
</head>
<body>
<div class="layui-layout layui-layout-admin">
<div class="layui-header header header-demo">
<div class="layui-main">
<div class="admin-login-box">
<a class="logo" style="left: 0;" href="#">
<span style="font-size: 22px;">BeginnerAdmin</span>
</a>
<div class="admin-side-toggle">
<i class="layui-icon"></i>
</div>
</div>
<ul class="layui-nav admin-header-item">
<li class="layui-nav-item">
<a href="javascript:;">清除缓存</a>
</li>
<li class="layui-nav-item">
<a href="javascript:;">浏览网站</a>
</li>
<li class="layui-nav-item" id="video1">
<a href="javascript:;">视频</a>
</li>
<li class="layui-nav-item">
<a href="javascript:;" class="admin-header-user">
<img src="images/0.jpg" />
<span>beginner</span>
</a>
<dl class="layui-nav-child">
<dd>
<a href="javascript:;"><i class="fa fa-user-circle" aria-hidden="true"></i> 个人信息</a>
</dd>
<dd>
<a href="javascript:;"><i class="fa fa-gear" aria-hidden="true"></i> 设置</a>
</dd>
<dd id="lock">
<a href="javascript:;">
<i class="fa fa-lock" aria-hidden="true" style="padding-right: 3px;padding-left: 1px;"></i> 锁屏 (Alt+L)
</a>
</dd>
<dd>
<a href="login.html"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
</dd>
</dl>
</li>
</ul>
<ul class="layui-nav admin-header-item-mobile">
<li class="layui-nav-item">
<a href="login.html"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
</li>
</ul>
</div>
</div>
<div class="layui-side layui-bg-black" id="admin-side">
<div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side"></div>
</div>
<div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;" id="admin-body">
<div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
<ul class="layui-tab-title">
<li class="layui-this">
<i class="fa fa-dashboard" aria-hidden="true"></i>
<cite>首页</cite>
</li>
</ul>
<div class="layui-tab-content" style="min-height: 150px; padding: 5px 0 0 0;">
<div class="layui-tab-item layui-show">
<iframe src="main.html"></iframe>
</div>
</div>
</div>
</div>
<div class="layui-footer footer footer-demo" id="admin-footer">
<div class="layui-main">
<p>2018 ©
<a href="#">www.tangying.com</a>
</p>
</div>
</div>
<div class="site-tree-mobile layui-hide">
<i class="layui-icon"></i>
</div>
<div class="site-mobile-shade"></div>
<!--锁屏模板 start-->
<script type="text/template" id="lock-temp">
<div class="admin-header-lock" id="lock-box">
<div class="admin-header-lock-img">
<img src="images/0.jpg"/>
</div>
<div class="admin-header-lock-name" id="lockUserName">beginner</div>
<input type="text" class="admin-header-lock-input" value="输入密码解锁.." name="lockPwd" id="lockPwd" />
<button class="layui-btn layui-btn-small" id="unlock">解锁</button>
</div>
</script>
<!-- 锁屏模板 end -->
<script type="text/javascript" src="plugins/layui/layui.js"></script>
<script type="text/javascript" src="datas/nav.js"></script>
<script src="js/index.js"></script>
<script>
layui.use('layer', function() {
var $ = layui.jquery,
layer = layui.layer;
$('#video1').on('click', function() {
layer.open({
title: 'YouTube',
maxmin: true,
type: 2,
content: 'video.html',
area: ['800px', '500px']
});
});
});
</script>
</div>
</body>
</html>