Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
olegklimov committed Sep 22, 2023
1 parent 2516075 commit 48305c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
14 changes: 13 additions & 1 deletion self_hosting_machinery/webgui/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -660,4 +660,16 @@ h3 {
border-left-width: 0.25rem;
border-radius: 0.25rem;
border-left-color: #5bc0de;
}
}
.form-control::-webkit-input-placeholder {
color: #dddddd !important;
}
.form-control::placeholder {
color: #dddddd !important;
}
.form-control:-ms-input-placeholder {
color: #dddddd !important;
}
.form-control::-ms-input-placeholder {
color: #dddddd !important;
}
15 changes: 7 additions & 8 deletions self_hosting_machinery/webgui/static/tab-upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,18 @@ <h5 class="modal-title" id="gitModalLabel">Add Git Repository</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="mb-3">
<label class="form-label">Repository URL</label>
<input placeholder="https://github.com/my_repo/my.git" type="url" id="tab-upload-git-input"
class="form-control">
</div>
<div class="mb-3 form-text ssh-info">
For public repositories, a https link works best:
<code>https://github.com/my_company/my_repo</code>
</div>
<div class="mb-3 form-text ssh-info">
For private repositories, <span class="ssh-link main-tab-button fake-link" data-tab="settings">add SSH Key</span> and add a link like this:
<code>[email protected]:my_company/my_repo.git</code>
<code>[email protected]:smallcloudai/refact.git</code>
For private repositories, <span class="ssh-link main-tab-button fake-link" data-tab="settings">add SSH Key</span> and use a link like this:
<code>[email protected]:my_company/my_repo.git</code>
</div>
<div class="mb-3">
<label class="form-label">Repository URL</label>
<input placeholder="https://github.com/my_company/my_repo" type="url" id="tab-upload-git-input"
class="form-control">
</div>
<div class="mb-3 ssh-selector d-none">
<label class="form-label">SSH Key</label>
Expand Down

0 comments on commit 48305c3

Please sign in to comment.