Initial commit

This commit is contained in:
binaryatrocity committed 2014-05-14 00:03:13 -05:00
commit 845d5dd3ed
47 files changed
+25143

No files matched your search

@@ -0,0 +1,23 @@
{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_label, render_field %}
{% block title %}Change Password - packetcrypt{% endblock %}
{% block flash %}
{% for field in change_password_form.errors %}
{% for error in change_password_form.errors[field] %}
<div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
{% endfor %}
{% endfor %}
{% endblock %}
{% block content %}
<div id="form-container" class="uk-width-1-4 uk-panel uk-panel-box uk-container-center">
<form action="{{ url_for_security('change_password') }}" method="POST" name="change_password_form" class="uk-form">
{{ change_password_form.hidden_tag() }}
{{ render_field_with_label(change_password_form.password) }}
{{ render_field_with_label(change_password_form.new_password) }}
{{ render_field_with_label(change_password_form.new_password_confirm) }}
{{ render_field(change_password_form.submit) }}
</form>
</div>
{% endblock %}
@@ -0,0 +1,25 @@
{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_label, render_field %}
{% block title %}Forgot Password - packetcrypt{% endblock %}
{% block flash %}
{% for field in forgot_password_form.errors %}
{% for error in forgot_password_form.errors[field] %}
<div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
{% endfor %}
{% endfor %}
{% endblock %}
{% block content %}
<div id="form-container" class="uk-width-3-5 uk-panel uk-panel-box uk-container-center">
<form action="{{ url_for_security('forgot_password') }}" method="POST" name="forgot_password_form" class="uk-form">
{{ forgot_password_form.hidden_tag() }}
{{ render_field_with_label(forgot_password_form.email) }}
{{ render_field(forgot_password_form.submit, class="uk-button") }}
</form>
<div id="form-info" class="uk-align-right uk-text-info">
Enter the email-address associated with your account to the left.
Instructions on resetting your password will be emailed to you.
</div>
</div>
{% endblock %}
+31
View File
@@ -0,0 +1,31 @@
{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_label, render_field_with_label_oneline, render_field %}
{% block title %}Login - packetcrypt{% endblock %}
{% block flash %}
{% for field in login_user_form.errors %}
{% for error in login_user_form.errors[field] %}
<div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
{% endfor %}
{% endfor %}
{% endblock %}
{% block content %}
<div id="form-container" class="uk-width-3-5 uk-panel uk-panel-box uk-container-center">
<form action="{{ url_for_security('login') }}" method="POST" name="login_user_form" class="uk-form">
{{ login_user_form.hidden_tag() }}
{{ render_field_with_label(login_user_form.email) }}
{{ render_field_with_label(login_user_form.password) }}
{{ render_field_with_label_oneline(login_user_form.remember) }}
{{ render_field(login_user_form.next) }}
{{ render_field(login_user_form.submit, class="uk-button uk-button-primary") }}
</form>
<div id="form-info" class="uk-align-right uk-text-info">
Log in with your Packetcrypt email and password to access your dashboard, download the VPN client, and purchase extended service!
If you are unable to remember your password, please use the button below to reset it.
<a href="{{url_for_security('forgot_password')}}" class="uk-button">Forgot Password?</a>
</div>
</div>
{% endblock %}
+31
View File
@@ -0,0 +1,31 @@
{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_label, render_field %}
{% block title %}Register - packetcrypt{% endblock %}
{% block flash %}
{% for field in register_user_form.errors %}
{% for error in register_user_form.errors[field] %}
<div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
{% endfor %}
{% endfor %}
{% endblock %}
{% block content %}
<div id="form-container" class="uk-width-3-5 uk-panel uk-panel-box uk-container-center">
<form action="{{ url_for_security('register') }}" method="POST" name="register_user_form" class="uk-form" style="display:inline-block;">
{{ register_user_form.hidden_tag() }}
{{ render_field_with_label(register_user_form.email) }}
{{ render_field_with_label(register_user_form.password) }}
{% if register_user_form.password_confirm %}
{{ render_field_with_label(register_user_form.password_confirm) }}
{% endif %}
{{ render_field(register_user_form.submit, class='uk-button uk-button-primary') }}
</form>
<div id="form-info" class="uk-align-right uk-text-info">
All we need is an email address and a password to create an account, and you'll be clicks away from browsing securely.
After registering please check your inbox for a verification email.
<br/><p><a href="{{url_for_security('login')}}" class="uk-text-bold uk-text-muted">Click here to sign in to an existing account.</a></p>
</div>
</div>
{% endblock %}
@@ -0,0 +1,22 @@
{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_label, render_field %}
{% block title %}Reset Password - packetcrypt{% endblock %}
{% block flash %}
{% for field in reset_password_form.errors %}
{% for error in reset_password_form.errors[field] %}
<div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
{% endfor %}
{% endfor %}
{% endblock %}
{% block content %}
<div id="form-container" class="uk-width-1-4 uk-panel uk-panel-box uk-container-center">
<form action="{{ url_for_security('reset_password') }}" method="POST" name="reset_password_form" class="uk-form">
{{ reset_password_form.hidden_tag() }}
{{ render_field_with_label(reset_password_form.password) }}
{{ render_field_with_label(reset_password_form.password_confirm) }}
{{ render_field(reset_password_form.submit) }}
</form>
</div>
{% endblock %}