-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Davide Arcuri
committed
Feb 8, 2024
1 parent
f59a430
commit f846cf4
Showing
10 changed files
with
265 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% load widget_tweaks %} | ||
|
||
<form method="post" action="{% url 'website:download_isf' %}" id="isf-download-index"> | ||
{{ form.media }} | ||
{% csrf_token %} | ||
<div class="modal-header"> | ||
<h5 class="modal-title">Download symbols from ISF server</h5> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | ||
</div> | ||
<div class="modal-body"> | ||
{% for field in form.visible_fields %} | ||
<div class="form-group{% if field.errors %} has-error{% endif %}" id="div_{{field.id_for_label}}"> | ||
<label for="{{ field.id_for_label }}">{{ field.label }}</label> | ||
{% render_field field class="form-control" %} | ||
{% for error in field.errors %} | ||
<p class="help-block">{{ error }}</p> | ||
{% endfor %} | ||
</div> | ||
{% endfor %} | ||
{% for hidden in form.hidden_fields %} | ||
{{ hidden }} | ||
{% endfor %} | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> | ||
<button type="submit" class="btn btn-primary button-loader" id="btn_isf_download">Confirm</button> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% load widget_tweaks %} | ||
|
||
<form method="post" action="{% url 'website:upload_packages' %}" id="packages-upload-index"> | ||
{{ form.media }} | ||
{% csrf_token %} | ||
<div class="modal-header"> | ||
<h5 class="modal-title">Upload linux packages</h5> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | ||
</div> | ||
<div class="modal-body"> | ||
{% for field in form.visible_fields %} | ||
<div class="form-group{% if field.errors %} has-error{% endif %}" id="div_{{field.id_for_label}}"> | ||
<label for="{{ field.id_for_label }}">{{ field.label }}</label> | ||
{% render_field field class="form-control" %} | ||
{% for error in field.errors %} | ||
<p class="help-block">{{ error }}</p> | ||
{% endfor %} | ||
</div> | ||
{% endfor %} | ||
{% for hidden in form.hidden_fields %} | ||
{{ hidden }} | ||
{% endfor %} | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> | ||
<button type="submit" class="btn btn-primary button-loader" id="btn_package_add">Confirm</button> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.