| 1 | <div> |
|---|
| 2 | <div style="float:left"> |
|---|
| 3 | <button dojoAttachEvent="onclick:fetch">fetch recent 8 Msgs</button> |
|---|
| 4 | <ul> |
|---|
| 5 | {% for result in results%} |
|---|
| 6 | <li><a href="{{ result.email }}">{{ result.email }}</a><br/><b>{{result.author}}: </b>{{ result.message}}</li> |
|---|
| 7 | {% endfor %} |
|---|
| 8 | </ul> |
|---|
| 9 | </div> |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | <div style="float:left;margin:0 10em;border-left:1px solid #000"> |
|---|
| 13 | <table><tbody> |
|---|
| 14 | <tr><td>Author: </td><td><input type="text" id="author" size="50"></td></tr> |
|---|
| 15 | <tr><td>Email: </td><td><input type="text" id="email" size="50"></td></tr> |
|---|
| 16 | <tr><td>message: </td><td><input type="text" id="message" size="50"></td></tr> |
|---|
| 17 | </tbody></table> |
|---|
| 18 | <button dojoAttachEvent="onclick: store">store new data</button> |
|---|
| 19 | <div> |
|---|
| 20 | {% if response %} |
|---|
| 21 | {{response}} |
|---|
| 22 | {% endif %} |
|---|
| 23 | </div> |
|---|
| 24 | </div> |
|---|
| 25 | </div> |
|---|