This commit is contained in:
wood 2023-08-29 00:33:44 +08:00
parent 3252fda1fd
commit ff1d65de75
3 changed files with 1 additions and 22 deletions

View File

@ -1,10 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenAIAPI 信息查询</title> <title>OpenAI API 信息查询</title>
<meta name="description" content="批量快速查询OPENAI的余额支持可视化展现已用比例、额度、已用量、未用量、是否GPT-4、是否GPT4-32K、是否绑卡、绑卡信息、组织信息、是否有效"> <meta name="description" content="批量快速查询OPENAI的余额支持可视化展现已用比例、额度、已用量、未用量、是否GPT-4、是否GPT4-32K、是否绑卡、绑卡信息、组织信息、是否有效">
<link rel="stylesheet" href="static/css.css" type="text/css" /> <link rel="stylesheet" href="static/css.css" type="text/css" />
</head> </head>
@ -65,10 +64,7 @@
</thead> </thead>
<tbody></tbody> <tbody></tbody>
</table> </table>
<!-- This is the modal -->
<!-- This is the modal -->
<div id="myModal" class="modal"> <div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h2>详细信息</h2> <h2>详细信息</h2>

View File

@ -183,16 +183,8 @@ button.loading::before {
} }
footer { footer {
/* padding: 2px; */
/* border-top: 1px solid var(--border-color); */
text-align: center; text-align: center;
/* opacity: .5; */
/* position: fixed; */
/* bottom: 0; */
/* left: 0; */
margin-top: 20px; margin-top: 20px;
/* width: 100%; */
/* background-color:#212121; */
line-height: unset !important; line-height: unset !important;
line-height: normal; line-height: normal;
} }
@ -439,13 +431,11 @@ button.loading::before {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
border-radius: 12px 12px 0px 0px; border-radius: 12px 12px 0px 0px;
/* height: 74px; */
} }
.modal-body { .modal-body {
padding: 10px 16px; padding: 10px 16px;
overflow-y: auto; overflow-y: auto;
/* height:336px; */
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
} }

View File

@ -1,15 +1,8 @@
// Get the modal
var modal = document.getElementById("myModal"); var modal = document.getElementById("myModal");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0]; var span = document.getElementsByClassName("close")[0];
// When the user clicks on <span> (x), close the modal
span.onclick = function () { span.onclick = function () {
modal.style.display = "none"; modal.style.display = "none";
} }
// When the user clicks anywhere outside of the modal, close it
window.onclick = function (event) { window.onclick = function (event) {
if (event.target == modal) { if (event.target == modal) {
modal.style.display = "none"; modal.style.display = "none";