Add icons to app page

This commit is contained in:
Taylor Helsper 2021-05-09 15:50:42 -05:00
parent 42e59b2544
commit ca60cfb454
6 changed files with 3 additions and 0 deletions

View File

@ -306,6 +306,7 @@ def initialize_applications():
apps.append(create_application(
name="Joinmarket",
short_name="joinmarket",
show_on_application_page=False,
is_premium=True
))
apps.append(create_application(

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -89,6 +89,7 @@
<br/><br/>
<table class="bitcoin_table">
<thead class="bitcoin_table_header">
<td><!-- Icon --></td>
<td>Application</td>
<td>Current Version</td>
<td>Latest Version</td>
@ -100,6 +101,7 @@
{% if app.show_on_application_page %}
{% if not product_key_skipped or product_key_skipped and not app.is_premium %}
<tr>
<td><img class="app_logo_icon" style="width: 32px;" src="{{ url_for('static', filename="images/")}}{{app.short_name}}.png"/></td>
<td>{{ app.name }}</td>
<td>
{% if app.is_installed %}