Created
November 27, 2014 14:49
-
-
Save SergioLarios/2dd78bb4413991f81c81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring3-3.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title th:text="${view.title}"/> | |
<link rel="stylesheet" type="text/css" th:href="@{/js/aui/aui-css/css/bootstrap.min.css}"/> | |
<link rel="stylesheet" type="text/css" th:href="@{/css/main.css}"/> | |
</head> | |
<body class="bg-login"> | |
<div class="container" th:with=" | |
formUrl=${T(com.hibu.chile.constant.Mappings).LOGIN}, | |
fUser=${T(com.hibu.chile.form.LoginForm).USER}, | |
fPssw=${T(com.hibu.chile.form.LoginForm).PSSW}, | |
"> | |
<form class="form-signin" th:with="form=${view.form}" id="loginForm" method="post" accept-charset="UTF-8" | |
th:action="@{${formUrl}}" > | |
<!--/* Check msgs */--> | |
<div class="home" th:include="include/su-msgs :: show"/> | |
<!--/* Header */--> | |
<h2 class="form-signin-heading" th:text="#{login.head}" /> | |
<!--/* User */--> | |
<input type="text" class="input-block-level" th:placeholder="#{login.user}" | |
th:id="${fUser}" th:name="${fUser}" th:value="${form.user}" /> | |
<!--/* Password */--> | |
<input type="password" class="input-block-level" th:placeholder="#{login.pssw}" | |
th:id="${fPssw}" th:name="${fPssw}" th:value="${form.pssw}" /> | |
<!--/* Submit */--> | |
<button class="btn btn-large btn-primary right" th:text="#{login.login}" type="submit" /> | |
<div class="clear" /> | |
</form> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment