fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed buttons and hotkeys.
[redakcja.git]
/
project
/
templates
/
explorer
/
file_list.html
diff --git
a/project/templates/explorer/file_list.html
b/project/templates/explorer/file_list.html
index
7612a71
..
f44a105
100644
(file)
--- a/
project/templates/explorer/file_list.html
+++ b/
project/templates/explorer/file_list.html
@@
-64,12
+64,12
@@
$(function() {
<input type="reset" value="Wyczyść" id="file-list-reset-button"/>
</p>
</form>
<input type="reset" value="Wyczyść" id="file-list-reset-button"/>
</p>
</form>
- <div id="file-list">
{% load explorer_tags %}
{% load explorer_tags %}
- {% for file in files %}
- <p title="{{file|bookname}}"><a href="{% url editor_view file %}">{{ file|bookname }}</a></p>
+ <ul class="file-tree-part file-tree-top">
+ {% for file in filetree %}
+ {% tree_part file %}
{% endfor %}
{% endfor %}
- </
div
>
+ </
ul
>
</div>
<div id="recent-file-list">
</div>
<div id="recent-file-list">
@@
-81,12
+81,12
@@
$(function() {
{% if perms.explorer.can_add_files %}
<div class="upload-file-widget">
<h2>Dodaj nowy utwór</h2>
{% if perms.explorer.can_add_files %}
<div class="upload-file-widget">
<h2>Dodaj nowy utwór</h2>
+
<form action="{% url file_upload %}" method="POST" enctype="multipart/form-data">
<form action="{% url file_upload %}" method="POST" enctype="multipart/form-data">
- <p><label>{{bookform.file.label}}: {{ bookform.file }}</label></p>
- <p><label>{{bookform.bookname.label}}: {{bookform.bookname}}</label></p>
- <p><label>{{bookform.autoxml}} {{bookform.autoxml.label}}</label></p>
+ {{ bookform }}
<p><button type="submit">Dodaj książkę</button></p>
</form>
<p><button type="submit">Dodaj książkę</button></p>
</form>
+
</div>
{% endif %}
</div>
{% endif %}