diff options
3 files changed, 130 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/new_security/_scripts.html b/wqflask/wqflask/templates/new_security/_scripts.html new file mode 100644 index 00000000..5a453dca --- /dev/null +++ b/wqflask/wqflask/templates/new_security/_scripts.html @@ -0,0 +1,3 @@ +<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> +<script language="javascript" type="text/javascript" src="/static/packages/colorbox/jquery.colorbox.js"></script>--> +<script type="text/javascript" src="/static/new/javascript/login.js"></script> diff --git a/wqflask/wqflask/templates/new_security/login_user.html b/wqflask/wqflask/templates/new_security/login_user.html new file mode 100644 index 00000000..360a6a68 --- /dev/null +++ b/wqflask/wqflask/templates/new_security/login_user.html @@ -0,0 +1,61 @@ +<div class="security_box"> + + <h4>* Don't have an account?</h4> + + <center> + <a href="/n/register" class="btn btn-info modalize">Create a new account</a> + </center> + + <hr /> + + <h4>Already have an account?</h4> + + <h5>Sign in here</h5> + + <form class="form-horizontal" action="/n/login_submit" + method="POST" name="login_user_form"> + <fieldset> + + + <div class="control-group"> + <label class="control-label" for="email">Email Address</label> + <div class="controls"> + <input id="email" class="focused" name="email" type="text" value=""> + </div> + </div> + + <div class="control-group"> + <label class="control-label" for="password">Password</label> + <div class="controls"> + <input id="password" name="password" type="password" value=""> + <br /> + <a href="{{ url_for_security('forgot_password') }}">Forgot your password?</a><br/> + </div> + </div> + + + <div class="control-group"> + <div class="controls"> + <label class="checkbox"> + <input id="remember" name="remember" type="checkbox" value="y"> Remember me + </label> + </div> + + + <div class="control-group"> + <div class="controls"> + <input id="next" name="next" type="hidden" value=""> + + <input class="btn btn-primary" id="submit" name="submit" type="submit" value="Sign in"> + </div> + + + </div> + </fieldset> + + </form> +</div> + + +{% include "new_security/_scripts.html" %} +<!--{% include "security/_menu.html" %}--> diff --git a/wqflask/wqflask/templates/new_security/register_user.html b/wqflask/wqflask/templates/new_security/register_user.html new file mode 100644 index 00000000..d66365f4 --- /dev/null +++ b/wqflask/wqflask/templates/new_security/register_user.html @@ -0,0 +1,66 @@ +<div class="security_box"> + <h4>* Already have an account?</h4> + + <center> + <a href="/n/login" + class="btn btn-info modalize">Sign in using existing account</a> + </center> + + <hr /> + + <h4>Don't have an account?</h4> + + <h5>Register here</h5> + + <form class="form-horizontal" action="/n/register_submit" + method="POST" name="login_user_form"> + <fieldset> + + + <div class="control-group"> + <label class="control-label" for="email">Email Address</label> + <div class="controls"> + <input id="email" name="email" class="focused" type="text" value=""> + </div> + </div> + + <div class="control-group"> + <label class="control-label" for="email">Name</label> + <div class="controls"> + <input id="name" name="name" type="text" value=""> + </div> + </div> + + <div class="control-group"> + <label class="control-label" for="email">Organization</label> + <div class="controls"> + <input id="organization" name="organization" type="text" value=""> + </div> + </div> + + <div class="control-group"> + <label class="control-label" for="password">Password</label> + <div class="controls"> + <input id="password" name="password" type="password" value=""> + </div> + </div> + + <div class="control-group"> + <label class="control-label" for="password_confirm">Confirm Password</label> + <div class="controls"> + <input id="password" name="password_confirm" type="password" value=""> + </div> + </div> + + <div class="control-group"> + <div class="controls""> + <input class="btn btn-primary" id="submit" name="submit" type="submit" value="Create account"> + </div> + </div> + + </fieldset> + + </form> +</div> +{% include "security/_scripts.html" %} +<!--{% include "security/_menu.html" %}--> |