Added debug_toolbar app to project.
[wolnelektury.git] / apps / debug_toolbar / templates / debug_toolbar / panels / http_vars.html
1 <div class="title">request.GET</div>
2 {% if get %}
3 <table>
4     <colgroup>
5         <col style="width:20%"/>
6         <col/>
7     </colgroup>
8     <thead>
9         <tr>
10             <th>Key</th>
11             <th>Value</th>
12         </tr>
13     </thead>
14     <tbody>
15         {% for key, value in get %}
16             <tr class="{% cycle 'row1' 'row2' %}">
17                 <td>{{ key|escape }}</td>
18                 <td>{{ value|join:", "|escape }}</td>
19             </tr>
20         {% endfor %}
21     </tbody>
22 </table>
23 {% else %}
24 <p>No GET variables.</p>
25 {% endif %}
26 <div class="title">request.POST</div>
27 {% if post %}
28 <table>
29     <colgroup>
30         <col style="width:20%"/>
31         <col/>
32     </colgroup>
33     <thead>
34         <tr>
35             <th>Key</th>
36             <th>Value</th>
37         </tr>
38     </thead>
39     <tbody>
40         {% for key, value in post %}
41             <tr class="{% cycle 'row1' 'row2' %}">
42                 <td>{{ key|escape }}</td>
43                 <td>{{ value|join:", "|escape }}</td>
44             </tr>
45         {% endfor %}
46     </tbody>
47 </table>
48 {% else %}
49 <p>No POST variables.</p>
50 {% endif %}
51 <div class="title">request.session</div>
52 {% if session %}
53 <table>
54     <colgroup>
55         <col style="width:20%"/>
56         <col/>
57     </colgroup>
58     <thead>
59         <tr>
60             <th>Key</th>
61             <th>Value</th>
62         </tr>
63     </thead>
64     <tbody>
65         {% for key, value in session %}
66             <tr class="{% cycle 'row1' 'row2' %}">
67                 <td>{{ key|escape }}</td>
68                 <td>{{ value|escape }}</td>
69             </tr>
70         {% endfor %}
71     </tbody>
72 </table>
73 {% else %}
74 <p>No SESSION variables.</p>
75 {% endif %}
76 <div class="title">request.COOKIES</div>
77 {% if cookies %}
78 <table>
79     <colgroup>
80         <col style="width:20%"/>
81         <col/>
82     </colgroup>
83     <thead>
84         <tr>
85             <th>Key</th>
86             <th>Value</th>
87         </tr>
88     </thead>
89     <tbody>
90         {% for key, value in cookies %}
91             <tr class="{% cycle 'row1' 'row2' %}">
92                 <td>{{ key|escape }}</td>
93                 <td>{{ value|escape }}</td>
94             </tr>
95         {% endfor %}
96     </tbody>
97 </table>
98 {% else %}
99 <p>No COOKIES variables.</p>
100 {% endif %}