RASCSI/python/web/src
Daniel Markstedt d1a703418c
Address Sonarcloud issues for the html code; improve on css styles (#892)
Refactor and clean up code to conform to SonarCloud static analysis, improve readability and semantics.
- Add labels for each form input, and tweak placeholder text accordingly.
- Move CSS styles to the stylesheet; minor tweaks for clarity and consistency
- Use the legacy align=center attribute for centering paragraphs (backwards compatible)
- Remove all instances of using tables for layout
- Add header tags to all remaining tables, with scope parameters.
- Add descriptions to each table
- Move drive reference hyperlinks to the drive name column (addresses "same link text leads to different URL" code smell.)
- Inject lang parameters to each html tag
- Standardize on h2 tags as top header for each template
- Add 'json' to config file UI elements, to communicate actual file name/format
- Clean up indentation
- Dropbox styling: Added a colored outline, added padding to more clearly communicate its function. Hid the (X) SVG that indicates failure, since failure is already communicated by the error text. Also, the SVG always obstructed the file name or error so was quite counter-productive.
2022-10-07 13:13:29 -07:00
..
pwa
static Address Sonarcloud issues for the html code; improve on css styles (#892) 2022-10-07 13:13:29 -07:00
templates Address Sonarcloud issues for the html code; improve on css styles (#892) 2022-10-07 13:13:29 -07:00
translations Swedish localization update 2022-09 (#874) 2022-09-30 21:20:19 -05:00
__init__.py
drive_properties.json Improve the logic and data structure for SCSI ID management in Web UI (#893) 2022-10-06 10:00:57 -07:00
return_code_mapper.py Allow images to be extracted from StuffIt, tarball, gzip, and 7z archives 2022-08-12 04:19:02 +01:00
settings.py Allow images to be extracted from StuffIt, tarball, gzip, and 7z archives 2022-08-12 04:19:02 +01:00
socket_cmds_flask.py
web_utils.py Introduce utility method to look up drive props by drive name. (#888) 2022-10-06 14:04:41 -07:00
web.py Address Sonarcloud issues for the html code; improve on css styles (#892) 2022-10-07 13:13:29 -07:00