mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
修复一些图片模式页面错误,添加图片页面服务器自定义配置,修改配置文件加载方法 (#172)
This commit is contained in:
parent
6b9afe588a
commit
049e71b7bb
203 changed files with 2071 additions and 1385 deletions
|
|
@ -6,10 +6,10 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<!--====== CSS Here ======-->
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/ChatGPT/static/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/ChatGPT/static/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/ChatGPT/static/css/hljs.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/ChatGPT/static/css/style.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/static/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/static/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/static/css/hljs.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/ChatGPT/style.css">
|
||||
|
||||
</head>
|
||||
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
<div class="row">
|
||||
<div class="col-lg-3 col-4 my-auto">
|
||||
<a href="#" class="site-logo">
|
||||
<img src="{{pluResPath}}content/ChatGPT/static/picture/openai.png" alt="LOGO">
|
||||
<img src="{{pluResPath}}content/static/picture/openai.png" alt="LOGO">
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
|
@ -32,8 +32,8 @@
|
|||
<div class="col-xl-5 col-lg-5 text-right">
|
||||
<div class="section-heading">
|
||||
<h2>Open AI</h2>
|
||||
{{if cache != ''}}
|
||||
<p> {{cache}} </p>
|
||||
{{if cache.file != ''}}
|
||||
<p> {{cache.file}} </p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{if cache != ''}}
|
||||
{{if cache.file != ''}}
|
||||
<div id="qrcode" class="row justify-content-end"></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
@ -82,13 +82,13 @@
|
|||
<!-- footer end -->
|
||||
|
||||
<!--========= JS Here =========-->
|
||||
<script src="{{pluResPath}}content/ChatGPT/static/js/jquery-2.2.4.min.js"></script>
|
||||
<script src="{{pluResPath}}content/Bing/static/js/jquery.qrcode.min.js"></script>
|
||||
<script src="{{pluResPath}}content/ChatGPT/static/js/highlight.min.js"></script>
|
||||
<script src="{{pluResPath}}content/ChatGPT/static/js/marked.min.js"></script>
|
||||
<script src="{{pluResPath}}content/Bing/static/js/tex-mml-chtml.js"></script>
|
||||
<script src="{{pluResPath}}content/ChatGPT/static/js/main.js"></script>
|
||||
<script src="{{pluResPath}}content/ChatGPT/static/js/purify.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/jquery-2.2.4.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/jquery.qrcode.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/highlight.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/marked.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/tex-mml-chtml.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/main.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/purify.min.js"></script>
|
||||
|
||||
<script>
|
||||
marked.setOptions({
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
const sanitizedHtml = DOMPurify.sanitize(html);
|
||||
|
||||
$(".markdown").html(sanitizedHtml);
|
||||
jQuery('#qrcode').qrcode({width: 128,height: 128,text: "http://content.alcedogroup.com/{{cache}}"});
|
||||
jQuery('#qrcode').qrcode({width: 128,height: 128,text: "{{cache.cacheUrl}}/{{cache.file}}"});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue