Hangman login example
Added by Brane D about 11 years ago
Hi,
i would like to know, how the login page is generated. Where is the source code? Especially where were the widget setted (User name field and Password field)?
(see screenshot).
Thanks.
Replies (2)
RE: Hangman login example - Added by Brane D about 11 years ago
Ok got it. I've read the authetification tutorial. Is there a way to implement my own style, especially the widgets positions etc.
RE: Hangman login example - Added by Koen Deforche about 11 years ago
You can either replace the widget in its entirety (reusing only the AuthModel), or you can change the template text used.
The template text is found in wt/src/xml/auth_css_theme.xml or can be retrieved in a Wt application using:
std::cerr << Wt::WString::tr("Wt.Auth.template.login")
Regards,
koen