| 1 | <div> |
| 2 | <input dojotAttachPoint="search" dojoAttachEvent="onkeyup: onSearch"> |
| 3 | <ul> |
| 4 | {% for result in results.Result %} |
| 5 | <li><a href="{{ result.Url }}">{{ result.Title }}</a><br/>{{ result.Summary }}</li> |
| 6 | {% endfor %} |
| 7 | </ul> |
| 8 | <table> |
| 9 | {% if results.firstResultPosition %} |
| 10 | <tr> |
| 11 | <th align="left">First Result</th> |
| 12 | <td>{{ results.firstResultPosition }}</td> |
| 13 | </tr> |
| 14 | {% endif %}{% if results.totalResultsAvailable %} |
| 15 | <tr> |
| 16 | <th align="left">Total Results Available</th> |
| 17 | <td>{{ results.totalResultsAvailable }}</td> |
| 18 | </tr> |
| 19 | {% endif %}{% if results.totalResultsReturned %} |
| 20 | <tr> |
| 21 | <th align="left">Results Returned</th> |
| 22 | <td>{{ results.totalResultsReturned }}</td> |
| 23 | </tr> |
| 24 | {% endif %}{% if results.type %} |
| 25 | <tr> |
| 26 | <th align="left">Type</th> |
| 27 | <td>{{ results.type }}</td> |
| 28 | </tr> |
| 29 | {% endif %} |
| 30 | </table> |
| 31 | </div> |