source: templates/list_macros.html @ f4ddc3bcd2acf6e3ff300343bfa955143a9ef9fb

Revision f4ddc3bcd2acf6e3ff300343bfa955143a9ef9fb, 909 bytes checked in by Bartek <zmudzinskibartek@…>, 7 years ago (diff)

Moj pierwszy branch

  • 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<table>
14  <tr>
15        <th>name</th>
16        <th>result type</th>
17        <th>arguments received</th>
18        <th>arguments passed</th>
19        <th>protocol</th>
20        <th>destination</th>
21  </tr>
22  {% for macro in macros %}
23  <tr>
24        <td>
25          {{ macro.name }}
26          (<a href="{% url wiki.views.edit_macro macro.name %}">edit</a>|<a href="{% url wiki.views.remove_macro macro.name %}">delete</a>)
27        </td>
28        <td>{{ macro.result_type }}</td>
29        <td><tt>{{ macro.in_args  }}</tt></td>
30        <td><tt>{{ macro.out_args }}</tt></td>
31        <td>{{ macro.protocol }}</td>
32        <td><tt>{{ macro.destination }}</tt></td>
33  </tr>
34  {% endfor %}
35</table>
36
37<div>
38  <a href="{% url wiki.views.create_macro %}">Create new macro</a>
39</div>
40
41{% endblock %}
Note: See TracBrowser for help on using the repository browser.