feat: add refresh buttons for exams and packets with loading state management

This commit is contained in:
Ross
2026-07-05 20:49:01 +01:00
parent 8ab8a7e8db
commit 32655c9fa8
3 changed files with 263 additions and 107 deletions
+26
View File
@@ -1321,4 +1321,30 @@ h2:has(+ #exam-list:empty), h2:has(+ #packet-list:empty){
to {
box-shadow: 0 0 12px #F44336;
}
}
.refresh-button {
background-color: transparent;
border: 1px solid #555;
border-radius: 3px;
color: #bbb;
padding: 1px 6px;
font-size: 10px;
cursor: pointer;
margin-left: 10px;
vertical-align: middle;
transition: all 0.2s;
}
.refresh-button:hover {
background-color: #333;
border-color: #888;
color: #fff;
}
.global-refresh-container {
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 15px;
}