mirror of
https://github.com/woodchen-ink/openai-billing-query.git
synced 2025-07-18 05:51:59 +08:00
优化
This commit is contained in:
parent
3252fda1fd
commit
ff1d65de75
@ -1,10 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<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、是否绑卡、绑卡信息、组织信息、是否有效">
|
||||
<link rel="stylesheet" href="static/css.css" type="text/css" />
|
||||
</head>
|
||||
@ -65,10 +64,7 @@
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
<!-- This is the modal -->
|
||||
<!-- This is the modal -->
|
||||
<div id="myModal" class="modal">
|
||||
<!-- Modal content -->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h2>详细信息</h2>
|
||||
|
@ -183,16 +183,8 @@ button.loading::before {
|
||||
}
|
||||
|
||||
footer {
|
||||
/* padding: 2px; */
|
||||
/* border-top: 1px solid var(--border-color); */
|
||||
text-align: center;
|
||||
/* opacity: .5; */
|
||||
/* position: fixed; */
|
||||
/* bottom: 0; */
|
||||
/* left: 0; */
|
||||
margin-top: 20px;
|
||||
/* width: 100%; */
|
||||
/* background-color:#212121; */
|
||||
line-height: unset !important;
|
||||
line-height: normal;
|
||||
}
|
||||
@ -439,13 +431,11 @@ button.loading::before {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-radius: 12px 12px 0px 0px;
|
||||
/* height: 74px; */
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: 10px 16px;
|
||||
overflow-y: auto;
|
||||
/* height:336px; */
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
@ -1,15 +1,8 @@
|
||||
// Get the modal
|
||||
var modal = document.getElementById("myModal");
|
||||
|
||||
// Get the <span> element that closes the modal
|
||||
var span = document.getElementsByClassName("close")[0];
|
||||
|
||||
// When the user clicks on <span> (x), close the modal
|
||||
span.onclick = function () {
|
||||
modal.style.display = "none";
|
||||
}
|
||||
|
||||
// When the user clicks anywhere outside of the modal, close it
|
||||
window.onclick = function (event) {
|
||||
if (event.target == modal) {
|
||||
modal.style.display = "none";
|
||||
|
Loading…
x
Reference in New Issue
Block a user