Initial commit
This commit is contained in:
commit
f4bfb0e367
71 changed files with 10399 additions and 0 deletions
26
Dam/Components/Templates/Login.tmpl.html
Normal file
26
Dam/Components/Templates/Login.tmpl.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<h1 class="login-heading"><TMPL_VAR APP_NAME></h1>
|
||||
|
||||
<form name="login" method="post" class="form-login" onsubmit="
|
||||
document.login.pass.value=encrypt(document.login.hide.value,document.login.key.value);
|
||||
document.login.hide.value=document.login.pass.value.substr(0,document.login.hide.value.length);
|
||||
">
|
||||
|
||||
<input type="hidden" name="rm" value="APP_confirm" />
|
||||
<input type="hidden" name="key" value="<TMPL_VAR KEY>" />
|
||||
<input type="hidden" name="pass" value="" />
|
||||
|
||||
<label for="user" class="sr-only"> <TMPL_VAR T_USERNAME> </label>
|
||||
<input type="text" class="form-control" name="user" placeholder="<TMPL_VAR T_USERNAME>" maxlength="20" value="<TMPL_VAR LOGIN>" required autofocus />
|
||||
<label for="pass" class="sr-only"> <TMPL_VAR T_PASSWORD> </label>
|
||||
<input type="password" class="form-control" name="hide" placeholder="<TMPL_VAR T_PASSWORD>" maxlength="20" required />
|
||||
<button type="submit" class="btn btn-lg btn-primary btn-block"> <TMPL_VAR T_LOGIN> </button>
|
||||
|
||||
<TMPL_IF ERROR>
|
||||
<br /><br /><div class="alert alert-danger" role="alert">
|
||||
<h4> <TMPL_VAR ERROR_TITLE> </h4>
|
||||
<p> <TMPL_VAR ERROR_MESSAGE> (Error <TMPL_VAR ERROR>). </p>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
</form>
|
||||
|
||||
<TMPL_VAR CRYPT_TEA>
|
Reference in a new issue