|
|
Re: Adding a button to login screen [message #1856390 is a reply to message #1856384] |
Thu, 08 December 2022 10:19 |
|
The login page is also a Scout app, just a very simple one. Here are a few pointer that will hopefully help you to customize the login screen:
- In the generated Scout project, you will find a file called login.html. This is the page that is shown to the user when they need to log in.
- The html page is mostly empty, since the content is created dynamically by Scout. You only need to change it if you want to add static content around the login box, e.g. a background image.
- The application is started by login.js. You'll see that it simply creates a new LoginApp and initalizes it. You could replace the entire app with your own, but this is probably not necessary.
- What you probably want to replace is the LoginBox widget. This can be done as usual via the Object Factory. The default implementation creates two input fields and a button, but you can change this.
Regards,
Beat
|
|
|
Powered by
FUDForum. Page generated in 0.02998 seconds