Skip to content

Frontend refactoring

Raphael Mäder requested to merge frontend-refactoring into master

Created by: sunsetter

  • frontend-asset-handling

    • introduces Asset-Handler with lib-function for webjar-Assets
    • lessifies all css-dependencies so that they get distributed as one (optimized) css (rewrites relative urls)
    • cleans up layout.scala.html, stylesheet import reduced to two css-link-tags and javascript is fetched from webjars
    • introduces _asset and _assetWebjars templates to provide versioned asset-Url including configured cdn prefix (if present)
  • fixing appearance and versions

    • adds translation for untranslated strings
    • adjusts datatables for users
    • fixes small layout-issues
    • icon-handling works as before
  • bootstrap-layout for datatables

    • fixing layout of datatables by including manual adjustments to datatables as js-file.
    • adjusting initObject to use bootstrap layout for pagination
  • fixing interface glitches

    • image-uploads provide relative url to /assets now to be able to use CDN
    • deleteDBData now works also in InnoDB by disabling foreign_key_checks during delete
    • fixes tinyMCE integration
    • fixes imageUpload via tinyMCE add (old legacy) bootstrap-datetimepicker into layout and remove webjar-version (dit not work)
  • PLAY-16 version increment

Merge request reports