diff --git a/static/css/style.css b/static/css/style.css index 44561a5..4d96558 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -4826,6 +4826,42 @@ body.keyboard-open.notepad-focused .notepad-panel { margin-bottom: 20px; } +.quick-connect-details-card { + padding: 0; + overflow: clip; +} + +.quick-connect-details-card .quick-connect-card-header { + margin-bottom: 0; + padding: 18px 20px; +} + +.quick-connect-details-content { + padding: 18px 20px 20px; + border-top: 1px solid var(--border-color); +} + +.quick-connect-auth-method { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(180px, 44%); + align-items: center; + gap: 18px; + margin-bottom: 24px; +} + +.quick-connect-auth-method label { + margin-bottom: 0; +} + +.quick-connect-core-fields { + display: grid; + gap: 14px; +} + +.quick-connect-core-fields :is(.form-row, .form-group, .connection-profile-context) { + margin-bottom: 0; +} + .quick-connect-card-header.compact { margin-bottom: 14px; } @@ -4861,10 +4897,6 @@ body.keyboard-open.notepad-focused .notepad-panel { line-height: 1.45; } -.quick-connect-details-card > .form-group:last-child { - margin-bottom: 0; -} - .connection-profile-context { display: grid; grid-template-columns: auto minmax(0, 1fr); @@ -4998,6 +5030,18 @@ body.keyboard-open.notepad-focused .notepad-panel { margin-bottom: 0; } +.connection-advanced-content .post-connect-label { + color: var(--text-primary); + font-size: 13px; + letter-spacing: 0.3px; +} + +.connection-advanced-content .post-connect-preview-header { + color: var(--text-secondary); + font-size: 12px; + font-weight: 500; +} + @media (max-width: 900px) { .quick-connect-grid { grid-template-columns: minmax(0, 1fr); @@ -5018,6 +5062,21 @@ body.keyboard-open.notepad-focused .notepad-panel { padding: 16px; } + .quick-connect-details-card { + padding: 0; + } + + .quick-connect-details-card .quick-connect-card-header, + .quick-connect-details-content { + padding: 16px; + } + + .quick-connect-auth-method { + grid-template-columns: minmax(0, 1fr); + gap: 8px; + margin-bottom: 20px; + } + :is(.connection-advanced-settings, .recent-connections-card) { padding: 0; } diff --git a/static/js/i18n.js b/static/js/i18n.js index 2a88c75..2ba6b29 100644 --- a/static/js/i18n.js +++ b/static/js/i18n.js @@ -36,7 +36,7 @@ const translations = { 'connection.recentConnections': 'Recent Connections', 'connection.recentConnectionsHint': 'Stored only in this browser for your account.', 'connection.noRecentConnections': 'Your recent connections will appear here.', - 'connection.details': 'Connection details', + 'connection.details': 'Connection Details', 'connection.detailsHint': 'Enter the destination and choose how to authenticate.', 'connection.savedContext': 'Saved connection', 'connection.reviewBeforeConnect': 'Review the settings and provide any required credentials.', @@ -67,7 +67,7 @@ const translations = { 'connection.jumpHostHint': 'Manage jump hosts in the account menu.', 'connection.jumpHostPassword': 'Jump Host Password', 'connection.jumpHostPasswordHint': 'This bastion uses password auth — enter its password (never stored).', - 'connection.advancedSettings': 'Advanced settings', + 'connection.advancedSettings': 'Advanced Settings', 'connection.advancedSettingsHint': 'Jump host, post-connect actions, and persistence.', 'connection.commandSet': 'Commands after connecting (optional)', 'connection.commandSetHint': 'Runs on the remote host after a successful connection, not in WebSSH. Not run again when reconnecting to an existing tmux session.', diff --git a/templates/index.html b/templates/index.html index 0563996..b666be8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,7 +17,7 @@ - + @@ -419,11 +419,24 @@
Enter the destination and choose how to authenticate.