therealchjones / plex-admin

A system to manage a media center ecosystem
https://plex.aleph0.com
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Better separation of html and javascript #15

Closed therealchjones closed 11 months ago

therealchjones commented 11 months ago

Rather than including all the "dynamic" HTML content within javascript, make a separately-downloadable HTML file that can be parsed and distributed as needed within the window. This allows better formatting and error checking than including the HTML within quoted strings in the javascript.

therealchjones commented 11 months ago

likely use something like https://developer.mozilla.org/en-US/docs/Web/API/DOMParser

therealchjones commented 11 months ago

fixed in #18