Skip to content

Commit 58d301e

Browse files
committed
add/delete records
1 parent 54112d0 commit 58d301e

File tree

5 files changed

+167
-167
lines changed

5 files changed

+167
-167
lines changed

.idea/workspace.xml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backup/templates/backup/restore.html

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
text-align: center;
1919
margin-bottom: 3rem;
2020
padding: 3rem 0;
21-
background: linear-gradient(135deg, #f8f9ff 0%, #f0f1ff 100%);
21+
background: linear-gradient(135deg, var(--bg-secondary, #f8f9ff) 0%, var(--bg-hover, #f0f1ff) 100%);
2222
border-radius: 20px;
2323
animation: fadeInDown 0.5s ease-out;
2424
}
2525

2626
.page-title {
2727
font-size: 3rem;
2828
font-weight: 700;
29-
color: #1e293b;
29+
color: var(--text-primary, #1e293b);
3030
margin-bottom: 1rem;
3131
display: flex;
3232
align-items: center;
@@ -36,7 +36,7 @@
3636

3737
.page-subtitle {
3838
font-size: 1.25rem;
39-
color: #64748b;
39+
color: var(--text-secondary, #64748b);
4040
margin-bottom: 1.5rem;
4141
max-width: 800px;
4242
margin-left: auto;
@@ -51,8 +51,8 @@
5151
}
5252

5353
.info-box {
54-
background: #e0e7ff;
55-
border: 1px solid #c7d2fe;
54+
background: var(--accent-light, #e0e7ff);
55+
border: 1px solid var(--accent-border, #c7d2fe);
5656
border-radius: 12px;
5757
padding: 1.5rem;
5858
margin-bottom: 2rem;
@@ -68,7 +68,7 @@
6868

6969
.info-box p {
7070
margin: 0;
71-
color: #3730a3;
71+
color: var(--info-dark, #3730a3);
7272
font-size: 0.925rem;
7373
}
7474

@@ -96,9 +96,9 @@
9696
}
9797

9898
.btn-secondary {
99-
background: #fff;
99+
background: var(--bg-primary, #fff);
100100
color: #5b5fcf;
101-
border: 1px solid #e8e9ff;
101+
border: 1px solid var(--border-primary, #e8e9ff);
102102
padding: 0.75rem 2rem;
103103
border-radius: 10px;
104104
font-weight: 500;
@@ -112,32 +112,32 @@
112112
}
113113

114114
.btn-secondary:hover {
115-
background: #f8f9ff;
115+
background: var(--bg-secondary, #f8f9ff);
116116
border-color: #5b5fcf;
117117
transform: translateY(-2px);
118118
box-shadow: 0 4px 12px rgba(91, 95, 207, 0.2);
119119
}
120120

121121
.main-card {
122-
background: white;
122+
background: var(--bg-primary, white);
123123
border-radius: 16px;
124-
box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 10px 40px rgba(0,0,0,0.08);
125-
border: 1px solid #e8e9ff;
124+
box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05)), var(--shadow-lg, 0 10px 40px rgba(0,0,0,0.08));
125+
border: 1px solid var(--border-primary, #e8e9ff);
126126
overflow: hidden;
127127
margin-bottom: 2rem;
128128
animation: fadeInUp 0.5s ease-out;
129129
}
130130

131131
.card-header {
132-
background: linear-gradient(135deg, #f8f9ff 0%, #f0f1ff 100%);
132+
background: linear-gradient(135deg, var(--bg-secondary, #f8f9ff) 0%, var(--bg-hover, #f0f1ff) 100%);
133133
padding: 1.5rem 2rem;
134-
border-bottom: 1px solid #e8e9ff;
134+
border-bottom: 1px solid var(--border-primary, #e8e9ff);
135135
}
136136

137137
.card-title {
138138
font-size: 1.25rem;
139139
font-weight: 600;
140-
color: #1e293b;
140+
color: var(--text-primary, #1e293b);
141141
margin: 0;
142142
display: flex;
143143
align-items: center;
@@ -160,18 +160,18 @@
160160
display: block;
161161
margin-bottom: 0.5rem;
162162
font-weight: 500;
163-
color: #1e293b;
163+
color: var(--text-primary, #1e293b);
164164
font-size: 0.875rem;
165165
}
166166

167167
.form-control {
168168
width: 100%;
169169
padding: 0.875rem 1rem;
170-
border: 1px solid #e8e9ff;
170+
border: 1px solid var(--border-primary, #e8e9ff);
171171
border-radius: 10px;
172172
font-size: 0.875rem;
173173
transition: all 0.3s ease;
174-
background: #fff;
174+
background: var(--bg-primary, #fff);
175175
}
176176

177177
.form-control:focus {
@@ -181,8 +181,8 @@
181181
}
182182

183183
.restore-progress-card {
184-
background: #fff3cd;
185-
border: 1px solid #ffeaa7;
184+
background: var(--warning-light, #fff3cd);
185+
border: 1px solid var(--warning-border, #ffeaa7);
186186
border-radius: 12px;
187187
padding: 1.5rem;
188188
margin-bottom: 2rem;
@@ -214,20 +214,20 @@
214214

215215
.status-details h4 {
216216
margin: 0;
217-
color: #856404;
217+
color: var(--warning-text, #856404);
218218
font-size: 1rem;
219219
}
220220

221221
.status-details p {
222222
margin: 0;
223-
color: #856404;
223+
color: var(--warning-text, #856404);
224224
font-size: 0.875rem;
225225
opacity: 0.8;
226226
}
227227

228228
.backup-select-card {
229-
background: #f8f9ff;
230-
border: 1px solid #e8e9ff;
229+
background: var(--bg-secondary, #f8f9ff);
230+
border: 1px solid var(--border-primary, #e8e9ff);
231231
border-radius: 12px;
232232
padding: 2rem;
233233
margin-bottom: 2rem;
@@ -251,21 +251,21 @@
251251
}
252252

253253
.alert-success {
254-
background: #d1fae5;
255-
color: #065f46;
256-
border: 1px solid #a7f3d0;
254+
background: var(--success-light, #d1fae5);
255+
color: var(--success-text, #065f46);
256+
border: 1px solid var(--success-border, #a7f3d0);
257257
}
258258

259259
.alert-danger {
260-
background: #fee2e2;
261-
color: #991b1b;
262-
border: 1px solid #fecaca;
260+
background: var(--danger-light, #fee2e2);
261+
color: var(--danger-text, #991b1b);
262+
border: 1px solid var(--danger-border, #fecaca);
263263
}
264264

265265
.loading-spinner {
266266
width: 20px;
267267
height: 20px;
268-
border: 3px solid #e8e9ff;
268+
border: 3px solid var(--border-primary, #e8e9ff);
269269
border-top-color: #5b5fcf;
270270
border-radius: 50%;
271271
animation: spin 1s linear infinite;
@@ -275,31 +275,31 @@
275275

276276
.progress-table {
277277
width: 100%;
278-
background: white;
278+
background: var(--bg-primary, white);
279279
border-radius: 8px;
280280
overflow: hidden;
281-
border: 1px solid #e8e9ff;
281+
border: 1px solid var(--border-primary, #e8e9ff);
282282
}
283283

284284
.progress-table th {
285-
background: #f8f9ff;
285+
background: var(--bg-secondary, #f8f9ff);
286286
padding: 0.75rem;
287287
text-align: left;
288288
font-weight: 600;
289-
color: #1e293b;
289+
color: var(--text-primary, #1e293b);
290290
font-size: 0.875rem;
291-
border-bottom: 1px solid #e8e9ff;
291+
border-bottom: 1px solid var(--border-primary, #e8e9ff);
292292
}
293293

294294
.progress-table td {
295295
padding: 0.75rem;
296-
color: #64748b;
296+
color: var(--text-secondary, #64748b);
297297
font-size: 0.875rem;
298-
border-bottom: 1px solid #f3f4f6;
298+
border-bottom: 1px solid var(--border-light, #f3f4f6);
299299
}
300300

301301
.file-badge {
302-
background: #e0e7ff;
302+
background: var(--accent-light, #e0e7ff);
303303
color: #5b5fcf;
304304
padding: 0.25rem 0.75rem;
305305
border-radius: 6px;

0 commit comments

Comments
 (0)