Update /export-configuration, reposition the buttons

This commit is contained in:
2026-01-16 17:02:21 -05:00
parent 41292adb6f
commit 0cf3ab5b83
2 changed files with 76 additions and 29 deletions
+60 -17
View File
@@ -10,7 +10,7 @@
background: rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
border-radius: 15px; border-radius: 15px;
padding: 2rem; padding: 1.5rem 2rem;
margin: 0 auto 2rem; margin: 0 auto 2rem;
max-width: 1200px; max-width: 1200px;
margin-left: auto; margin-left: auto;
@@ -23,25 +23,45 @@
gap: 1rem; gap: 1rem;
} }
.header-content h1 { .header-content {
color: #2d3748; flex: 1;
font-size: 2.5rem; min-width: 300px;
font-weight: 700; }
margin-bottom: 0.5rem;
.header-title-section {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1rem; gap: 1.25rem;
flex-wrap: nowrap;
}
.header-title-text {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.header-content h1 {
color: #2d3748;
font-size: 1.75rem;
font-weight: 700;
margin: 0;
display: flex;
align-items: center;
gap: 0.75rem;
line-height: 1.2;
} }
.header-content h1 i { .header-content h1 i {
color: #48bb78; color: #48bb78;
font-size: 2.2rem; font-size: 1.6rem;
} }
.header-content p { .header-content p {
color: #718096; color: #718096;
font-size: 1.1rem; font-size: 0.9rem;
margin-bottom: 0; margin: 0;
line-height: 1.3;
} }
.header-actions { .header-actions {
@@ -337,14 +357,15 @@
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 0.5rem; gap: 0.5rem;
padding: 0.75rem 1.5rem; padding: 0.65rem 1.25rem;
border: none; border: none;
border-radius: 8px; border-radius: 8px;
font-weight: 600; font-weight: 600;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
font-size: 1rem; font-size: 0.95rem;
white-space: nowrap;
} }
.btn:hover { .btn:hover {
@@ -383,12 +404,12 @@
.btn-sm { .btn-sm {
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
font-size: 0.9rem; font-size: 0.85rem;
} }
.btn-lg { .btn-lg {
padding: 1rem 2rem; padding: 0.75rem 1.5rem;
font-size: 1.1rem; font-size: 1rem;
} }
/* Responsive Design */ /* Responsive Design */
@@ -399,11 +420,33 @@
.export-header { .export-header {
flex-direction: column; flex-direction: column;
text-align: center; align-items: stretch;
}
.header-title-section {
flex-wrap: wrap;
gap: 1rem;
} }
.header-content h1 { .header-content h1 {
font-size: 2rem; font-size: 1.5rem;
}
.header-content h1 i {
font-size: 1.3rem;
}
.header-content p {
font-size: 0.85rem;
}
.header-actions {
width: 100%;
}
.header-actions .btn {
width: 100%;
justify-content: center;
} }
.columns-grid { .columns-grid {
+16 -12
View File
@@ -14,17 +14,25 @@
<!-- Header Section --> <!-- Header Section -->
<div class="export-header"> <div class="export-header">
<div class="header-content"> <div class="header-content">
<h1> <div class="header-title-section">
<i class="fas fa-file-excel"></i> <button onclick="goBackToReport()" class="btn btn-secondary">
Export Configuration <i class="fas fa-arrow-left"></i>
</h1> Back to Report
<p>Customize your attendance report export with selected columns, custom names, and column ordering</p> </button>
<div class="header-title-text">
<h1>
<i class="fas fa-file-excel"></i>
Export Configuration
</h1>
<p>Customize your attendance report export with selected columns, custom names, and column ordering</p>
</div>
</div>
</div> </div>
<div class="header-actions"> <div class="header-actions">
<button onclick="goBackToReport()" class="btn btn-secondary"> <button type="submit" form="exportForm" class="btn btn-success btn-lg" id="generateBtn">
<i class="fas fa-arrow-left"></i> <i class="fas fa-download"></i>
Back to Report Generate Excel Export
</button> </button>
</div> </div>
</div> </div>
@@ -205,10 +213,6 @@
<!-- Submit Section --> <!-- Submit Section -->
<div class="submit-section"> <div class="submit-section">
<div class="submit-actions"> <div class="submit-actions">
<button type="submit" class="btn btn-success btn-lg" id="generateBtn">
<i class="fas fa-download"></i>
Generate Excel Export
</button>
<p class="submit-note"> <p class="submit-note">
<i class="fas fa-info-circle"></i> <i class="fas fa-info-circle"></i>
Your column preferences and order will be saved for next time Your column preferences and order will be saved for next time