2017-08-23 21:21:15 +02:00
|
|
|
<div class="wrapper">
|
|
|
|
{{> topBar}}
|
|
|
|
<div>
|
|
|
|
<h3>{{this.channelName}}</h3>
|
|
|
|
<p>Below are all the free claims in this channel.</p>
|
|
|
|
{{#each channelContents}}
|
|
|
|
<div class="all-claims-item">
|
2017-08-23 21:24:51 +02:00
|
|
|
{{#ifConditional this.contentType '===' 'video/mp4'}}
|
2017-08-23 21:27:35 +02:00
|
|
|
<video class="all-claims-asset" controls>
|
2017-08-23 21:21:15 +02:00
|
|
|
<source src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}">
|
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{else}}
|
2017-08-23 21:27:35 +02:00
|
|
|
<img class="all-claims-asset" src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}" />
|
2017-08-23 21:21:15 +02:00
|
|
|
{{/ifConditional}}
|
|
|
|
|
|
|
|
<div class="all-claims-details">
|
|
|
|
<ul style="list-style-type:none">
|
|
|
|
<li>Title: {{this.title}}</li>
|
|
|
|
<li>Description: {{this.description}}</li>
|
|
|
|
<li>License: {{this.license}}</li>
|
|
|
|
<li>Link: <a href="/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}">spee.ch/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}</a></li>
|
|
|
|
<li>Claim: {{this.name}}</li>
|
|
|
|
<li>Claim Id: {{this.claimId}}</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{> footer}}
|
|
|
|
</div>
|