Add digital mesh background

This commit is contained in:
Taylor Helsper 2022-07-30 17:08:34 -05:00
parent e551493891
commit 1bf05217b3
3 changed files with 3 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 KiB

View File

@ -21,7 +21,7 @@
<script src="{{ url_for('static', filename='js/mynode.js')}}"></script>
{% if ui_settings['background'] and ui_settings['background'] != "none" %}
{% if ui_settings['background'] == "digital" %}
{% if ui_settings['background'] == "digital" or ui_settings['background'] == "digital_mesh" %}
<style>
body {
background-image: url("{{ url_for('static', filename='images/backgrounds/')}}{{ui_settings['background']}}.png");
@ -32,7 +32,7 @@
}
</style>
{% else %}
<-- Fixed Background -->
<!-- Fixed Background -->
<style>
body {
background-image: url("{{ url_for('static', filename='images/backgrounds/')}}{{ui_settings['background']}}.png");

View File

@ -803,6 +803,7 @@
<select name="background" id="background">
<option value="none" {% if not ui_settings['background'] or ui_settings['background'] == "none" %}selected{% endif %}>None</option>
<option value="digital" {% if ui_settings['background'] == "digital" %}selected{% endif %}>Digital</option>
<option value="digital_mesh" {% if ui_settings['background'] == "digital_mesh" %}selected{% endif %}>Digital Mesh</option>
<option value="laser_eyes" {% if ui_settings['background'] == "laser_eyes" %}selected{% endif %}>Laser Eyes</option>
<option value="moon" {% if ui_settings['background'] == "moon" %}selected{% endif %}>Moon</option>
</select>