Upload folder via GUI - renderer
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
<button id="btnOpenRepoActions" title="Neues Repository erstellen">🚀 New Repo</button>
|
<button id="btnOpenRepoActions" title="Neues Repository erstellen">🚀 New Repo</button>
|
||||||
<button id="btnOpenMigration" title="Repository von GitHub/GitLab zu Gitea migrieren">📥 Migrieren</button>
|
<button id="btnOpenMigration" title="Repository von GitHub/GitLab zu Gitea migrieren">📥 Migrieren</button>
|
||||||
<button id="btnPush" title="Projekt pushen">⬆️ Push</button>
|
<button id="btnPush" title="Projekt pushen">⬆️ Push</button>
|
||||||
<button id="btnGlobalTrash" class="hidden" title="Globalen Papierkorb über alle Repositories anzeigen">🗂️ Global Trash</button>
|
<button id="btnGlobalTrash" class="hidden" style="display:none" title=""><!-- removed --></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tool-group tool-group--utility">
|
<div class="tool-group tool-group--utility">
|
||||||
@@ -82,8 +82,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<button id="btnCommits" class="hidden" title="Commit History anzeigen">📊 Commits</button>
|
<button id="btnCommits" class="hidden" title="Commit History anzeigen">📊 Commits</button>
|
||||||
<button id="btnReleases" class="hidden" title="Releases anzeigen">📦 Releases</button>
|
<button id="btnReleases" class="hidden" title="Releases anzeigen">📦 Releases</button>
|
||||||
<button id="btnTrash" class="hidden" title="Papierkorb anzeigen">🗑️ Papierkorb</button>
|
<button id="btnTrash" class="hidden" style="display:none" title=""><!-- removed --></button>
|
||||||
<button id="btnPurgeTrash" class="hidden" title="Papierkorb älter als 7 Tage leeren">🧹 Purge 7d</button>
|
<button id="btnPurgeTrash" class="hidden" style="display:none" title=""><!-- removed --></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -226,6 +226,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="settings-panel settings-panel--diagnostics">
|
||||||
|
<div class="settings-panel-header">
|
||||||
|
<div>
|
||||||
|
<h3>Diagnose</h3>
|
||||||
|
<p>Erstellt ein Diagnosepaket mit Logs, Plattform und letzten Fehlern für schnelles Debugging.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="settings-diagnostics-card">
|
||||||
|
<button id="btnCreateDiagnostics" class="settings-action-btn" type="button">🧪 Diagnose erstellen</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="settings-column settings-column--right">
|
<div class="settings-column settings-column--right">
|
||||||
@@ -284,6 +296,25 @@
|
|||||||
<button id="btnCheckUpdates" class="settings-update-btn">🔄 Nach Updates suchen</button>
|
<button id="btnCheckUpdates" class="settings-update-btn">🔄 Nach Updates suchen</button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="settings-panel settings-panel--backup">
|
||||||
|
<div class="settings-panel-header">
|
||||||
|
<div>
|
||||||
|
<h3>Backup & Transfer</h3>
|
||||||
|
<p>Einstellungen, Favoriten und Verlauf exportieren oder auf einem anderen PC importieren.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="settings-backup-card">
|
||||||
|
<div class="settings-tools-grid">
|
||||||
|
<button id="btnExportSettingsBundle" class="settings-action-btn" type="button">📦 Backup exportieren</button>
|
||||||
|
<button id="btnImportSettingsBundle" class="settings-action-btn" type="button">📥 Backup importieren</button>
|
||||||
|
</div>
|
||||||
|
<div class="settings-inline-hint">
|
||||||
|
Export enthält Tokens nur verschlüsselt, nie als Klartext. Der Import ist für andere PCs geeignet.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -651,8 +651,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#btnOpenRepoActions,
|
#btnOpenRepoActions,
|
||||||
#btnPush,
|
#btnPush {
|
||||||
#btnGlobalTrash {
|
|
||||||
min-width: 92px;
|
min-width: 92px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1759,6 +1758,18 @@ input[type="checkbox"] {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.settings-version-field .settings-readonly-input {
|
||||||
|
height: 40px;
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
line-height: 40px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
letter-spacing: 0.01em;
|
||||||
|
color: var(--text-primary);
|
||||||
|
}
|
||||||
|
|
||||||
.settings-readonly-input {
|
.settings-readonly-input {
|
||||||
background: rgba(255,255,255,0.05);
|
background: rgba(255,255,255,0.05);
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
@@ -1767,15 +1778,17 @@ input[type="checkbox"] {
|
|||||||
|
|
||||||
.settings-update-btn {
|
.settings-update-btn {
|
||||||
min-width: 210px;
|
min-width: 210px;
|
||||||
height: 42px;
|
height: 40px;
|
||||||
padding: 0 16px;
|
padding: 0 12px;
|
||||||
border-radius: var(--radius-md);
|
border-radius: var(--radius-md);
|
||||||
border: 1px solid rgba(88, 213, 255, 0.3);
|
border: 1px solid rgba(88, 213, 255, 0.3);
|
||||||
background: linear-gradient(135deg, rgba(88, 213, 255, 0.94), rgba(92, 135, 255, 0.9));
|
background: linear-gradient(135deg, rgba(88, 213, 255, 0.94), rgba(92, 135, 255, 0.9));
|
||||||
color: #08111f;
|
color: #08111f;
|
||||||
font-size: 13px;
|
font-size: 12px;
|
||||||
font-weight: 800;
|
font-weight: 700;
|
||||||
letter-spacing: 0.01em;
|
letter-spacing: 0;
|
||||||
|
white-space: nowrap;
|
||||||
|
line-height: 1;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-normal);
|
transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-normal);
|
||||||
box-shadow: 0 16px 28px rgba(24, 136, 255, 0.26);
|
box-shadow: 0 16px 28px rgba(24, 136, 255, 0.26);
|
||||||
@@ -1791,6 +1804,121 @@ input[type="checkbox"] {
|
|||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.settings-tools-grid {
|
||||||
|
margin-top: 0;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-backup-card {
|
||||||
|
margin-top: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-diagnostics-card {
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-backup-title {
|
||||||
|
margin: 0 0 8px;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.08em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-action-btn {
|
||||||
|
height: 40px;
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
padding: 0 14px;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.15px;
|
||||||
|
cursor: pointer;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||||
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 212, 255, 0.08) 100%);
|
||||||
|
color: var(--text-primary);
|
||||||
|
transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-action-btn:hover {
|
||||||
|
transform: translateY(-1px);
|
||||||
|
border-color: rgba(88, 213, 255, 0.5);
|
||||||
|
background: linear-gradient(135deg, rgba(88, 213, 255, 0.17) 0%, rgba(92, 135, 255, 0.15) 100%);
|
||||||
|
box-shadow: 0 10px 20px rgba(8, 20, 40, 0.24);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-action-btn:active {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-tools-grid .settings-action-btn {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--app {
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--app .settings-panel-header {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--app .settings-version-card {
|
||||||
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
gap: 8px;
|
||||||
|
align-items: end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--app .settings-update-btn {
|
||||||
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--app .settings-inline-hint {
|
||||||
|
margin-top: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--backup .settings-inline-hint {
|
||||||
|
margin-top: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--backup .settings-tools-grid {
|
||||||
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--diagnostics {
|
||||||
|
padding: 11px;
|
||||||
|
height: 140px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--backup {
|
||||||
|
padding: 11px;
|
||||||
|
height: 165px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--diagnostics .settings-panel-header {
|
||||||
|
margin-bottom: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--backup .settings-panel-header {
|
||||||
|
margin-bottom: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--diagnostics .settings-panel-header p {
|
||||||
|
font-size: 10px;
|
||||||
|
line-height: 1.25;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--backup .settings-panel-header p {
|
||||||
|
font-size: 10px;
|
||||||
|
line-height: 1.25;
|
||||||
|
}
|
||||||
|
|
||||||
.settings-modal-actions {
|
.settings-modal-actions {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
}
|
}
|
||||||
@@ -1987,6 +2115,84 @@ input[type="checkbox"] {
|
|||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-wrap {
|
||||||
|
border: 1px solid rgba(88, 213, 255, 0.22);
|
||||||
|
background: linear-gradient(135deg, rgba(88, 213, 255, 0.07), rgba(92, 135, 255, 0.08));
|
||||||
|
border-radius: 14px;
|
||||||
|
padding: 10px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-title {
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.08em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: #d8f7ff;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-row {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-chip {
|
||||||
|
appearance: none;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
||||||
|
background: rgba(7, 17, 31, 0.56);
|
||||||
|
color: var(--text-primary);
|
||||||
|
border-radius: 999px;
|
||||||
|
min-height: 30px;
|
||||||
|
padding: 0 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 7px;
|
||||||
|
transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-chip:hover {
|
||||||
|
border-color: rgba(88, 213, 255, 0.6);
|
||||||
|
background: rgba(88, 213, 255, 0.12);
|
||||||
|
transform: translateY(-1px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-chip-icon {
|
||||||
|
font-size: 11px;
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-chip-label {
|
||||||
|
font-weight: 700;
|
||||||
|
max-width: 150px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-chip-owner {
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-size: 11px;
|
||||||
|
max-width: 120px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-chip-missing {
|
||||||
|
color: #fca5a5;
|
||||||
|
font-size: 10px;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-pinboard-chip.is-missing {
|
||||||
|
border-color: rgba(248, 113, 113, 0.4);
|
||||||
|
background: rgba(127, 29, 29, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
.repo-owner-tab {
|
.repo-owner-tab {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||||
@@ -2021,59 +2227,8 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ===========================
|
/* ===========================
|
||||||
TRASH VIEW
|
(trash view removed)
|
||||||
=========================== */
|
=========================== */
|
||||||
.item-card .trash-card-meta {
|
|
||||||
font-size: 11px;
|
|
||||||
opacity: 0.84;
|
|
||||||
margin-top: 8px;
|
|
||||||
line-height: 1.45;
|
|
||||||
word-break: break-all;
|
|
||||||
color: rgba(226, 232, 240, 0.9);
|
|
||||||
}
|
|
||||||
|
|
||||||
.item-card .trash-card-actions {
|
|
||||||
display: flex;
|
|
||||||
gap: 10px;
|
|
||||||
margin-top: 12px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item-card button.trash-restore-btn {
|
|
||||||
appearance: none;
|
|
||||||
-webkit-appearance: none;
|
|
||||||
border: 1px solid rgba(56, 189, 248, 0.45);
|
|
||||||
background: linear-gradient(135deg, rgba(10, 88, 122, 0.58), rgba(30, 64, 175, 0.55));
|
|
||||||
color: #e0f2fe;
|
|
||||||
border-radius: 9px;
|
|
||||||
padding: 7px 12px;
|
|
||||||
min-height: 32px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 700;
|
|
||||||
line-height: 1;
|
|
||||||
letter-spacing: 0.2px;
|
|
||||||
cursor: pointer;
|
|
||||||
box-shadow: 0 8px 18px rgba(3, 19, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
|
||||||
transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item-card button.trash-restore-btn:hover {
|
|
||||||
border-color: rgba(56, 189, 248, 0.78);
|
|
||||||
background: linear-gradient(135deg, rgba(14, 116, 144, 0.64), rgba(37, 99, 235, 0.62));
|
|
||||||
box-shadow: 0 10px 22px rgba(7, 42, 90, 0.3), 0 0 0 2px rgba(56, 189, 248, 0.16);
|
|
||||||
transform: translateY(-1px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.item-card button.trash-restore-btn:active {
|
|
||||||
transform: translateY(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.item-card button.trash-restore-btn:disabled {
|
|
||||||
opacity: 0.62;
|
|
||||||
cursor: wait;
|
|
||||||
transform: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.repo-owner-tab.active {
|
.repo-owner-tab.active {
|
||||||
border-color: rgba(88, 213, 255, 0.65);
|
border-color: rgba(88, 213, 255, 0.65);
|
||||||
@@ -3567,6 +3722,14 @@ progress::-moz-progress-bar {
|
|||||||
gap: 12px;
|
gap: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.settings-panel--diagnostics {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-panel--backup {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.settings-credentials-grid {
|
.settings-credentials-grid {
|
||||||
grid-template-columns: minmax(0, 1fr);
|
grid-template-columns: minmax(0, 1fr);
|
||||||
}
|
}
|
||||||
@@ -3591,11 +3754,13 @@ progress::-moz-progress-bar {
|
|||||||
.settings-credentials-grid,
|
.settings-credentials-grid,
|
||||||
.settings-connection-tools,
|
.settings-connection-tools,
|
||||||
.settings-version-card,
|
.settings-version-card,
|
||||||
|
.settings-tools-grid,
|
||||||
.modal-buttons {
|
.modal-buttons {
|
||||||
grid-template-columns: minmax(0, 1fr);
|
grid-template-columns: minmax(0, 1fr);
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-update-btn,
|
.settings-update-btn,
|
||||||
|
.settings-action-btn,
|
||||||
#btnTestGiteaConnection,
|
#btnTestGiteaConnection,
|
||||||
#btnTestGithubConnection {
|
#btnTestGithubConnection {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -3681,10 +3846,38 @@ body.compact-mode .file-type-badge {
|
|||||||
.repo-size-badge {
|
.repo-size-badge {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
margin-top: 4px;
|
margin-top: 0;
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.repo-card-footer {
|
||||||
|
margin-top: auto;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repo-archived-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 0;
|
||||||
|
font-size: 10px;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
color: #fcd34d;
|
||||||
|
background: rgba(120, 53, 15, 0.32);
|
||||||
|
border: 1px solid rgba(245, 158, 11, 0.55);
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 2px 8px;
|
||||||
|
pointer-events: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
/* ===========================
|
/* ===========================
|
||||||
FAVORITEN DRAG-REORDER
|
FAVORITEN DRAG-REORDER
|
||||||
=========================== */
|
=========================== */
|
||||||
|
|||||||
Reference in New Issue
Block a user