rimgo/views/gallery.hbs

64 lines
1.5 KiB
Handlebars
Raw Normal View History

2022-01-17 20:23:04 +00:00
<!DOCTYPE html>
<html lang="en">
2022-01-17 20:48:24 +00:00
2022-01-17 20:23:04 +00:00
<head>
{{> partials/head }}
2022-01-17 22:11:33 +00:00
<link rel="stylesheet" href="/static/fonts/Material-Icons-Outlined.css" />
2022-01-17 20:48:24 +00:00
<link rel="stylesheet" href="/static/css/album.css" />
2022-01-17 22:11:33 +00:00
2022-01-17 20:23:04 +00:00
</head>
2022-01-17 20:48:24 +00:00
2022-01-17 20:23:04 +00:00
<body>
2022-01-17 20:48:24 +00:00
{{> partials/header }}
<main>
2022-01-17 22:11:33 +00:00
<h1>{{album.Title}}</h1>
2022-01-18 00:21:43 +00:00
<p>{{album.CreatedAt}}</p>
2022-01-17 22:11:33 +00:00
<div class="imageMeta__wrapper">
<div class="imageMeta">
2022-01-18 00:21:43 +00:00
<div class="imageMeta__item">
<span class="material-icons-outlined" title="Views">visibility</span>
<p>{{album.Views}}</p>
</div>
2022-01-17 22:11:33 +00:00
{{#unless isAlbum}}
<p><span class="material-icons-outlined" title="Likes">thumb_up</span> {{album.Upvotes}}</p>
<p><span class="material-icons-outlined" title="Dislilkes">thumb_down</span> {{album.Downvotes}}</p>
{{/unless}}
</div>
<!--<div class="videoDesc__channel">
<a href="{{claim.Channel.RelUrl}}">
{{#if claim.Channel.Thumbnail}}
<img src="{{claim.Channel.Thumbnail}}&w=56&h=56" class="pfp" width="56" height="56" loading="lazy" />
{{/if}}
</a>
<a href="{{claim.Channel.RelUrl}}">
<p>
<b>{{claim.Channel.Title}}</b>
</p>
</a>
</div>-->
</div>
2022-01-17 20:48:24 +00:00
{{#each album.Media}}
2022-01-17 22:11:33 +00:00
{{#if this.Title}}
<h3>{{this.Title}}</h3>
{{/if}}
{{#if this.Description}}
2022-01-18 00:25:49 +00:00
<p>{{this.Description}}</p><br>
2022-01-17 22:11:33 +00:00
{{/if}}
2022-01-18 00:25:49 +00:00
<div class="center">
<img src="{{this.Url}}" loading="lazy">
</div>
<br>
2022-01-17 20:48:24 +00:00
{{/each}}
</main>
2022-01-17 22:11:33 +00:00
{{> partials/footer }}
2022-01-17 20:23:04 +00:00
</body>
2022-01-17 20:48:24 +00:00
2022-01-17 20:23:04 +00:00
</html>