Side by Side Diff: v2/templates/echo.html
Issue 70870043 :
Quick outline of simplified rietveld2 framework based on jinja2
Patch Set: Revised handler registration, more example handlers, more common processing in servlet.
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
app.yaml
codereview/models.py
codereview/views.py
index.yaml
v2/__init__.py
v2/api.py
v2/servlet.py
v2/templates/echo.html
v2/urls.py
v2_main.py
OLD NEW
(Empty) 1 <html>
2 <head>
3 <title>Echo of request info</title>
4 </head>
5 <body>
6
7 <p>This is your request info</p>
8
9 <table border="1" cellspacing="0" cellpadding="4">
10 <tr>
11 <th>Param</th>
12 <th>Value</th>
13 <th>Defined</th>
14 </tr>
15 <tr>
16 <td>issue_id</td>
17 <td>{{ issue_id }}</td>
18 <td>{{ issue_id is defined }}</td>
19 </tr>
20 <tr>
21 <td>patchset_id</td>
22 <td>{{ patchset_id }}</td>
23 <td>{{ patchset_id is defined }}</td>
24 </tr>
25 <tr>
26 <td>patch_id</td>
27 <td>{{ patch_id }}</td>
28 <td>{{ patch_id is defined }}</td>
29 </tr>
30 <tr>
31 <td>File path</td>
32 <td>{{ path }}</td>
33 <td>{{ path is defined }}</td>
34 </tr>
35 <tr>
36 <td>some_var</td>
37 <td>{{ some_var }}</td>
38 <td>{{ somevar is defined }}</td>
39 </tr>
40 <tr>
41 <td>Request path</td>
42 <td>{{ request.path }}</td>
43 <td></td>
44 </tr>
45 </table>
46 </body>
47 </html>
OLD NEW