add template of mustache for wdg

This commit is contained in:
cri 2015-09-12 22:31:17 +02:00
parent 1b09675301
commit fb9a51ca1a
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{{#items}}
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<h3><a href='/hack/path64/{{item.URI}}/'>{{item.title}}</a></h3>
<h4>{{#item.creator}}</h4><small>by: <i>{{item.creator}}</i></small>{{/item.creator}}
<img src="..." alt="...">
{{#item.player}}
<iframe class="embed-iframe" frameBorder='0' seamless='seamless' src='{{url}}'></iframe>
{{/item.player}}
<div class="caption">
<p><i>{{item.description}}</i></p>
<p>
<a href='/hack/path64/{{item.URI}}/' >
<img title="Download" alt="[Download]" src="http://arkiwi.org/arav_icons/download_icon.png">
</a>
</div>
</div>
</div>
{{/items}}

View file

@ -0,0 +1,18 @@
{{#items}}
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<h4>{{#item.creator}}</h4><small>by: <i>{{item.creator}}</i></small>{{/item.creator}}
{{#item.player}}
<iframe class="embed-iframe" frameBorder='0' seamless='seamless' src='{{url}}'></iframe>
{{/item.player}}
<div class="caption">
<p><i>{{item.description}}</i></p>
<p>
<a target="_blank" href='http://storage.arkiwi.org/{{item.identifier}}' download>
<img title="Download" alt="[Download]" src="http://arkiwi.org/arav_icons/download_icon.png">
</a>
</div>
</div>
</div>
{{/items}}