1 {% extends "catalogue/base.html" %}
6 <link rel="stylesheet" href="{{ STATIC_URL }}fileupload/css/bootstrap.min.css">
7 <link rel="stylesheet" href="{{ STATIC_URL }}fileupload/css/style.css">
8 <link rel="stylesheet" href="{{ STATIC_URL }}fileupload/css/bootstrap-image-gallery.min.css">
9 <link rel="stylesheet" href="{{ STATIC_URL }}fileupload/css/jquery.fileupload-ui.css">
10 <!-- Shim to make HTML5 elements usable in older Internet Explorer versions -->
11 <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
17 <h1>{% trans "Gallery for:" %} <a href="{{ view.object.get_absolute_url }}">{{ view.object }}</a></h1>
21 <form id="fileupload" method="post" action="." enctype="multipart/form-data">{% csrf_token %}
22 <div class="row fileupload-buttonbar">
24 <span class="btn btn-success fileinput-button">
25 <i class="icon-plus icon-white"></i>
26 <span>{% trans "Add files..." %}</span>
27 <input type="file" multiple="" name="files[]">
29 <button class="btn btn-primary start" type="submit">
30 <i class="icon-upload icon-white"></i>
31 <span>{% trans "Start upload" %}</span>
33 <button class="btn btn-warning cancel" type="reset">
34 <i class="icon-ban-circle icon-white"></i>
35 <span>{% trans "Cancel upload" %}</span>
37 <button class="btn btn-danger delete" type="button">
38 <i class="icon-trash icon-white"></i>
39 <span>{% trans "Delete" %}</span>
41 <input type="checkbox" class="toggle">
43 <div class="span5 fileupload-progress fade">
44 <div class="progress progress-success progres-striped active">
45 <div class="bar" style="width:0%"></div>
47 <div class="progress-extended"> </div>
50 <div class="fileupload-loading"></div>
51 <table class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
53 <div class="fileupload-content">
54 <table class="files"></table>
55 <div class="fileupload-progressbar"></div>
63 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
64 <script src="{{ STATIC_URL }}fileupload/js/jquery.ui.widget.js"></script>
65 <script src="{{ STATIC_URL }}fileupload/js/tmpl.min.js"></script>
66 <script src="{{ STATIC_URL }}fileupload/js/load-image.min.js"></script>
67 <script src="{{ STATIC_URL }}fileupload/js/canvas-to-blob.min.js"></script>
68 <script src="{{ STATIC_URL }}fileupload/js/bootstrap.min.js"></script>
69 <script src="{{ STATIC_URL }}fileupload/js/bootstrap-image-gallery.min.js"></script>
70 <script src="{{ STATIC_URL }}fileupload/js/jquery.iframe-transport.js"></script>
71 <script src="{{ STATIC_URL }}fileupload/js/jquery.fileupload.js"></script>
72 <script src="{{ STATIC_URL }}fileupload/js/jquery.fileupload-fp.js"></script>
73 <script src="{{ STATIC_URL }}fileupload/js/jquery.fileupload-ui.js"></script>
74 <script src="{{ STATIC_URL }}fileupload/js/locale.js"></script>
75 <script src="{{ STATIC_URL }}fileupload/js/main.js"></script>
76 <script src="{{ STATIC_URL }}fileupload/js/csrf.js"></script>