-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a "Run Pipeline" button in the Pipeline modal of the Project deta…
…ils view #84 (#94) * Add a "Run Pipeline" button in the Pipeline modal of the Project details view #84 Signed-off-by: Thomas Druez <tdruez@nexb.com> * Enable Pipeline addition from the Project details view #84 Signed-off-by: Thomas Druez <tdruez@nexb.com> * Set the proper type="reset" on close button #84 Signed-off-by: Thomas Druez <tdruez@nexb.com>
- Loading branch information
Showing
10 changed files
with
100 additions
and
6 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
32 changes: 32 additions & 0 deletions
32
scanpipe/templates/scanpipe/includes/add_pipeline_modal.html
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,32 @@ | ||
<div id="add-pipeline-modal" class="modal is-desktop-size"> | ||
<div class="modal-background"></div> | ||
<form method="post">{% csrf_token %} | ||
<div class="modal-card"> | ||
<header class="modal-card-head"> | ||
<p class="modal-card-title">Add pipeline</p> | ||
<button class="delete" aria-label="close"></button> | ||
</header> | ||
<section class="modal-card-body"> | ||
<div class="field"> | ||
<label class="label" for="id_pipeline">Pipeline</label> | ||
<div class="control"> | ||
<span class="select"> | ||
{{ add_pipeline_form.pipeline }} | ||
</span> | ||
</div> | ||
</div> | ||
|
||
<div class="field"> | ||
<label class="checkbox" for="id_run_pipeline"> | ||
{{ add_pipeline_form.run_pipeline }} | ||
Run the selected pipeline | ||
</label> | ||
</div> | ||
</section> | ||
<footer class="modal-card-foot"> | ||
<button class="button is-link" type="submit">Add pipeline</button> | ||
<button class="button" type="reset">Close</button> | ||
</footer> | ||
</div> | ||
</form> | ||
</div> |
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
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