check update added

This commit is contained in:
Neythen Treloar
2022-02-27 09:52:37 +00:00
parent 21f28e0977
commit dfe068591a
3 changed files with 17 additions and 5 deletions
+7 -1
View File
@@ -52,7 +52,13 @@
</p>
</div>
<div class="">
<button id="update-btn" class="btn btn-secondary">Check Updates</button>
<button id="update-btn" class="btn btn-secondary">
{% if system_info.update_available %}
Update available!
{%else%}
Up to date
{%endif%}
</button>
</div>
</div>
</nav>