mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
Conversation communication (#165)
* init: conversation in api3 (WIP) * feat: beta conversation * fix: fix some problems * fix: add help message
This commit is contained in:
parent
a1e72c7757
commit
a3b14b1a79
11 changed files with 658 additions and 215 deletions
36
resources/conversation/chatgpt.html
Normal file
36
resources/conversation/chatgpt.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="{{pluResPath}}conversation/conversation.css" />
|
||||
<link rel="shortcut icon" href="#" />
|
||||
</head>
|
||||
{{@headStyle}}
|
||||
|
||||
<body>
|
||||
<div class="container" id="container">
|
||||
<div class="head_box">
|
||||
<div class="id_text">ChatGPT-Plugin</div>
|
||||
<h2 class="day_text">最近对话列表</h2>
|
||||
<img class="chatgpt_logo" src="{{pluResPath}}img/icon/chatgpt.png"/>
|
||||
</div>
|
||||
<div class="data_box">
|
||||
<div class="list">
|
||||
{{each conversations item}}
|
||||
<div class="item-{{item.status}}">
|
||||
<img class="icon" src="{{pluResPath}}img/icon/chat.png" />
|
||||
<div class="title">
|
||||
<div class="text">{{item.id}}</div>
|
||||
<div class="dec">最近问题:{{item.lastPrompt}}</div>
|
||||
<div class="creater">发起者:{{item.creater}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo">Created By Yunzai-Bot and ChatGPT-Plugin</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue