Project

General

Profile

Hangman login example

Added by Brane D over 9 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.

login.PNG (29.2 KB) login.PNG

Replies (2)

RE: Hangman login example - Added by Brane D over 9 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 over 9 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

    (1-2/2)