39 Wt::Signal<std::string, std::string>& login_attempted() {
40 return login_attempted_;
43 void set_status(
const std::string& message,
bool is_error);
44 void enable_form(
bool enabled);
47 void on_login_clicked();
49 Wt::WLineEdit* username_edit_;
50 Wt::WPasswordEdit* password_edit_;
51 Wt::WPushButton* login_button_;
52 Wt::WText* status_text_;
54 Wt::Signal<std::string, std::string> login_attempted_;