fixed the display of /claim/all

This commit is contained in:
bill bittner 2017-06-23 12:53:19 -07:00
parent 94030335c1
commit 8f1cdb94ef
2 changed files with 25 additions and 9 deletions

View file

@ -45,8 +45,17 @@ canvas {
/* all claims */ /* all claims */
.all-claims-item {
margin-top: 2px;
padding-top: 2px;
border-top: 1px lightgrey solid;
overflow: auto;
}
.all-claims-img { .all-claims-img {
height: 200px; width: 20%;
float: left;
margin: 5px 30px 5px 0px;
} }
/* footer */ /* footer */

View file

@ -6,15 +6,22 @@
<h3>All Claims</h3> <h3>All Claims</h3>
<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}}
<img class="all-claims-img" src="/{{this.name}}/{{this.claim_id}}" /> <div class="all-claims-item">
<div class="card card-block"> <img class="all-claims-img" src="/{{this.name}}/{{this.claim_id}}" />
<p>claim_id: {{this.claim_id}}</p> <div class="all-claims-details">
<p>direct link <a href="/{{this.name}}/{{this.claim_id}}">here</a></p> <ul style="list-style-type:none">
<p>author: {{this.value.stream.metadata.author}}</p> <li>claim: {{this.name}}</li>
<p>description: {{this.value.stream.metadata.description}}</p> <li>claim_id: {{this.claim_id}}</li>
<p>license: {{this.value.stream.metadata.license}}</p> <li>direct link: <a href="/{{this.name}}/{{this.claim_id}}">spee.ch/{{this.name}}/{{this.claim_id}}</a></li>
<li>author: {{this.value.stream.metadata.author}}</li>
<li>description: {{this.value.stream.metadata.description}}</li>
<li>license: {{this.value.stream.metadata.license}}</li>
</ul>
</div>
</div> </div>
<hr>
{{/each}} {{/each}}
</div> </div>
<div class="footer">
{{> footer}}
</div>
</div> </div>