Skip to content

Commit

Permalink
Add links to status page (#3361)
Browse files Browse the repository at this point in the history
  • Loading branch information
lugondev authored Mar 31, 2024
1 parent 06e124a commit c207ca5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/subcommand/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3180,15 +3180,15 @@ mod tests {
<dt>chain</dt>
<dd>regtest</dd>
<dt>height</dt>
<dd>4</dd>
<dd><a href=/block/4>4</a></dd>
<dt>inscriptions</dt>
<dd>3</dd>
<dd><a href=/inscriptions>3</a></dd>
<dt>blessed inscriptions</dt>
<dd>3</dd>
<dt>cursed inscriptions</dt>
<dd>0</dd>
<dt>runes</dt>
<dd>0</dd>
<dd><a href=/runes>0</a></dd>
<dt>lost sats</dt>
<dd>.*</dd>
<dt>started</dt>
Expand Down
6 changes: 3 additions & 3 deletions templates/status.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ <h1>Status</h1>
<dd>{{ self.chain }}</dd>
%% if let Some(height) = self.height {
<dt>height</dt>
<dd>{{ height }}</dd>
<dd><a href=/block/{{ height }}>{{ height }}</a></dd>
%% }
<dt>inscriptions</dt>
<dd>{{ self.inscriptions }}</dd>
<dd><a href=/inscriptions>{{ self.inscriptions }}</a></dd>
<dt>blessed inscriptions</dt>
<dd>{{ self.blessed_inscriptions }}</dd>
<dt>cursed inscriptions</dt>
<dd>{{ self.cursed_inscriptions }}</dd>
<dt>runes</dt>
<dd>{{ self.runes }}</dd>
<dd><a href=/runes>{{ self.runes }}</a></dd>
<dt>lost sats</dt>
<dd>{{ self.lost_sats }}</dd>
<dt>started</dt>
Expand Down

0 comments on commit c207ca5

Please sign in to comment.