<commit_before>@import play.api.data.Form
@import play.api.i18n.Messages
@import play.api.mvc.RequestHeader
@import controllers.AssetsFinder
@import helper._

@(signInForm: Form[app.controllers.AuthController.SignInFormData])(implicit request: RequestHeader, messages: Messages, assets: AssetsFinder)
@implicitField = @{ FieldConstructor(plainFieldConstructor.f) }
@main(messages("sign.in.title")) {
  <div class="mdl-grid">
    <div class="mdl-card mdl-shadow--1dp centering">
      <div class="mdl-card__supporting-text centering">
        <fieldset>
          <legend>
            <h5>@messages("sign.in.credentials")</h5>
          </legend>
            </br>
            @form(CSRF(app.controllers.routes.AuthController.signIn)) {
              <div class="mdl-textfield mdl-js-textfield">
                @inputText(
                  signInForm("uid"),
                  'class -> "mdl-textfield__input"
                )
                <label class="mdl-textfield__label">UserName</label>
              </div>
              <br/>
              <div class="mdl-textfield mdl-js-textfield">
                @inputPassword(
                  signInForm("password"),
                  'class -> "mdl-textfield__input"
                )
                <label class="mdl-textfield__label">Password</label>
              </div>
              <br/>
              <button class="mdl-button mdl-js-button mdl-button--primary">
                @messages("sign.in")
              </button>
            }
        </fieldset>
      </div>
    </div>
  </div>
}<commit_msg>Apply material-components-web to signin view<commit_after>@import play.api.data.Form
@import play.api.i18n.Messages
@import play.api.mvc.RequestHeader
@import controllers.AssetsFinder
@import helper._

@(signInForm: Form[app.controllers.AuthController.SignInFormData])(implicit request: RequestHeader, messages: Messages, assets: AssetsFinder)
@implicitField = @{ FieldConstructor(plainFieldConstructor.f) }
@main(messages("sign.in.title")) {
<div class="centering padding-50">
  <fieldset>
    <legend>
      <h5>@messages("sign.in.credentials")</h5>
    </legend>
      </br></br>
      @form(CSRF(app.controllers.routes.AuthController.signIn)) {
        <div class="mdc-textfield">
          @inputText(
            signInForm("uid"),
            'class -> "mdc-textfield__input",
            'placeholder -> "UserName"
          )
        </div>
        <br/>
        <label class="mdc-textfield">
          @inputPassword(
            signInForm("password"),
            'class -> "mdc-textfield__input",
            'placeholder -> "Password"
          )
        </label>
        <br/><br/>
        <button class="mdc-button">
          @messages("sign.in")
        </button>
      }
  </fieldset>
</div>
}
{'fraction_non_alphanumeric': 0.14424460431654676, 'fraction_numerical': 0.003956834532374101, 'mean_word_length': 2.1247191011235955, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1975619', 'n_tokens_mistral': 853, 'n_tokens_neox': 842, 'n_words': 128}