Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5053

add theme style-classes in file upload dialog

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 9.6.0.1
    • Theme
    • Security Level: Jimmy

      User Story

      As a developer, I want to change the style for the built in file upload dialog.

      Acceptance Criteria

      replace hard coded inline-styles with theme specific CSS classes (allowing customization via CSS without changing the default template)

      e.g. to also adapt to dark themes

      Details

      the dialog open when using the Fileupload.get method:

      		Map<String, Object> params = new HashMap<>();
      		Fileupload.get(params, "Choose a file: ", "Upload files", null, 10, 100, true, event -> { });
      

      as of now it's only possible to change the styling of this dialog by replacing the internal upload dialog template

      		Fileupload.setTemplate("myfileuploaddlg.zul");
      

            Unassigned Unassigned
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: