Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usage description to Check License UI #545

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions src/app/templates/app/check_license.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@
{% block body1 %}
<div id="messages" class="messages">
</div>
<p class ="lead"> {{ error }}</p>
<p class="lead">{{ error }}</p>
<div class="panel panel-default">
<div class="panel-heading"> <p class="lead"> Check License</p> </div>
<div class="panel-body" style= "overflow:scroll;">
<form id="checklicenseform" enctype="multipart/form-data" class = "form-horizontal" method = "post" >
{% csrf_token %}
<textarea id="licensetext" name="licensetext" rows="18" style="width: 100%"></textarea>
<button id="checklicensebutton" class=" btn btn-md btn-info" type="submit">Check License</button>
</form>
{% include "app/modal.html" %}
<div class="panel-heading">
<p class="lead">Check License</p>
</div>
<div class="panel-body" style="overflow:scroll;">
<form id="checklicenseform" enctype="multipart/form-data" class="form-horizontal" method="post">
{% csrf_token %}
<p>Enter full license text in the text area below to check it against
<a href="https://spdx.org/licenses/">SPDX License List</a> and
<a href="https://spdx.org/licenses/exceptions-index.html">License Exceptions</a>.</p>
<p>The result of the compare would be one of "Exact match", "Close match" or "No match".</p>
<textarea id="licensetext" name="licensetext" rows="18" style="width: 100%"></textarea>
<button id="checklicensebutton" class=" btn btn-md btn-info" type="submit">Check License</button>
</form>
{% include "app/modal.html" %}
</div>
</div>
{% endblock %}
{% block script_block %}
Expand Down