-
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 #39 from ctreffe/develop
Develop
- Loading branch information
Showing
11 changed files
with
165 additions
and
100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,5 @@ alfred.conf | |
exp/ | ||
.vscode/settings.json | ||
test.py | ||
test_copy.py | ||
test_copy2.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<div> | ||
<p> | ||
<span><code style="color:black">{{path}}</code></span> | ||
<span class="float-md-right"> | ||
<button class="btn btn-outline-primary btn-sm ml-2" type="button" data-toggle="collapse" | ||
data-target="#collapse_{{directory}}_{{call_id}}" aria-expanded="false" aria-controls="collapseExample"> | ||
Show Files | ||
</button> | ||
<button class="btn btn-outline-primary btn-sm" type="button" data-toggle="collapse" | ||
data-target="#NewDirectory_{{directory}}_{{call_id}}" aria-expanded="false" | ||
aria-controls="collapseExample"> | ||
New Subdirectory | ||
</button> | ||
<a class="btn btn-outline-success btn-sm" href="{{upload_url}}">Upload Files</a> | ||
<button type="button" class="btn btn-outline-danger btn-sm mt-1 mb-1" data-toggle="modal" | ||
data-target="#deleteModal_{{directory}}_{{call_id}}">Delete Directory</button> | ||
</span> | ||
</p> | ||
|
||
<div class="collapse" id="NewDirectory_{{directory}}_{{call_id}}"> | ||
<form action="{{new_subdirectory_url}}" , method="POST"> | ||
<div><input class="form-control form-control-lg mr-3 mb-3 mt-3" id="new_directory" name="new_directory" | ||
required type="text" value="" placeholder="Name"> | ||
<input class="btn btn-outline-primary btn-sm" type="submit" value="Create"> | ||
</div> | ||
|
||
|
||
</form> | ||
</div> | ||
|
||
<div class="collapse pt-3" id="collapse_{{directory}}_{{call_id}}"> | ||
{{file_display|safe}} <br> | ||
</div> | ||
|
||
|
||
{{subdirectory_display}} | ||
|
||
</div> | ||
|
||
<div class="modal fade" id="deleteModal_{{directory}}_{{call_id}}" tabindex="-1" role="dialog" | ||
aria-labelledby="deleteModal_{{directory}}Label_{{call_id}}" aria-hidden="true"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title" id="deleteModal_{{directory}}Label_{{call_id}}">Delete All Files</h5> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> | ||
<div class="modal-body"> | ||
Are you sure that you want to delete the directory <code>{{path}}</code>? The data stored in Mortimer | ||
will be lost! | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> | ||
<form method="POST" action="{{delete_directory_url}}"> | ||
<input class="btn btn-danger" type="submit" value="Delete"> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- Test --> | ||
<div class="row m-1"> | ||
<div class="col-md-10 float-left"> | ||
<span class="ml-2">- {{f}}</span> | ||
</div> | ||
<div class="col-md-2 text-right"> | ||
<button type="button" class="btn btn-outline-danger btn-sm" data-toggle="modal" | ||
data-target="#deleteModal_{{ fileid }}">Delete</button> | ||
</div> | ||
</div> | ||
|
||
<!-- Modal for delete confirmation --> | ||
<div class="modal fade" id="deleteModal_{{ fileid }}" tabindex="-1" role="dialog" aria-labelledby="deleteModal_{{ fileid }}Label" | ||
aria-hidden="true"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title" id="deleteModal_{{ fileid }}">Delete File</h5> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> | ||
<div class="modal-body"> | ||
Are you sure that you want to delete the file <code>{{f}}</code>? The data stored in Mortimer will be | ||
lost! | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> | ||
<form method="POST" action="{{url}}"> | ||
<input class="btn btn-danger" type="submit" value="Delete"> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</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