refactor catalogue to separate app,
[redakcja.git] / apps / wiki / templates / wiki / document_list.html
diff --git a/apps/wiki/templates/wiki/document_list.html b/apps/wiki/templates/wiki/document_list.html
deleted file mode 100644 (file)
index 2ab5ab9..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-{% extends "wiki/base.html" %}
-
-
-{% block extrabody %}
-{{ block.super }}
-<script type="text/javascript" charset="utf-8">
-$(function() {
-       function search(event) {
-        event.preventDefault();
-        var expr = new RegExp(slugify($('#file-list-filter').val()), 'i');
-        $('#file-list tbody tr').hide().filter(function(index) {
-            return expr.test(slugify($('a', this).text()));
-        }).show();
-    }
-
-    $('#file-list-find-button').click(search).hide();
-       $('#file-list-filter').bind('keyup change DOMAttrModified', search);
-});
-</script>
-{% endblock %}
-
-{% block leftcolumn %}
-       <form method="get" action="#">
-    <table  id="file-list">
-       <thead>
-               <tr><th>Filtr:</th>
-                       <th><input autocomplete="off" name="filter" id="file-list-filter" type="text" size="40" /></th>
-                       <th><input type="reset" value="Wyczyść" id="file-list-reset-button"/></th>
-                       </tr>
-               </thead>
-               <tbody>
-       {% for file in document_list %}
-            <tr>
-               <td colspan="3"><a target="_blank" href="{% url wiki.views.document_detail file|urlencode %}">{{ file }}</a></td>
-                               <!-- placeholder </td> -->
-                       </tr>
-       {% endfor %}
-               </tbody>
-    </table>
-       </form>
-{% endblock leftcolumn %}
-
-{% block rightcolumn %}
-       <div id="last-edited-list">
-               <h2>Twoje ostatnio otwierane dokumenty:</h2>
-               <ol>
-                       {% for   name, date in last_docs %}
-                       <li><a href="{% url wiki.views.document_detail name|urlencode %}"
-                               target="_blank">{{ name }}</a><br/><span class="date">({{ date|date:"H:i:s, d/m/Y" }})</span></li>
-                       {% endfor %}
-               </ol>
-       </div>
-{% endblock rightcolumn %}