js: Add jquery and jquery tablednd plugins
[patchwork] / templates / patchwork / bundle.html
1 {% extends "base.html" %}
2
3 {% load person %}
4
5 {% block headers %}
6   <script language="JavaScript" type="text/javascript"
7    src="/js/jquery-1.10.1.min.js">
8   </script>
9   <script language="JavaScript" type="text/javascript"
10    src="/js/jquery.tablednd.js">
11   </script>
12   <script language="JavaScript" type="text/javascript"
13    src="/js/bundle.js">
14   </script>
15 {% endblock %}
16 {% block title %}{{project.name}}{% endblock %}
17 {% block heading %}bundle: {{bundle.owner.username}} /
18 {{bundle.name}}{% endblock %}
19
20 {% block body %}
21
22 <p>This bundle contains patches for the {{ bundle.project.linkname }}
23 project.</p>
24
25 <p><a href="{% url patchwork.views.bundle.mbox username=bundle.owner.username bundlename=bundle.name %}">Download bundle as mbox</a></p>
26
27 {% if bundleform %}
28 <form method="post">
29  {% csrf_token %}
30  <input type="hidden" name="form" value="bundle"/>
31 <table class="form">
32
33  <tr>
34   <th colspan="2" class="headerrow">Bundle settings</th>
35  </tr>
36
37 {{ bundleform }}
38  <tr>
39   <td colspan="2" class="submitrow">
40    <input type="submit" name="action" value="Update"/>
41    <input type="submit" name="action" value="Delete"/>
42   </td>
43  </tr>
44 </table>
45 </form>
46
47 <div style="clear: both; padding: 1em;"></div>
48 {% endif %}
49
50 {% include "patchwork/patch-list.html" %}
51
52 {% endblock %}