-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #228 from UW-GAC/feature/clone-workspace
Allow workspace cloning
- Loading branch information
Showing
14 changed files
with
2,108 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.6" | ||
__version__ = "0.7dev1" |
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
23 changes: 23 additions & 0 deletions
23
anvil_consortium_manager/templates/anvil_consortium_manager/workspace_clone.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,23 @@ | ||
{% extends "anvil_consortium_manager/base.html" %} | ||
{% load static %} | ||
{% load crispy_forms_tags %} | ||
|
||
{% block title %}Clone {{ object }}{% endblock title %} | ||
|
||
{% block content %} | ||
|
||
<h2>Clone {{ object }} on AnVIL</h2> | ||
|
||
<form method="post"> | ||
|
||
{% csrf_token %} | ||
{{ workspace_data_formset|crispy }} | ||
{{ form|crispy }} | ||
|
||
<button type="submit" class="btn btn-success">Clone workspace</button> | ||
</form> | ||
{% endblock %} | ||
|
||
{% block inline_javascript %} | ||
{{ form.media }} | ||
{% endblock inline_javascript %} |
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.