HGustavs / LenaSYS

Code Viewer and Course Organization System used in some courses at University of Skövde
57 stars 31 forks source link

Add ID functionality to loadingButton.js and switch out buttons #15923

Open a22maxra opened 5 months ago

a22maxra commented 5 months ago

Add ID functionality to loadingButton.js so that when creating buttons you can give them an unique ID as one of the parameters here: image

And switch out buttons so it uses the loadingButton.

a22maxra commented 5 months ago

image For some reason this weekly branch makes the homepage courseed.php not load for me i have been troubleshooting for a long time i don't know why but i can still enter a sectioned.php page so i'll just do the issue and let someone test the buttons on the courseed.php later.

a22maxra commented 5 months ago

There is now a loading button for editing a selected course version image

And you can give a button an ID image

a22maxra commented 5 months ago

Buttons now fade out when they are disabled as such image

a22maxra commented 5 months ago

Updated the WIKI to include buttonId