Cleanup: Unused templates
This commit is contained in:
parent
479a435ec5
commit
bca8fac4cd
@ -1,4 +0,0 @@
|
|||||||
| {% extends 'layout.html' %}
|
|
||||||
|
|
||||||
| {% block footer_scripts %}
|
|
||||||
| {% endblock %}
|
|
@ -1,6 +0,0 @@
|
|||||||
| {% extends 'layout.html' %}
|
|
||||||
| {% from '_macros/_file_uploader_javascript.html' import render_file_uploader_javascript %}
|
|
||||||
|
|
||||||
| {% block footer_scripts %}
|
|
||||||
| {{render_file_uploader_javascript()}}
|
|
||||||
| {% endblock %}
|
|
@ -1,53 +0,0 @@
|
|||||||
| {% block body %}
|
|
||||||
|
|
||||||
#node-container
|
|
||||||
|
|
||||||
section.node-details-container.storage
|
|
||||||
|
|
||||||
.node-details-header
|
|
||||||
.node-title
|
|
||||||
| {{node.name}}
|
|
||||||
|
|
||||||
|
|
||||||
section.node-children.storage
|
|
||||||
|
|
||||||
| {% if node.children %}
|
|
||||||
| {% for child in node.children %}
|
|
||||||
|
|
||||||
a(href="#", data-node_id="{{ node._id }}" data-path="{{ child['path'] }}", title="{{ child['name'] }}", class="item_icon")
|
|
||||||
.list-node-children-item
|
|
||||||
.list-node-children-item-thumbnail
|
|
||||||
|
|
||||||
.list-node-children-item-thumbnail-icon
|
|
||||||
| {% if child['content_type'] == 'video' %}
|
|
||||||
i.pi-film
|
|
||||||
| {% elif child['content_type'] == 'image' %}
|
|
||||||
i.pi-image
|
|
||||||
| {% elif child['content_type'] == 'file' %}
|
|
||||||
i.pi-document
|
|
||||||
| {% elif child['content_type'] == 'binary' %}
|
|
||||||
i.pi-file-archive
|
|
||||||
| {% else %}
|
|
||||||
i.pi-folder
|
|
||||||
| {% endif %}
|
|
||||||
|
|
||||||
.list-node-children-item-name
|
|
||||||
|
|
||||||
span {{ child['name'] }}
|
|
||||||
|
|
||||||
| {% endfor %}
|
|
||||||
| {% endif %}
|
|
||||||
|
|
||||||
script.
|
|
||||||
$('a.item_icon').click(function(e){
|
|
||||||
// When clicking on a node preview, we load its content
|
|
||||||
e.preventDefault;
|
|
||||||
var nodeId = $(this).data('node_id');
|
|
||||||
var path = $(this).data('path');
|
|
||||||
displayStorage(nodeId, path);
|
|
||||||
// Update tree with current selection
|
|
||||||
//$('#project_tree').jstree('select_node', 'n_' + nodeId);
|
|
||||||
});
|
|
||||||
|
|
||||||
| {% endblock %}
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
|||||||
| {% block body %}
|
|
||||||
|
|
||||||
#node-container
|
|
||||||
|
|
||||||
section.node-details-container.storage
|
|
||||||
|
|
||||||
.node-details-header
|
|
||||||
.node-title
|
|
||||||
| {{node.name}}
|
|
||||||
|
|
||||||
//- .node-details-description
|
|
||||||
//- | {{node.description}}
|
|
||||||
|
|
||||||
.node-details-meta
|
|
||||||
|
|
||||||
ul.node-details-meta-list
|
|
||||||
li.node-details-meta-list-item.status
|
|
||||||
| {{node.status}}
|
|
||||||
|
|
||||||
li.node-details-meta-list-item.date(title="Created {{ node._created | pretty_date }}")
|
|
||||||
| {{ node._updated | pretty_date }}
|
|
||||||
|
|
||||||
li.node-details-meta-list-item.file.length
|
|
||||||
| {{ node.length | filesizeformat }}
|
|
||||||
|
|
||||||
li.node-details-meta-list-item.file.download
|
|
||||||
a(href="{% if node.has_method('GET') %}{{ node.download_link }}{% else %}{{ url_for('users.login') }}{% endif %}")
|
|
||||||
button.btn.btn-default(type="button")
|
|
||||||
| Download
|
|
||||||
|
|
||||||
|
|
||||||
| {% endblock %}
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user