-
Notifications
You must be signed in to change notification settings - Fork 29
/
index.html
127 lines (121 loc) · 5.15 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
<!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">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>与佛论禅重制版—Takuron</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Custom styles for this template -->
<link href="css/styles.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="starter-template">
<h1>与佛论禅重制版V2</h1>
<p class="lead">(如果您第一次使用请阅读“普渡众生”)</p>
</div>
<!--error-->
<div class="row">
<div class="col-lg-2"></div>
<div class="col-12 col-lg-8" id="alert">
<div class="alert alert-danger alert-dismissable hide" id="error-alert" role="alert"> 不可说,不可说,一说即是错 </div>
</div>
<div class="col-lg-2"></div>
</div>
<!--success-->
<div class="row">
<div class="col-lg-2"></div>
<div class="col-12 col-lg-8" id="alert">
<div class="alert alert-success alert-dismissable hide" id="copy-alert" role="alert"> 复制成功 </div>
</div>
<div class="col-lg-2"></div>
</div>
<!--main-->
<div class="row">
<div class="col-lg-2"></div>
<div class="col-12 col-lg-8">
<div class="form-group">
<textarea class="form-control" id="text-decryped" placeholder="你的困惑" rows="5"></textarea>
</div>
</div>
<div class="col-lg-2"></div>
</div>
<div class="row">
<div class="col-lg-2"></div>
<div class="col-12 col-lg-3 leftb">
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary" onClick="encrypt()">听佛讲经</button>
<button type="button" class="btn btn-warning" onClick="decrypt()">听佛解惑</button>
</div>
</div>
<div class="col-12 col-lg-5 button-cen">
<div class="form-group">
<input type="password" class="form-control" id="text-key" placeholder="箴言(可选)">
</div>
</div>
</div>
<div class="row">
<div class="col-lg-2"></div>
<div class="col-12 col-lg-8">
<div class="form-group">
<textarea class="form-control" id="text-encryped" placeholder="佛的答案" rows="7"></textarea>
</div>
</div>
<div class="col-lg-2"></div>
</div>
<div class="row lowroe">
<div class="col-lg-2"></div>
<div class="col-4 col-lg-2 leftb">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#aboutModal">普渡众生</button>
</div>
<div class="col-4 col-lg-4"> </div>
<div class="col-4 col-lg-2 rightb">
<button type="button" class="btn btn-primary" onClick="copyUrl2()">复制</button>
</div>
</div>
</div>
<!-- /.container -->
<!-- Modal -->
<div class="modal fade" id="aboutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">普渡众生(帮助)</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button>
</div>
<div class="modal-body">
<p>Q:这是什么?</p>
<p>A:这是一个用于混淆/加密文本的小工具,灵感来自<a href="http://www.keyfc.net/bbs/tools/tudoucode.aspx">原版与佛论禅</a>,并且在其基础上进行了改进使其获得加密功能。</p>
<p>Q:如何使用?</p>
<p>A:听佛讲经(加密):将原文输入在上方输入框,输入箴言(密码,可选)即可得到佛语(密文);听佛解惑(解密):将佛经(密文)输入在上方,输入箴言(可选)即可得到原文。</p>
<p>Q:为何无法得到原文</p>
<p>A:原文已损坏,部分软件(百度贴吧)会自动转义繁体字导致无法解读。另外,也请您自行确定原文完整程度,解密时需保留“佛又曰”。</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">然也</button>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer mt-auto py-3">
<div class="container"> <span class="text-muted">This website has nothing to do with religion.<br>
Developed by <a href="https://github.com/takuron">Takuron</a> and open source on <a href="https://github.com/takuron/talk-with-buddha">GitHub</a>.</span> </div>
</footer>
<script src="js/jquery.slim.min.js" ></script>
<script src="js/popper.min.js" ></script>
<script src="js/bootstrap.min.js" ></script>
<script src="js/crypto-js.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>