forked from Aniuyyds/chat-gpt-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (109 loc) · 5.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="images/x-icon" href="./static/images/favicon.ico">
<link rel="stylesheet" href="./static/css/bootstrap.min.css">
<link rel="stylesheet" href="./static/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="./static/css/github-dark-dimmed.min.css">
<link rel="stylesheet" href="./static/css/style.css">
<title>ChatGPT-website</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="box col-xs-12">
<div class="title">
<h2 class="text-center"><span style="margin-right: 10px;"><i class="fa fa-optin-monster fa-lg" aria-hidden="true"></i></span>ChatGPT-website</h2>
</div>
<div class="answer">
<div class="tips">
<h4 class="text-center">欢迎!更多功能请点击下方设置按钮</h4>
<img src="./static/images/reward.png">
</div>
<div id="chatWindow"></div>
<div class="function">
<div class="others">
<div class="left">
<div class="settings common dropup">
<a class="dropdown-toggle icon-style" id="dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="设置">
<i class="fa fa-cogs fa-lg" aria-hidden="true"></i>
</a>
<div class="dropdown-menu" style="padding:0;" onclick="event.stopPropagation()">
<div class="settings-common">
<span><i class="fa fa fa-linode fa-lg" aria-hidden="true"></i> 主题</span>
<select class="form-control ipt-common theme">
<option value="light">light</option>
<option value="gray">gray</option>
<option value="light-red">light-red</option>
<option value="light-blue">light-blue</option>
<option value="light-purple">light-purple</option>
<option value="light-green">light-green</option>
<option value="light-yellow">light-yellow</option>
</select>
</div>
<div class="settings-common">
<span><i class="fa fa-key fa-lg" aria-hidden="true"></i> OpenAI Key</span>
<input type="text" class="form-control ipt-common api-key" placeholder="可用自己的api key">
</div>
<div class="settings-common">
<span><i class="fa fa-reddit-alien fa-lg" aria-hidden="true"></i> OpenAI 模型</span>
<select class="form-control ipt-common">
<option>gpt-3.5-turbo</option>
</select>
</div>
<div class="settings-common">
<span><i class="fa fa-floppy-o fa-lg" aria-hidden="true"></i> 记录对话内容,刷新不会消失</span>
<div class="chck-btn">
<input id="chck-1" type="checkbox">
<label for="chck-1" class="check-trail">
<div class="check-handler"></div>
</label>
</div>
</div>
<div class="settings-common">
<span><i class="fa fa-retweet fa-lg" aria-hidden="true"></i> 开启连续对话,加倍消耗tokens</span>
<div class="chck-btn">
<input id="chck-2" type="checkbox">
<label for="chck-2" class="check-trail">
<div class="check-handler"></div>
</label>
</div>
</div>
</div>
</div>
</div>
<div class="right">
<div class="screenshot common">
<a class="icon-style" title="截图保存对话"><i class="fa fa-file-image-o fa-lg" aria-hidden="true"></i></a>
</div>
<div class="delete common">
<a class="icon-style" title="删除历史记录"><i class="fa fa-trash-o fa-lg" aria-hidden="true"></i></a>
</div>
</div>
</div>
<div class="ipt">
<div class="col-xs-12">
<textarea id="chatInput" class="form-control" rows="1"></textarea>
</div>
<button id="chatBtn" class="btn btn-primary" type="button">Go !</button>
</div>
</div>
</div>
<footer class="foot" style="margin-top: 20px;">
<p class="lead text-center">“抢走工作的不会是AI,而是率先掌握AI能力的人”</p>
</footer>
</div>
</div>
</div>
</body>
<script src="./static/js/jquery-2.1.1.js"></script>
<script src="./static/js/bootstrap.min.js"></script>
<script src="./static/js/highlight.min.js"></script>
<script src="./static/js/marked.min.js"></script>
<script src="./static/js/html2canvas.min.js"></script>
<script src="./static/js/config.js"></script>
<script src="./static/js/custom.js"></script>
</html>