forked from ordinals/ord
-
Notifications
You must be signed in to change notification settings - Fork 21
/
inscriptions-block.html
26 lines (26 loc) Β· 794 Bytes
/
inscriptions-block.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<h1>Inscriptions in <a href=/block/{{ &self.block }}>Block {{ &self.block }}</a></h1>
<div class=thumbnails>
%% for id in &self.inscriptions {
{{ Iframe::thumbnail(*id) }}
%% }
</div>
<div class=center>
%% if let Some(prev_block) = &self.prev_block {
<a class=prev href=/inscriptions/block/{{ prev_block }}>{{ prev_block }}</a>
%% }
•
%% if let Some(prev_page) = &self.prev_page {
<a class=prev href=/inscriptions/block/{{ &self.block }}/{{ prev_page }}>prev</a>
%% } else {
prev
%% }
%% if let Some(next_page) = &self.next_page {
<a class=next href=/inscriptions/block/{{ &self.block }}/{{ next_page }}>next</a>
%% } else {
next
%% }
•
%% if let Some(next_block) = &self.next_block {
<a class=next href=/inscriptions/block/{{ next_block }}>{{ next_block }}</a>
%% }
</div>