first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
|
||||
<% if(it.layout_clean_mode) {%>
|
||||
<% layout("../layouts/member/Clean", {get_page_name:() => "Dashboard"}) %>
|
||||
<% } else {%>
|
||||
<% layout("../layouts/member/Main",{get_page_name:() => "Dashboard"}) %>
|
||||
<%}%>
|
||||
|
||||
|
||||
<div class="tab-content mx-4 my-4" id="nav-tabContent">
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
<% layout("../layouts/member/Clean") %>
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3 col-sm-1 col-xs-1"></div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-10 col-xs-10 p-5 auth-wrap">
|
||||
<div class='text-center'>
|
||||
<h1>Forgot Password</h1>
|
||||
</div>
|
||||
<div class="form-container form-container-auth">
|
||||
<%~ includeFile("../partials/admin/GlobalResponse.eta", it) %>
|
||||
<form action="/member/forgot" method="POST">
|
||||
<div class="form-group required">
|
||||
<label class='control-label' for="Email">Email</label>
|
||||
<input type="email" required name="email" class="form-control site-input" placeholder="Email address" required="true" autofocus="true">
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.email){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.email %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="submit" name='btn-login' class="btn btn-accent-light btn-block btn-primary" value="Reset Password">
|
||||
</div>
|
||||
</form>
|
||||
<div class="form-group mt-3 d-flex justify-content-center">
|
||||
<a href="/member/login" id="mkd-forgot-password-link">Back to Login</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-3 col-sm-1 col-xs-1"></div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,88 @@
|
||||
|
||||
<% layout("../layouts/member/Clean") %>
|
||||
|
||||
|
||||
<section>
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3 col-sm-1 col-xs-1"></div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-10 col-xs-10 p-5 auth-wrap">
|
||||
<div class='text-center'>
|
||||
<h1>Login</h1>
|
||||
</div>
|
||||
<div class="form-container form-container-auth">
|
||||
<%~ includeFile("../partials/admin/GlobalResponse.eta", it) %>
|
||||
<form action="/member/login" method="POST">
|
||||
<div class="form-group required">
|
||||
<label class='control-label' for="email">Email</label>
|
||||
<input type="email" required class="form-control site-input" id="email" name="email" required="true" value="<%= it.login_fields.email%>" />
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.email){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.email %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="form-group required text-container">
|
||||
<label class='control-label' for="password">Password</label>
|
||||
<input type="password" required class="form-control site-input" id="password" name="password" required="true" >
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.password){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.password %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="form-group mt-3 d-flex justify-content-start">
|
||||
<a href="/member/forgot" id="mkd-forgot-password-link">Forgot Password ?</a>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary btn-block">Submit</button>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="remember_me" name="remember_me" >
|
||||
<label class="form-check-label" for="remember_me">
|
||||
Remember me
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<span> OR </span>
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-3 ">
|
||||
<a href="<%= it.google_auth_url%>" class="btn btn-accent-light-outline btn-sign-up google-button" >
|
||||
<i class="fab fa-google" aria-hidden="true"></i>
|
||||
Login with Google</a>
|
||||
</div>
|
||||
<div class="form-group mt-3">
|
||||
<a href="<%= it.facebook_auth_url%>" class="btn btn-accent-light-outline btn-sign-up facebook-button" >
|
||||
<i class="fab fa-facebook" aria-hidden="true"></i>
|
||||
Login with Facebook</a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="text-center ">
|
||||
<span>Don't have an account yet?
|
||||
<a href="/member/register">Register</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class='text-center'>
|
||||
<p>Copyright © 2021 Manaknightdigital Inc. All rights reserved.</p>
|
||||
|
||||
<p>Powered By <a href="https://manaknightdigital.com" target="__blank">Manaknightdigital Inc.</a></p>
|
||||
</div>
|
||||
@@ -0,0 +1,82 @@
|
||||
<% if(it.layout_clean_mode) {%>
|
||||
<% layout("../layouts/member/Clean") %>
|
||||
<% } else {%>
|
||||
<% layout("../layouts/member/Main") %>
|
||||
<%}%>
|
||||
|
||||
<%~ includeFile("../partials/member/Breadcrumb", it)%>
|
||||
|
||||
<div class="tab-content mx-4 my-4">
|
||||
<div class="row">
|
||||
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
|
||||
<%~ includeFile("../partials/member/GlobalResponse.eta", it) %>
|
||||
<div class="form-container card p-4">
|
||||
<h5 class="primaryHeading2 mb-4 text-md-left pl-3">
|
||||
Profile
|
||||
</h5>
|
||||
<form action="/member/profile" method="POST">
|
||||
|
||||
|
||||
<div class="form-group col-md-5 col-sm-12 ">
|
||||
<label for="first_name" class="control-label">First Name</label>
|
||||
|
||||
|
||||
<input type="text" class="form-control data-input" id="text_first_name" name="first_name" value="<%= it.form_fields['first_name'] %>" />
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-5 col-sm-12 ">
|
||||
<label for="last_name" class="control-label">Last Name</label>
|
||||
|
||||
|
||||
<input type="text" class="form-control data-input" id="text_last_name" name="last_name" value="<%= it.form_fields['last_name'] %>" />
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group required col-md-5 col-sm-12 ">
|
||||
<label for="email" class="control-label">Email</label>
|
||||
|
||||
|
||||
<input type="text" required class="form-control data-input" id="text_email" name="credential_email" value="<%= it.form_fields['credential.email'] %>" />
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-5 col-sm-12 ">
|
||||
<label for="password" class="control-label">Password</label>
|
||||
|
||||
|
||||
<input id="password_password" name="credential_password" class="form-control" type="password" autocomplete="new-password">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-5 col-sm-12 ">
|
||||
<label for="status" class="control-label">Status</label>
|
||||
|
||||
|
||||
<small class="text-muted">Can select one</small>
|
||||
<select class="selectpicker custom-picker d-block w-100" data-style="btn-light" data-live-search="true" id="select_mapping_status" name="status">
|
||||
<% Object.keys(it.status_mapping()).forEach(function(prop) { %>
|
||||
<% const same = it.form_fields["status"] == prop ? 'selected' : false %>
|
||||
<option class="select_mapping_status_option<%= same ? '_' + same : '' %>" value="<%= prop %>" <%= same %>>
|
||||
<%= it.status_mapping()[prop] %>
|
||||
</option>
|
||||
<% }) %>
|
||||
</select>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group pl-3">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,107 @@
|
||||
|
||||
<% layout("../layouts/member/Clean") %>
|
||||
|
||||
|
||||
<section>
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3 col-sm-1 col-xs-1"></div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-10 col-xs-10 p-5 auth-wrap">
|
||||
<div class='text-center'>
|
||||
<h1>Register</h1>
|
||||
</div>
|
||||
<div class="form-container form-container-auth ">
|
||||
<%~ includeFile("../partials/admin/GlobalResponse.eta", it) %>
|
||||
<form action="/member/register" method="POST">
|
||||
<div class="form-group required">
|
||||
<label class='control-label' for="first name">First Name</label>
|
||||
<input type="text" required class="form-control site-input" name="first_name" required="true" autofocus="true" value="<%= it.register_fields.first_name%>">
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.first_name){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.first_name %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class='control-label' for="last name">Last Name</label>
|
||||
<input type="text" required class="form-control site-input" name="last_name" required="true" value="<%= it.register_fields.last_name%>">
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.last_name){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.last_name %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class='control-label' for="email address">Email address</label>
|
||||
<input type="email" required class="form-control site-input" name="email" required="true" value="<%= it.register_fields.email%>">
|
||||
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.email){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.email %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class='control-label' for="password">Password</label>
|
||||
<input type="password" required class="form-control site-input" name="password" required="true">
|
||||
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.password){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.password %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class='control-label' for="password">Repeat Password</label>
|
||||
<input type="password" required class="form-control site-input" name="confirm_password" required="true">
|
||||
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.confirm_password){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.confirm_password %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-block">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<span> OR </span>
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-3">
|
||||
<a href="<%= it.google_auth_url%>" class="btn btn-accent-light-outline btn-sign-up google-button" >
|
||||
<i class="fab fa-google" aria-hidden="true"></i>
|
||||
Login with Google</a>
|
||||
</div>
|
||||
<div class="form-group mt-3">
|
||||
<a href="<%= it.facebook_auth_url%>" class="btn btn-accent-light-outline btn-sign-up facebook-button" >
|
||||
<i class="fab fa-facebook" aria-hidden="true"></i>
|
||||
Login with Facebook</a>
|
||||
</div>
|
||||
|
||||
<div class="text-center mt-4">
|
||||
<span>Already have an account?
|
||||
<a href="/member/login">Login</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-3 col-sm-1 col-xs-1"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class='text-center'>
|
||||
<p>Copyright © 2021 Manaknightdigital Inc. All rights reserved.</p>
|
||||
|
||||
<p>Powered By <a href="https://manaknightdigital.com" target="__blank">Manaknightdigital Inc.</a></p>
|
||||
</div>
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
<% layout("../layouts/member/Clean") %>
|
||||
|
||||
|
||||
<section>
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3 col-sm-1 col-xs-1"></div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-10 col-xs-10 p-5 auth-wrap">
|
||||
<div class='text-center'>
|
||||
<h1>Reset Password</h1>
|
||||
</div>
|
||||
<div class="form-container form-container-auth">
|
||||
<%~ includeFile("../partials/admin/GlobalResponse.eta", it) %>
|
||||
<form action="/member/reset/<%= it.resetToken%>" method='POST'>
|
||||
<div class="form-group required">
|
||||
<label class='required' for="reset-password">Password</label>
|
||||
<input name="password" required type="password" class="form-control site-input" required="true" id="reset-password">
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.password){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.password %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="form-group required text-container">
|
||||
<label class='control-label' for="confirm-password">Confirm Password</label>
|
||||
<input name="confirm_password" required type="password" class="form-control site-input" required="true" id="confirm-password">
|
||||
<% if(it.validationError){ %>
|
||||
<% if(it.validationError.confirm_password){ %>
|
||||
<div class="alert alert-danger my-4" role="alert">
|
||||
<%= it.validationError.confirm_password %>
|
||||
</div>
|
||||
<%}%>
|
||||
<%}%>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="submit" name='btn-login' class="btn btn-accent-light btn-block btn-primary" value="Reset">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="form-group mt-3 d-flex justify-content-center">
|
||||
<a href="/member/login" id="mkd-forgot-password-link">Back to Login</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-3 col-sm-1 col-xs-1"></div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user