Newer
Older
gitbucket_jkp / src / main / twirl / gitbucket / core / signin.scala.html
@Naoki Takezoe Naoki Takezoe on 28 Mar 2022 891 bytes Reset password email by users themselves (#3023)
@(userName: Option[Any] = None,
  password: Option[Any] = None,
  error: Option[Any] = None)(implicit context: gitbucket.core.controller.Context)
@gitbucket.core.html.main("Sign in"){
  <div class="content-wrapper main-center">
    <div class="content body">
      <div class="signin-form">
        @if(context.settings.basicBehavior.allowAnonymousAccess){
          @context.settings.information.map { information =>
            <div class="alert alert-info" style="background-color: white; color: #555; border-color: #4183c4; font-size: small; line-height: 120%;">
              <button type="button" class="close" data-dismiss="alert">&times;</button>
              @Html(information)
            </div>
          }
        }
        @gitbucket.core.helper.html.error(error)
        @gitbucket.core.html.signinform(context.settings, userName, password)
      </div>
    </div>
  </div>
}