Webfrontend #586

Generalise datatable templates

Added by Alexander Blum almost 6 years ago. Updated over 4 years ago.

Status:ErledigtStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

Currently a datatable need quite some handcrafting for each object. Some refactoring suggestions:

  • parametrized templates
    • at least some parts are needed for every datatable, e.g. the add structure with two tables
    • optimal: one template for all sequence form elements, all individual code should be outsourced
    • maybe data could be provided as json and no html is needed at all
  • javascript
    • uses global variables, should be put into datatables as attribute
    • some functions are the same for both tables, should be reused
    • should be separated from the html code (e.g. as widget dependency)

Associated revisions

Revision 9b0d097c
Added by Alexander Blum over 5 years ago

fixes #583, fixes #585, fixes #586, fixes #597: refactors datatables

Revision 33161c07
Added by Alexander Blum over 5 years ago

fixes #583, fixes #585, fixes #586, fixes #597: refactors datatables

Revision 33a82343
Added by Alexander Blum over 5 years ago

ref #586: better gui handling

History

#1 Updated by Alexander Blum over 5 years ago

  • Status changed from Neu to Erledigt
  • % Done changed from 0 to 100

Applied in changeset commit:collecting_society_portal|9b0d097c6ab5279d0f2be1120580e33b4ace06eb.

#2 Updated by Alexander Blum over 4 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF