-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (74 loc) · 3.74 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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>iDiary | 你的心情日记。</title>
<meta name="keywords" content="idiary,iDiary,心情日记,你的心情日记">
<meta name="description" content="你的心情日记,一个数据留存于本地的在线日记本。">
<link rel="icon" href="logo.png" sizes="32x32">
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="js.js"></script>
</head>
<body style="background: #e2e2e2">
<nav class="navbar navbar-expand-sm bg-dark navbar-dark fixed-top">
<div class="container col-md-8 col-lg-7 col-xl-5">
<a class="navbar-brand" href="#">iDiary</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav">
<li class="nav-item">
<button onclick="chSkin()" type="button" class="btn btn-secondary btn-sm">换肤</button>
</li>
</ul>
<form class="form-inline ml-auto">
<input id="s1arch" class="col-sm form-control chCol" type="text" placeholder="搜索日记..">
</form>
</div>
</div>
</nav>
<div class="container col-md-8 col-lg-7 col-xl-5" style="margin-top:70px">
<div id="tips"></div>
<div class="card chCol">
<div class="card-header">
<button id="saVe" onclick="sAve()" class="btn btn-success float-right">保存</button>
<input id="tiTle" type="text" class="form-control col-9 chCol" placeholder="日记题目.." autofocus>
</div>
<div class="card-body"><textarea id="coNtent" class="form-control chCol" rows="4"
placeholder="日记内容.."></textarea>
</div>
</div>
</div>
<br>
<div class="container col-md-8 col-lg-7 col-xl-5">
<div id="diAry">未完成加载或正在加载中,js代码没有很好地执行,请检查浏览器是否支持cookie或刷新。</div>
<span class="float-right" style="color: rgba(173,173,173,0.36)">Website made by <a href="https://github.com/LeUKi"
style="color: rgba(208,208,208,1)">Lafish</a> with Bootstrap, power by GitHub.</span>
</div>
<div class="modal fade" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="card">
<div class="card-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">重新编辑<span id="I"></span></h4>
</div>
<div class="card-body">
<input id="E1dit" type="text" class="form-control chCol" placeholder="修改标题.." autofocus>
<textarea id="E2dit" class="form-control chCol" rows="4" placeholder="修改内容.."></textarea>
</div>
<div class="card-footer">
<button type="button" onclick="finEdit()" class="btn btn-sm btn-success" style="float: right;">保存
</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>