From 23586cc1c9cb835c24ca40c1f05a71b0e6d38311 Mon Sep 17 00:00:00 2001
From: Daniel Markstedt
Date: Tue, 28 Sep 2021 13:39:08 -0700
Subject: [PATCH] Hidden help text for each section
---
src/web/static/style.css | 7 ++
src/web/templates/index.html | 128 ++++++++++++++++++++++++++---------
2 files changed, 104 insertions(+), 31 deletions(-)
diff --git a/src/web/static/style.css b/src/web/static/style.css
index c0d87d7b..08fdcece 100644
--- a/src/web/static/style.css
+++ b/src/web/static/style.css
@@ -48,6 +48,13 @@ td.inactive {
background-color:tan;
}
+summary {
+ color: black;
+ font-size: large;
+ font-weight: bold;
+ margin: 0px;
+}
+
.dropzone, .dropzone * {
box-sizing: border-box;
}
diff --git a/src/web/templates/index.html b/src/web/templates/index.html
index 4fddf895..ff3c7616 100644
--- a/src/web/templates/index.html
+++ b/src/web/templates/index.html
@@ -1,7 +1,15 @@
{% extends "base.html" %}
{% block content %}
- Current RaSCSI Configuration
+
+ Current RaSCSI Configuration
+
+ - Displays the currently attached devices for each available SCSI ID.
+ - Save and load device configurations into {{base_dir}}
+ - The default configuration will be loaded when the Web UI starts up, if available.
+
+
+
- The default configuration will be loaded when the Web UI starts up, if available.
@@ -79,11 +86,18 @@
{% endfor %}
- Types: SAHD = SASI HDD | SCHD = SCSI HDD | SCRM = Removable | SCMO = Magneto-Optical | SCCD = CD-ROM | SCBR = Host Bridge | SCDP = DaynaPORT
- Valid Image Files
+
+ Valid Image Files
+
+ - A list of image files in {{base_dir}} that RaSCSI has identified as valid.
+ - If RaSCSI was unable to detect the device type associated with the image, you can choose the type from the dropdown.
+ - Types: SAHD = SASI HDD | SCHD = SCSI HDD | SCRM = Removable | SCMO = Magneto-Optical | SCCD = CD-ROM | SCBR = Host Bridge | SCDP = DaynaPORT
+
+
+
@@ -133,9 +147,20 @@
- Attach Ethernet Adapter
- Emulates a SCSI DaynaPORT Ethernet Adapter. Host drivers required.
- If you have a DHCP setup, ignore the Static IP fields.
+
+ Attach Ethernet Adapter
+
+ - Emulates a SCSI DaynaPORT Ethernet Adapter. Host drivers required.
+ - If you have a DHCP setup, ignore the Static IP fields.
+ -
+ {% if bridge_configured %}
+ Bridge is currently configured!
+ {% else %}
+ Bridge is automatically configured when a network adapter is attached.
+ {% endif %}
+
+
+
@@ -159,22 +184,19 @@
|
-
-
- {% if bridge_configured %}
- Bridge is currently configured!
- {% else %}
- Bridge is automatically configured when a network adapter is attached.
- {% endif %}
- |
-
- Upload File
- Uploads file to {{base_dir}}. The largest file size accepted is {{max_file_size}} MB. Zip files will be unzipped.
- For unrecognized file types, try renaming hard drive images to '.hds' and CD-ROM images to '.iso' before uploading.
+
+ Upload File
+
+ - Uploads file to {{base_dir}}. The largest file size accepted is {{max_file_size}} MB. Zip files will be unzipped.
+ - For unrecognized file types, try renaming hard drive images to '.hds' and CD-ROM images to '.iso' before uploading.
+ - Recognized file types: {{valid_file_suffix}}
+
+
+
@@ -194,12 +216,16 @@
chunkSize: 1000000 // bytes
}
- Recognized file types: {{valid_file_suffix}}
- Download File from Web
- Given a URL, download that file to the {{base_dir}}
+
+ Download File from Web
+
+ - Given a URL, download that file to the {{base_dir}} directory.
+
+
+
@@ -214,8 +240,14 @@
- Download File from web and create HFS CD (Macintosh)
- Given a URL this will download a file, create a HFS iso, and mount it on the SCSI ID given. Requires a compatible CD-ROM driver.
+
+ Download File from web and create HFS CD (Macintosh)
+
+ - Given a URL this will download a file, create a HFS iso, and mount it on the SCSI ID given.
+ - Requires a compatible CD-ROM driver installed on the target system.
+
+
+
@@ -236,7 +268,15 @@
- Create Empty Disk Image File
+
+ Create Empty Disk Image File
+
+ - The Generic image type is recommended for most systems
+ - APPLE GENUINE and NEC GENUINE image types will make RaSCSI masquerade as a particular drive type that are recognized by Mac and PC98 systems, respectively.
+ - SASI images should only be used on early X68000 or UNIX workstation systems that use this pre-SCSI standard.
+ - Available disk space on the Pi: {{free_disk}} MB
+
+
- Available disk space on the Pi: {{free_disk}} MB
- Create Named Drive
- Ceate a named disk image with a companion properties file that mimics real-life drives
+
+ Create Named Drive
+
+ - Here you can create pairs of images and properties files from a list of real-life drives.
+ - This will make RaSCSI use certain vendor strings and block sizes that may improve compatibility with certain systems
+
+
+
+ Ceate a named disk image that mimics real-life drives
- Logging
+
+ Logging
+
+ - Get a certain number of lines of service logs with the given scope.
+
+
+
@@ -288,7 +340,14 @@
- Server Log Level
+
+ Server Log Level
+
+ - Change the log level of the RaSCSI backend service.
+ - The dropdown will indicate the current log level.
+
+
+
@@ -307,7 +366,14 @@
- Raspberry Pi Operations
+
+ Raspberry Pi Operations
+
+ - Issue reboot or shutdown commands to the Raspberr Pi.
+ - You can also restart the RaSCSI backend service here.
+
+
+
| | | | |