jDownloadsownloads.com


Author Topic: Button class override for "jbutton"  (Read 605 times)

0 Members and 1 Guest are viewing this topic.

Offline TLWebdesign

  • Newbie
  • *
  • Posts: 23
    • TLWebdesign
Button class override for "jbutton"
« on: 07.08.2020 16:47:22 »
Hi,

I'm missing ability to easily override the jbutton class. Now i have to make layout overrides for all views in order to change to BS4 styling completely. Would be handy if there would be a toggle for this. In the likes of how RSForms!Pro does it where you can select what framework to use. (HTML5, BS3, BS4, UIKIT) for instance.

Or a setting to override the standard button class. Or maybe create layouts for your buttons instead of using only templates in your views. That would make it much easier to override.

Offline TLWebdesign

  • Newbie
  • *
  • Posts: 23
    • TLWebdesign
Re: Button class override for "jbutton"
« Reply #1 on: 07.08.2020 16:53:12 »
another option would be to give more placeholders for extra control. For instance an "{url_download}" version that only contains the url without any html markup. Then i could style this url in the layout editor of JDownloads. Same goes for icons. Now you heavily rely on images for all kinds of things. I haven't used images for years for these things. Instead i use FontAwesome to display icons. Would be nice if there is a way to override this too. At least add the filetype to the image div add a span around the image with the type as a class.

Offline ColinM

  • Moderator
  • *
  • Posts: 3.927
Re: Button class override for "jbutton"
« Reply #2 on: 09.08.2020 11:29:03 »
HiYes there are some old features in jD3.2. 

We are just about to release jD3.9.  It uses CSS for the buttons and makes some use of font awesomeThere is a Demo site at https://www.jdownloads.org/and a lot of new documentation at https://www.jdownloads.net/documentation-for-v3-9
Best wishesColin