diff options
Diffstat (limited to 'js/dojo-1.7.2/dojox/data/demos/GoogleFeedTemplate.html')
| -rw-r--r-- | js/dojo-1.7.2/dojox/data/demos/GoogleFeedTemplate.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/js/dojo-1.7.2/dojox/data/demos/GoogleFeedTemplate.html b/js/dojo-1.7.2/dojox/data/demos/GoogleFeedTemplate.html new file mode 100644 index 0000000..2d18fca --- /dev/null +++ b/js/dojo-1.7.2/dojox/data/demos/GoogleFeedTemplate.html @@ -0,0 +1,26 @@ +{% load dojox.dtl.contrib.data %} +{% bind_data items to store as google %} +<ul> +{% for item in google %} +<li class="search-result"> + <div> + <a href="{{item.link}}">{{item.title}}</a> + <div style="display:none" class="content"> + <h2>{{item.title}}</h2> + {{item.content}} + </div> + </div> + <div class="summary"> + {{item.summary}} + </div> + <div class="tags"> + <!--{% if item.categories %}--> + Tags: + <!--{% for cat in item.categories %}--> + {{cat}} + <!--{% endfor %}--> + <!--{% endif %}--> + </div> +</li> +{% endfor %} +</ul>
\ No newline at end of file |
