-
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
9 changed files
with
519 additions
and
200 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
40 changes: 40 additions & 0 deletions
40
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,40 @@ | ||
{% 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 %} | ||
<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"> | ||
<i class="iconify" data-icon="mdi:close-thick"></i> Delete | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
{% endblock projectroles_extend %} |
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.