mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
More explanation to the user about the suggest feature
This commit is contained in:
parent
2d3c449b36
commit
a5d8c68fe6
@ -3,8 +3,13 @@
|
|||||||
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
|
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
|
||||||
<h3>Suggest this license</h3>
|
<h3>Suggest this license</h3>
|
||||||
<div class="repository-suggestion">
|
<div class="repository-suggestion">
|
||||||
<input type="text" data-license-id="{{ page.spdx-id }}" placeholder="Type a repository URL" id="repository-url" title="status" />
|
<p>You can suggest this license to a Github repository to make it easier for other people to
|
||||||
<div class="status-indicator"></div>
|
contribute - this is done by opening a pull request, therefore you need to authenticate with
|
||||||
|
your Github account to do this.</p>
|
||||||
|
<div class="input-wrapper">
|
||||||
|
<input type="text" data-license-id="{{ page.spdx-id }}" placeholder="Type a repository URL" id="repository-url" title="status" />
|
||||||
|
<div class="status-indicator"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="how-to-apply">
|
<div class="how-to-apply">
|
||||||
|
@ -301,11 +301,11 @@ strong {
|
|||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repository-suggestion {
|
.input-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repository-suggestion .status-indicator {
|
.input-wrapper .status-indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
top: 6px;
|
top: 6px;
|
||||||
@ -317,12 +317,12 @@ strong {
|
|||||||
border: 4px solid #ddd;
|
border: 4px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repository-suggestion .status-indicator.fetching {
|
.input-wrapper .status-indicator.fetching {
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
animation: rotate 0.8s infinite linear;
|
animation: rotate 0.8s infinite linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repository-suggestion .status-indicator.error {
|
.input-wrapper .status-indicator.error {
|
||||||
border: 4px solid #c6403d;
|
border: 4px solid #c6403d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user