More style fixes

This commit is contained in:
Daniel Markstedt 2021-09-22 10:43:31 -07:00
parent 833ce02a62
commit 26cc87d816

View File

@ -3,7 +3,7 @@
{% block content %} {% block content %}
<h2>Current RaSCSI Configuration</h2> <h2>Current RaSCSI Configuration</h2>
<p> <p>
<form action="/config/load" method="post"> <form action="/config/load" method="post" class="table">
<select name="name" > <select name="name" >
{% for config in config_files %} {% for config in config_files %}
<option value="{{config}}">{{config.replace(".json", '')}}</option> <option value="{{config}}">{{config.replace(".json", '')}}</option>
@ -14,11 +14,11 @@
</form> </form>
</p> </p>
<p> <p>
<form action="/config/save" method="post"> <form action="/config/save" method="post" class="table">
<input name="name" placeholder="default"> <input name="name" placeholder="default">
<input type="submit" value="Save" /> <input type="submit" value="Save" />
</form> </form>
<form action="/scsi/detach_all" method="post" onsubmit="return confirm('Detach all SCSI Devices?')"> <form action="/scsi/detach_all" method="post" class="table" onsubmit="return confirm('Detach all SCSI Devices?')">
<input type="submit" value="Detach All" /> <input type="submit" value="Detach All" />
</form> </form>
</p> </p>
@ -213,7 +213,7 @@
<tr style="border: none"> <tr style="border: none">
<td style="border: none; vertical-align:top;"> <td style="border: none; vertical-align:top;">
<label for="scsi_id">SCSI ID:</label> <label for="scsi_id">SCSI ID:</label>
<form action="/files/download_to_iso" method="post"> <form action="/files/download_to_iso" method="post" class="table">
<select name="scsi_id"> <select name="scsi_id">
{% for id in scsi_ids %} {% for id in scsi_ids %}
<option value="{{id}}">{{id}}</option> <option value="{{id}}">{{id}}</option>
@ -233,7 +233,7 @@
<table style="border: none"> <table style="border: none">
<tr style="border: none"> <tr style="border: none">
<td style="border: none; vertical-align:top;"> <td style="border: none; vertical-align:top;">
<form action="/files/create" method="post"> <form action="/files/create" method="post" class="table">
<label for="file_name">File Name:</label> <label for="file_name">File Name:</label>
<input type="text" placeholder="File name" name="file_name"/> <input type="text" placeholder="File name" name="file_name"/>
<label for="type">Type:</label> <label for="type">Type:</label>
@ -286,7 +286,7 @@
<table style="border: none"> <table style="border: none">
<tr style="border: none"> <tr style="border: none">
<td style="border: none; vertical-align:top;"> <td style="border: none; vertical-align:top;">
<form action="/logs/level" method="post"> <form action="/logs/level" method="post" class="table">
<label for="level">Log Level:</label> <label for="level">Log Level:</label>
<select name="level"> <select name="level">
{% for level in server_info["log_levels"] %} {% for level in server_info["log_levels"] %}