diff options
Diffstat (limited to 'includes/js/dojox/rpc/demos/templates')
-rw-r--r-- | includes/js/dojox/rpc/demos/templates/documentation.html | 8 | ||||
-rw-r--r-- | includes/js/dojox/rpc/demos/templates/yahoo.html | 31 |
2 files changed, 0 insertions, 39 deletions
diff --git a/includes/js/dojox/rpc/demos/templates/documentation.html b/includes/js/dojox/rpc/demos/templates/documentation.html deleted file mode 100644 index d14cf16..0000000 --- a/includes/js/dojox/rpc/demos/templates/documentation.html +++ /dev/null @@ -1,8 +0,0 @@ -<div> - <input dojotAttachPoint="search" dojoAttachEvent="onkeyup: onSearch"> - <ul> - {% for result in results %} - <li>{% if result.type %}<i>{{ result.type }}</i> {% endif %}{% ifequal result.type "Function" %}{% if not result.resources %}function {% endif %}{% endifequal %}{{ result.name }}{% ifequal result.type "Function" %}{% if not result.resources %}({% for parameter in result.parameters %}{% if not forloop.first %}, {% endif %}{% if parameter.types %}<i>{% for type in parameter.types %}{% if not forloop.first %}|{% endif %}{{ type.title }}{% endfor %}{% if parameter.optional %}?{% endif %}{% if parameter.repeating %}...{% endif %}</i> {% endif %}{{ parameter.name }}{% endfor %}{% endif %}{% endifequal %}{% ifequal result.type "Function" %}{% if not result.resources %}){% endif %}{% endifequal %}</li> - {% endfor %} - </ul> -</div>
\ No newline at end of file diff --git a/includes/js/dojox/rpc/demos/templates/yahoo.html b/includes/js/dojox/rpc/demos/templates/yahoo.html deleted file mode 100644 index 04339d2..0000000 --- a/includes/js/dojox/rpc/demos/templates/yahoo.html +++ /dev/null @@ -1,31 +0,0 @@ -<div> - <input dojotAttachPoint="search" dojoAttachEvent="onkeyup: onSearch"> - <ul> - {% for result in results.Result %} - <li><a href="{{ result.Url }}">{{ result.Title }}</a><br/>{{ result.Summary }}</li> - {% endfor %} - </ul> - <table> - {% if results.firstResultPosition %} - <tr> - <th align="left">First Result</th> - <td>{{ results.firstResultPosition }}</td> - </tr> - {% endif %}{% if results.totalResultsAvailable %} - <tr> - <th align="left">Total Results Available</th> - <td>{{ results.totalResultsAvailable }}</td> - </tr> - {% endif %}{% if results.totalResultsReturned %} - <tr> - <th align="left">Results Returned</th> - <td>{{ results.totalResultsReturned }}</td> - </tr> - {% endif %}{% if results.type %} - <tr> - <th align="left">Type</th> - <td>{{ results.type }}</td> - </tr> - {% endif %} - </table> -</div> |