mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2026-11-13 09:31:46 +01:00
feat: enhance PDF text extraction and add maintenance features
- Refactor text extraction functions to extract text from all pages instead of just the first page. - Implement logging for better debugging during file operations. - Add a new maintenance page with options to rebuild the database and run consistency checks. - Update styles for maintenance actions and improve UI elements. - Remove obsolete rebuild database functionality from the main interface.
This commit is contained in:
@@ -172,6 +172,50 @@ body {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.maintenance-actions {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.maintenance-action {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) max-content;
|
||||
align-items: center;
|
||||
gap: 12px 24px;
|
||||
padding: 18px;
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.maintenance-action h3 {
|
||||
margin: 0 0 6px;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.maintenance-action > div:first-child p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.maintenance-operation {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.maintenance-operation progress {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
accent-color: var(--primary);
|
||||
}
|
||||
|
||||
.maintenance-operation .action-status {
|
||||
min-height: 0;
|
||||
margin: 8px 0 0;
|
||||
}
|
||||
|
||||
.config-description {
|
||||
margin: 0 0 14px;
|
||||
color: var(--muted);
|
||||
@@ -521,13 +565,14 @@ body {
|
||||
|
||||
.additional-field-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(160px, 1fr) minmax(180px, 1.5fr) auto;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
|
||||
gap: 10px;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.additional-field-row input {
|
||||
.additional-field-row select {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.additional-field-empty {
|
||||
@@ -688,6 +733,14 @@ body {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.maintenance-action {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.maintenance-action > button {
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user