Offer GitHub sign-in in the frontend
The load dialog shows the GitHub account state with sign-in, sign-out and repository-selection links. A clone that needs authorisation shows a Sign in with GitHub or Grant repository access button, and the repository is resumed automatically on return from GitHub.
This commit is contained in:
@@ -212,6 +212,9 @@ button.source-card:hover { border-color: #787878; background: #2f2f2f; }
|
||||
.github-row input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid #474747; border-radius: 6px; outline: none; color: #e3e3e3; background: #212121; }
|
||||
.github-row input:focus { border-color: #979797; }
|
||||
.github-row button { border: 1px solid #c7c7c7; border-radius: 7px; padding: 0 14px; color: #262626; background: #cdcdcd; cursor: pointer; font-weight: 600; }
|
||||
.github-account { grid-column: 1 / -1; margin: 8px 0 0; color: #808080; font-size: 11px; }
|
||||
.github-account a, .github-account button { padding: 0; border: 0; background: none; color: #cfcfcf; font: inherit; text-decoration: underline; cursor: pointer; }
|
||||
.progress-action { display: grid; place-items: center; width: fit-content; margin-top: 12px; text-decoration: none; }
|
||||
.form-error { grid-column: 1 / -1; min-height: 16px; margin: 5px 0 -5px; color: var(--danger); font-size: 11px; }
|
||||
.dialog-foot { margin: 15px 2px 0; color: #707070; font-size: 10px; }
|
||||
.settings-dialog { width: min(460px, calc(100vw - 30px)); }
|
||||
|
||||
Reference in New Issue
Block a user