-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
22 changed files
with
1,630 additions
and
227 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-18.5 KB
(79%)
docs/source/_static/app_projectroles/sodar_project_update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
46 changes: 46 additions & 0 deletions
46
projectroles/templates/projectroles/project_confirm_delete.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,46 @@ | ||
{% extends 'projectroles/project_base.html' %} | ||
|
||
{% load rules %} | ||
{% load projectroles_tags %} | ||
{% load projectroles_common_tags %} | ||
|
||
{% block title %} | ||
Confirm Deletion of {% get_display_name object.type True %} | ||
{% endblock title %} | ||
|
||
{% block projectroles_extend %} | ||
|
||
<div class="container-fluid sodar-page-container"> | ||
<h3>Confirm Deletion of {% get_display_name object.type True %}</h3> | ||
|
||
<div class="alert alert-danger" role="alert"> | ||
Are you sure you want to delete this {% get_display_name object.type %}? | ||
{% if object.type == 'PROJECT' %} | ||
This will also delete all data within the project. | ||
{% endif %} | ||
This action can <strong>NOT</strong> be undone! | ||
</div> | ||
|
||
{# TODO: Add host name verification here #} | ||
|
||
<form method="post"> | ||
{% csrf_token %} | ||
<input class="form-control mb-3" | ||
name="delete_host_confirm" | ||
autocomplete="off" | ||
required="true" | ||
placeholder="Type the host name of this server (e.g. "site.example.com") to confirm deletion." /> | ||
<div class="btn-group pull-right"> | ||
<a role="button" class="btn btn-secondary" | ||
href="{% url 'projectroles:update' project=object.sodar_uuid %}"> | ||
<i class="iconify" data-icon="mdi:arrow-left-circle"></i> Cancel | ||
</a> | ||
<button type="submit" class="btn btn-danger sodar-btn-submit-once" | ||
id="sodar-pr-btn-confirm-delete"> | ||
<i class="iconify" data-icon="mdi:close-thick"></i> Delete | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
{% endblock projectroles_extend %} |
Oops, something went wrong.