AI-SDC / SACRO-Viewer

A tool for fast, secure and effective output checking, which can work in any TRE.
Other
2 stars 1 forks source link

Build files list in Django #121

Closed ghickman closed 1 year ago

ghickman commented 1 year ago

The files list column is a static list of data which we build on page load. Since we're providing all of that information from Django we can build that in the template and cut the javascript down to only attaching click handlers.

While working on this I noticed that we can ditch several templates and components in favour of a single (65loc!) template since the page is so simple, saving us from jumping around various templates and javascript files to track where things are built.