diff --git a/src/web/static/style.css b/src/web/static/style.css index 89752578..108a3063 100644 --- a/src/web/static/style.css +++ b/src/web/static/style.css @@ -21,7 +21,7 @@ a { text-decoration: none; } -form.table { +form { display: inline; } diff --git a/src/web/templates/base.html b/src/web/templates/base.html index a67e79a9..ad4f782c 100644 --- a/src/web/templates/base.html +++ b/src/web/templates/base.html @@ -21,7 +21,6 @@ <meta name="theme-color" content="#ffffff"> <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.css"/> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/basic.min.css"/> <script type="application/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.js"> diff --git a/src/web/templates/index.html b/src/web/templates/index.html index d4164625..96afc8c3 100644 --- a/src/web/templates/index.html +++ b/src/web/templates/index.html @@ -3,7 +3,7 @@ {% block content %} <h2>Current RaSCSI Configuration</h2> <p> - <form action="/config/load" method="post" class="table"> + <form action="/config/load" method="post"> <select name="name" > {% for config in config_files %} <option value="{{config}}">{{config.replace(".json", '')}}</option> @@ -14,11 +14,11 @@ </form> </p> <p> - <form action="/config/save" method="post" class="table"> + <form action="/config/save" method="post"> <input name="name" placeholder="default"> <input type="submit" value="Save" /> </form> - <form action="/scsi/detach_all" method="post" class="table" onsubmit="return confirm('Detach all SCSI Devices?')"> + <form action="/scsi/detach_all" method="post" onsubmit="return confirm('Detach all SCSI Devices?')"> <input type="submit" value="Detach All" /> </form> </p> @@ -48,20 +48,20 @@ {% endif %} <td style="text-align:left"> {% if device.device_type in removable_device_types and "No Media" not in device.status %} - <form action="/scsi/eject" method="post" class="table" onsubmit="return confirm('Eject Disk?')"> + <form action="/scsi/eject" method="post" onsubmit="return confirm('Eject Disk?')"> <input type="hidden" name="scsi_id" value="{{device.id}}"> <input type="submit" value="Eject" /> </form> - <form action="/scsi/info" method="post" class="table"> + <form action="/scsi/info" method="post"> <input type="hidden" name="scsi_id" value="{{device.id}}"> <input type="submit" value="Info" /> </form> {% else %} - <form action="/scsi/detach" method="post" class="table" onsubmit="return confirm('Detach Disk?')"> + <form action="/scsi/detach" method="post" onsubmit="return confirm('Detach Disk?')"> <input type="hidden" name="scsi_id" value="{{device.id}}"> <input type="submit" value="Detach" /> </form> - <form action="/scsi/info" method="post" class="table"> + <form action="/scsi/info" method="post"> <input type="hidden" name="scsi_id" value="{{device.id}}"> <input type="submit" value="Info" /> </form> @@ -93,13 +93,13 @@ <tr> <td>{{file["name"].replace(base_dir, '')}}</td> <td style="text-align:center"> - <form action="/files/download" method="post" class="table"> + <form action="/files/download" method="post"> <input type="hidden" name="image" value="{{file["name"].replace(base_dir, '')}}"> <input type="submit" value="{{file["size_mb"]}} MB ↓" /> </form> </td> <td> - <form action="/scsi/attach" method="post" class="table"> + <form action="/scsi/attach" method="post"> <input type="hidden" name="file_name" value="{{file["name"]}}"> <input type="hidden" name="file_size" value="{{file["size"]}}"> <select name="scsi_id"> @@ -111,12 +111,12 @@ <input type="submit" value="Attach" /> {% endif %} </form> - <form action="/files/delete" method="post" class="table" onsubmit="return confirm('Delete file?')"> + <form action="/files/delete" method="post" onsubmit="return confirm('Delete file?')"> <input type="hidden" name="image" value="{{file["name"].replace(base_dir, '')}}"> <input type="submit" value="Delete" /> </form> {% if file["name"].lower().endswith(archive_file_suffix) %} - <form action="/files/unzip" method="post" class="table"> + <form action="/files/unzip" method="post"> <input type="hidden" name="image" value="{{file["name"].replace(base_dir, '')}}"> <input type="submit" value="Unzip" /> </form> @@ -213,7 +213,7 @@ <tr style="border: none"> <td style="border: none; vertical-align:top;"> <label for="scsi_id">SCSI ID:</label> - <form action="/files/download_to_iso" method="post" class="table"> + <form action="/files/download_to_iso" method="post"> <select name="scsi_id"> {% for id in scsi_ids %} <option value="{{id}}">{{id}}</option> @@ -233,7 +233,7 @@ <table style="border: none"> <tr style="border: none"> <td style="border: none; vertical-align:top;"> - <form action="/files/create" method="post" class="table"> + <form action="/files/create" method="post"> <label for="file_name">File Name:</label> <input type="text" placeholder="File name" name="file_name"/> <label for="type">Type:</label> @@ -286,7 +286,7 @@ <table style="border: none"> <tr style="border: none"> <td style="border: none; vertical-align:top;"> - <form action="/logs/level" method="post" class="table"> + <form action="/logs/level" method="post"> <label for="level">Log Level:</label> <select name="level"> {% for level in server_info["log_levels"] %}