Expanded UI
This commit is contained in:
30
history.html
30
history.html
@@ -3,9 +3,33 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Image Selection History</title>
|
||||
<title>Swaipu History</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" integrity="sha512-KfkFx7UiO/8VdM4DJ8GIzQ3pObu7q9gP/yu1ZPTM0u88Z+cIXtA8nKg9ePC60zY+XvKw5xpbIX8zahPszp5C8w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
<style>
|
||||
/* Hide headers above filters */
|
||||
.filter-section h4 { display: none; }
|
||||
/* History page action buttons layout */
|
||||
.history-actions {
|
||||
display: flex;
|
||||
flex-direction: row; /* force horizontal layout */
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
margin: 12px 0;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.history-actions {
|
||||
order: 0; /* keep above images */
|
||||
}
|
||||
|
||||
}
|
||||
.history-actions .action-btn {
|
||||
flex: 1 1 0;
|
||||
padding: 10px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="action-modal" class="modal">
|
||||
@@ -39,7 +63,7 @@
|
||||
|
||||
<div class="container">
|
||||
<header class="header">
|
||||
<h1 class="app-title"><i class="fa-solid fa-images"></i> History</h1>
|
||||
<h1 class="app-title"><img src="static/logo.png" alt="Swaipu logo" class="logo logo-half"> Swaipu History</h1>
|
||||
<a href="/" class="history-link">Back to Swipe</a>
|
||||
</header>
|
||||
|
||||
@@ -71,7 +95,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="action-buttons">
|
||||
<div class="action-buttons history-actions">
|
||||
<button id="reset-db" class="action-btn reset-btn"><i class="fa-solid fa-trash"></i><span class="label">Reset</span></button>
|
||||
<button id="select-all" class="action-btn select-btn"><i class="fa-solid fa-check-double"></i><span class="label">Select All</span></button>
|
||||
<button id="deselect-all" class="action-btn select-btn"><i class="fa-regular fa-square"></i><span class="label">Deselect All</span></button>
|
||||
|
||||
Reference in New Issue
Block a user