add template of mustache for wdg
This commit is contained in:
parent
1b09675301
commit
fb9a51ca1a
2 changed files with 38 additions and 0 deletions
20
app/templates/list_item_home.txt
Normal file
20
app/templates/list_item_home.txt
Normal 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}}
|
18
app/templates/list_item_id.txt
Normal file
18
app/templates/list_item_id.txt
Normal 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}}
|
Loading…
Reference in a new issue