removed the details link on show-lite
This commit is contained in:
parent
13471edda4
commit
a32df3c77a
3 changed files with 8 additions and 5 deletions
|
@ -59,6 +59,10 @@ button.copy-button {
|
|||
float: right;
|
||||
}
|
||||
|
||||
.share-option {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.metadata-table {
|
||||
font-size: small;
|
||||
border-collapse: collapse;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
{{#each trendingAssets}}
|
||||
{{#if this.nsfw}}
|
||||
{{else }}
|
||||
<a href="/show/{{this.name}}/{{this.claimId}}">
|
||||
{{#ifConditional this.fileType '===' 'video/mp4'}}
|
||||
<video class="asset-small" controls>
|
||||
<source src="/api/streamFile/{{this.fileName}}">
|
||||
|
@ -10,10 +11,9 @@
|
|||
Your browser does not support the <code>video</code> element.
|
||||
</video>
|
||||
{{else}}
|
||||
<a href="/show/{{this.name}}/{{this.claimId}}">
|
||||
<img class="asset-small" src="/api/streamFile/{{this.fileName}}" />
|
||||
</a>
|
||||
{{/ifConditional}}
|
||||
</a>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</div>
|
|
@ -1,4 +1,5 @@
|
|||
<div id="asset-placeholder">
|
||||
<a href="/show/{{fileInfo.name}}/{{fileInfo.claimId}}">
|
||||
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
|
||||
<video class="show-asset-lite" autoplay controls>
|
||||
<source src="/api/streamFile/{{fileInfo.fileName}}">
|
||||
|
@ -9,7 +10,5 @@
|
|||
{{else}}
|
||||
<img class="show-asset-lite" src="/api/streamFile/{{fileInfo.fileName}}" alt="{{fileInfo.fileName}}"/>
|
||||
{{/ifConditional}}
|
||||
<div>
|
||||
<a href="/show/{{fileInfo.name}}/{{fileInfo.claimId}}">Details</a>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
Loading…
Reference in a new issue