source: templates/list_macros.html @ 8f1c07c12bed616187cbc4401814c31b38a0a1fb

Revision 8f1c07c12bed616187cbc4401814c31b38a0a1fb, 967 bytes checked in by Stanislaw Klekot <dozzie@…>, 7 years ago (diff)

Added handling macros.

  • Property mode set to 100644
Line 
1{% extends "template.html" %}
2{% load markup %}
3
4{% block title %}List of existing pages{% endblock %}
5
6{% block body %}
7
8<h2>List of defined macros</h2>
9
10<div>
11  <a href="{% url wiki.views.create_macro %}">Create new macro</a>
12</div>
13
14<table border="1">
15  <tr>
16    <th>name</th>
17    <th>result type</th>
18    <th>arguments received</th>
19    <th>arguments passed</th>
20    <th>protocol</th>
21    <th>destination</th>
22  </tr>
23  {% for macro in macros %}
24  <tr>
25    <td>
26      {{ macro.name }}
27      (<a href="{% url wiki.views.edit_macro macro.name %}">edit</a>|<a href="{% url wiki.views.remove_macro macro.name %}">delete</a>)
28    </td>
29    <td>{{ macro.result_type }}</td>
30    <td><tt>{{ macro.in_args  }}</tt></td>
31    <td><tt>{{ macro.out_args }}</tt></td>
32    <td>{{ macro.protocol }}</td>
33    <td><tt>{{ macro.destination }}</tt></td>
34  </tr>
35  {% endfor %}
36</table>
37
38<div>
39  <a href="{% url wiki.views.create_macro %}">Create new macro</a>
40</div>
41
42{% endblock %}
Note: See TracBrowser for help on using the repository browser.