Resolve channels #150

Merged
bones7242 merged 23 commits from resolve-channels into master 2017-08-25 18:35:40 +02:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit b2eed76914 - Show all commits

View file

@ -163,7 +163,7 @@ button.copy-button {
overflow: auto; overflow: auto;
} }
.all-claims-img { .all-claims-asset {
width: 20%; width: 20%;
float: left; float: left;
margin: 5px 30px 5px 0px; margin: 5px 30px 5px 0px;
@ -187,7 +187,7 @@ button.copy-button {
@media (max-width: 750px) { @media (max-width: 750px) {
.all-claims-img { .all-claims-asset {
width:30%; width:30%;
} }
@ -214,7 +214,7 @@ button.copy-button {
margin-right: 2em; margin-right: 2em;
} }
.all-claims-img { .all-claims-asset {
width:50%; width:50%;
} }

View file

@ -5,7 +5,7 @@
<p>These are all the free, public assets at that claim. You can publish more at <a href="/">spee.ch</a>.</p> <p>These are all the free, public assets at that claim. You can publish more at <a href="/">spee.ch</a>.</p>
{{#each claims}} {{#each claims}}
<div class="all-claims-item"> <div class="all-claims-item">
<img class="all-claims-img" src="/{{this.claimId}}/{{this.name}}.test" /> <img class="all-claims-asset" src="/{{this.claimId}}/{{this.name}}.test" />
<div class="all-claims-details"> <div class="all-claims-details">
<ul style="list-style-type:none"> <ul style="list-style-type:none">
<li>claim: {{this.name}}</li> <li>claim: {{this.name}}</li>

View file

@ -6,13 +6,13 @@
{{#each channelContents}} {{#each channelContents}}
<div class="all-claims-item"> <div class="all-claims-item">
{{#ifConditional this.contentType '===' 'video/mp4'}} {{#ifConditional this.contentType '===' 'video/mp4'}}
<video class="all-claims-img" autoplay controls> <video class="all-claims-asset" controls>
<source src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}"> <source src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}">
{{!--fallback--}} {{!--fallback--}}
Your browser does not support the <code>video</code> element. Your browser does not support the <code>video</code> element.
</video> </video>
{{else}} {{else}}
<img class="all-claims-img" src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}" /> <img class="all-claims-asset" src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}" />
{{/ifConditional}} {{/ifConditional}}
<div class="all-claims-details"> <div class="all-claims-details">