diff --git a/data/interfaces/default/managemanual.html b/data/interfaces/default/managemanual.html index 5b88c698..90197134 100644 --- a/data/interfaces/default/managemanual.html +++ b/data/interfaces/default/managemanual.html @@ -1,8 +1,9 @@ <%inherit file="base.html" /> <%! import headphones - from headphones import db, helpers - myDB = db.DBConnection() + # Removed direct DB imports/interactions here, as data should be pre-fetched server-side. + # from headphones import db, helpers + # myDB = db.DBConnection() # This should not be in the template %> <%def name="headerIncludes()"> @@ -20,73 +21,82 @@
| Local Artist | -Local Album | -Previous Action | +Local Artist | <%-- Changed ID to class --%> +Local Album | <%-- Changed ID to class --%> +Previous Action | <%-- Changed ID to class --%>
|---|---|---|---|---|---|
| ${album['ArtistName']} - - + |
+ ${album['ArtistName']} + <%-- Use a common class and data attributes to pass info to generic dialog --%> + |
- ${album['AlbumTitle']} - - - + |
+ ${album['AlbumTitle']} + <%-- Use a common class and data attributes to pass info to generic dialog --%> + |
- ${album['AlbumStatus']} - + | + ${album['AlbumStatus']} |