Make the color look nicer

This commit is contained in:
amcmanu3 2023-01-29 17:25:44 -05:00
parent d24c3c5ba0
commit af654bc89f

View File

@ -48,7 +48,11 @@
{% raw xsrf_form_html() %}
{% for item in data['config-json'].items() %}
{% if item[0] == "reset_secrets_on_next_boot" %}
<div class="form-group" style="background: rgba(243, 21, 6, 0.3); outline: 1px solid red; padding: 10px;">
{% else %}
<div class="form-group">
{% end %}
<label class="form" for="{{item[0]}}">{{item[0]}}
<small class="text-muted ml-1">
</small> </label><br />
@ -81,11 +85,7 @@
{% elif isinstance(item[1], list) %}
<textarea value="{{','.join(item[1])}}" type="text" name="{{item[0]}}" class="form-control list">{{','.join(item[1])}}</textarea>
{% elif isinstance(item[1], bool) %}
{% if item[0] == "reset_secrets_on_next_boot" %}
<div style="margin-left: 30px; color: red;">
{% else %}
<div style="margin-left: 30px;">
{% end %}
{% if item[1] == True %}
<input type="radio" class="form-check-input" name="{{item[0]}}" id="True" value="True" checked>
 <label for="True">True</label><br>