Trae Assistant commited on
Commit ·
0cfd00d
1
Parent(s): 287fb04
Inline manager styles for Spaces
Browse files- templates/index.html +46 -4
templates/index.html
CHANGED
|
@@ -4,12 +4,54 @@
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Anuma 注册管理器</title>
|
| 7 |
-
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
|
| 8 |
<style>
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
#log-container { background-color: #212529; color: #f8f9fa; height: 300px; overflow-y: auto; font-family: monospace; font-size: 0.85rem; padding: 1rem; border-radius: 0.375rem; }
|
| 12 |
-
.table-responsive { max-height: 500px; overflow-y: auto; }
|
| 13 |
.status-success { color: #198754; font-weight: bold; }
|
| 14 |
.status-failed { color: #dc3545; font-weight: bold; }
|
| 15 |
.status-pending { color: #fd7e14; }
|
|
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Anuma 注册管理器</title>
|
|
|
|
| 7 |
<style>
|
| 8 |
+
* { box-sizing: border-box; }
|
| 9 |
+
body { margin: 0; background-color: #f8f9fa; padding-top: 2rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 14px; color: #212529; }
|
| 10 |
+
.container-fluid { width: 100%; margin: 0 auto; }
|
| 11 |
+
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
|
| 12 |
+
.row { display: flex; flex-wrap: wrap; margin-left: -0.75rem; margin-right: -0.75rem; }
|
| 13 |
+
.col-md-4, .col-md-8 { padding-left: 0.75rem; padding-right: 0.75rem; width: 100%; }
|
| 14 |
+
@media (min-width: 768px) { .col-md-4 { width: 33.333333%; } .col-md-8 { width: 66.666667%; } }
|
| 15 |
+
.card { margin-bottom: 1.5rem; background: #fff; border: 1px solid rgba(0,0,0,.125); border-radius: 0.5rem; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); overflow: hidden; }
|
| 16 |
+
.card-header { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(0,0,0,.125); font-weight: 600; }
|
| 17 |
+
.card-body { padding: 1rem; }
|
| 18 |
+
.bg-primary { background-color: #0d6efd !important; }
|
| 19 |
+
.bg-success { background-color: #198754 !important; }
|
| 20 |
+
.text-white { color: #fff !important; }
|
| 21 |
+
.text-muted { color: #6c757d !important; }
|
| 22 |
+
.text-break { word-break: break-word; }
|
| 23 |
+
.mb-2 { margin-bottom: 0.5rem; }
|
| 24 |
+
.mb-3 { margin-bottom: 1rem; }
|
| 25 |
+
.me-2 { margin-right: 0.5rem; }
|
| 26 |
+
.d-flex { display: flex; }
|
| 27 |
+
.justify-content-between { justify-content: space-between; }
|
| 28 |
+
.align-items-center { align-items: center; }
|
| 29 |
+
.d-grid { display: grid; }
|
| 30 |
+
.gap-2 { gap: 0.5rem; }
|
| 31 |
+
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
|
| 32 |
+
.form-control, .form-select { display: block; width: 100%; padding: 0.375rem 0.75rem; font-size: 1rem; line-height: 1.5; color: #212529; background-color: #fff; border: 1px solid #ced4da; border-radius: 0.375rem; }
|
| 33 |
+
textarea.form-control { min-height: 70px; resize: vertical; }
|
| 34 |
+
.btn { display: inline-block; padding: 0.375rem 0.75rem; font-size: 1rem; line-height: 1.5; text-align: center; cursor: pointer; border: 1px solid transparent; border-radius: 0.375rem; background: #fff; color: #212529; }
|
| 35 |
+
.btn:disabled { opacity: .65; cursor: not-allowed; }
|
| 36 |
+
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.25rem; }
|
| 37 |
+
.btn-success { color: #fff; background-color: #198754; border-color: #198754; }
|
| 38 |
+
.btn-danger { color: #fff; background-color: #dc3545; border-color: #dc3545; }
|
| 39 |
+
.btn-secondary { color: #fff; background-color: #6c757d; border-color: #6c757d; }
|
| 40 |
+
.btn-outline-primary { color: #0d6efd; border-color: #0d6efd; }
|
| 41 |
+
.btn-outline-success { color: #198754; border-color: #198754; }
|
| 42 |
+
.btn-outline-danger { color: #dc3545; border-color: #dc3545; }
|
| 43 |
+
.btn-outline-secondary { color: #6c757d; border-color: #6c757d; }
|
| 44 |
+
.btn-group { display: inline-flex; vertical-align: middle; gap: 0.25rem; }
|
| 45 |
+
.table-responsive { max-height: 500px; overflow-y: auto; width: 100%; }
|
| 46 |
+
.table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; vertical-align: top; }
|
| 47 |
+
.table th, .table td { padding: 0.5rem; border-bottom: 1px solid #dee2e6; text-align: left; }
|
| 48 |
+
.table-light { background-color: #f8f9fa; }
|
| 49 |
+
.badge { display: inline-block; padding: 0.35em 0.65em; font-size: .75em; font-weight: 700; line-height: 1; color: #fff; text-align: center; border-radius: 0.375rem; }
|
| 50 |
+
.bg-warning { background-color: #ffc107 !important; color: #000; }
|
| 51 |
+
.bg-info { background-color: #0dcaf0 !important; color: #000; }
|
| 52 |
+
.bg-secondary { background-color: #6c757d !important; }
|
| 53 |
+
hr { border: 0; border-top: 1px solid #dee2e6; margin: 1rem 0; }
|
| 54 |
#log-container { background-color: #212529; color: #f8f9fa; height: 300px; overflow-y: auto; font-family: monospace; font-size: 0.85rem; padding: 1rem; border-radius: 0.375rem; }
|
|
|
|
| 55 |
.status-success { color: #198754; font-weight: bold; }
|
| 56 |
.status-failed { color: #dc3545; font-weight: bold; }
|
| 57 |
.status-pending { color: #fd7e14; }
|