Skip to content
Snippets Groups Projects
Commit d3ae93ab authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Integrated file manager with the platform.

parent b3af7202
No related branches found
No related tags found
No related merge requests found
{% load static %}
{% include "header.html" %}
{% include "navigation.html" with main_path='/main/' %}
<br/>
<br/>
<div class="container" style="height:75%;">
<div class="dashboard" style="height:100%;">
<div class="span8 offset2" style="height:100%;">
<h1>Files</h1>
<hr/>
<iframe src="/static/RichFilemanager/index.html" style="overflow:hidden;height:100%;width:100%; border: 1px solid #c0c0c0" height="100%" width="100%"></iframe>
</div>
</div>
</div>
{% include "footer.html" %}
......@@ -33,7 +33,9 @@
<li>
<a href="/tasks" onclick = $("#menu-close").click(); >Tasks</a>
</li>
<li>
<a href="/files" onclick = $("#menu-close").click(); >Files</a>
</li>
{% else %}
<li>
......
......@@ -179,11 +179,12 @@ def register_view(request):
@public_view
def entrypoint(request):
return HttpResponseRedirect('/main/')
@public_view
def main_view(request):
......@@ -919,7 +920,15 @@ def sharable_link_handler(request, id):
#=========================
# File manager
#=========================
@public_view
def files_view(request):
# Set data & render
data = {}
return render(request, 'files.html', {'data': data})
......
......@@ -54,6 +54,7 @@ urlpatterns = [
url(r'^edit_computing_conf/$', core_app_views.edit_computing_conf),
url(r'^containers/$', core_app_views.containers),
url(r'^add_container/$', core_app_views.add_container),
url(r'^files/$', core_app_views.files_view),
# Sharable link for tasks
url(r'^t/(?P<id>\w{0,36})/$', core_app_views.sharable_link_handler),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment