34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<div class="grid-x grid-padding-x">
|
|
<div class="large-6 medium-12 cell">
|
|
|
|
<h5>System information</h5>
|
|
<table>
|
|
<tr><th>Memory in use</th><td>{{ meminfo }}</td></tr>
|
|
<tr><th>Bookmarks</th><td>{{ .stats.MostRecentBookmarkInfo.Bookmarks }}</td></tr>
|
|
<tr><th>Words Indexed</th><td>{{ .stats.MostRecentBookmarkInfo.IndexedWords }}</td></tr>
|
|
<tr><th>Database disk size</th><td>{{ niceSizeMB .stats.FileSize }}Mb</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
<div class="large-6 medium-12 cell">
|
|
|
|
<h5>Release info</h5>
|
|
{{ if not version.Remote.Valid }}
|
|
<p>GitHub version information not yet fetched.</p>
|
|
{{ else }}
|
|
{{ if version.UpgradeAvailable }}
|
|
<p>
|
|
A new version is available:
|
|
<a href="https://github.com/tardisx/linkwallet/releases/tag/{{ version.Remote.Tag }}">
|
|
{{ version.Remote.Tag }}
|
|
</a>
|
|
(you have {{ version.Local.Tag }}).
|
|
</p>
|
|
|
|
{{ markdown version.UpgradeReleaseNotes }}
|
|
|
|
{{ else }}
|
|
<p>You are currently running the most recent version.</p>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div> |