Skip to content

Commit

Permalink
gs-quiz : decomm
Browse files Browse the repository at this point in the history
  • Loading branch information
JCKaing committed Mar 7, 2017
1 parent cfffcff commit 31b0387
Showing 1 changed file with 0 additions and 9 deletions.
Expand Up @@ -44,20 +44,16 @@
public class QuizLogin extends HtmlDiv {

@Switch(TagSwitcher.NO_LOGGED_USER.class)
//
@Children({ InputTextLogin.class, InputTextPassword.class, QuizChoiceOptions.class })
//
@StyleClass("loginQ")
@StyleClass(path = { HtmlDiv.class, HtmlInputText.class }, value = { "inputTextQ", "vertical-align" })
@Style(path = HtmlDiv.class, name = "margin-top", value = "10px")
@Style(path = QuizChoiceOptions.class, name = "margin-bottom", value = "10px")
public static class QuizLoginDiv extends QuizLogin {

@Children({ HtmlLabel.class, HtmlInputText.class, HtmlSpan.class })
//
@SetText(path = HtmlLabel.class, value = "Login: ")
@SetText(path = HtmlSpan.class, value = "Invalid username.")
//
@Style(path = HtmlSpan.class, name = "display", value = "none")
@StyleClass(path = HtmlLabel.class, value = { "margin-lr-10", "vertical-align" })
@StyleClass(path = HtmlSpan.class, value = { "margin-lr-10", "vertical-align" })
Expand All @@ -67,17 +63,14 @@ public static class InputTextLogin extends HtmlDiv {

@SetText(path = HtmlLabel.class, value = "Password: ")
@SetText(path = HtmlSpan.class, value = "Invalid password.")
//
@Attribute(path = HtmlInputText.class, name = "type", value = "password")
public static class InputTextPassword extends InputTextLogin {

}

@Children({ QuizValidateButton.class, ModalWithDisplay.class, HtmlHyperLink.class })
@Children(path = { ModalWithDisplay.class, FlexDiv.class }, value = QuizUserCreation.class)
//
@SetText(path = HtmlHyperLink.class, value = "Sign up")
//
@StyleClass("vertical-align")
@Style(name = "justify-content", value = "space-between")
@Style(name = "padding-right", value = "1em")
Expand All @@ -86,12 +79,10 @@ public static class InputTextPassword extends InputTextLogin {
@StyleClass(path = QuizValidateButton.class, value = { "choiceResponsive", "monitorButton", "white" })
@Style(path = QuizValidateButton.class, name = "text-align", value = "center")
@Style(path = QuizValidateButton.class, name = "background-color", value = "green")
//
@BindAction(path = HtmlHyperLink.class, value = QUIZ_MODAL_DISPLAY_FLEX.class)
public static class QuizChoiceOptions extends FlexRow {

@SetText("<strong>OK</strong>")
//
@Style(name = "text-align", value = "center")
public static class QuizValidateButton extends HtmlButton implements PasswordDefaults {
@Override
Expand Down

0 comments on commit 31b0387

Please sign in to comment.