<% var usernameValue = inputs.form ? inputs.form.username||inputs.form.email : ''; var passwordValue = inputs.form ? inputs.form.password : ''; // Status Messages var statusDictionary = {}; statusDictionary['unverified'] = 'Before you can log into your account, you need to confirm your account by clicking the link we sent to your email address.
Be sure to check your spam folder and whitelist no-reply@machi.na.'; statusDictionary['verified'] = 'You have successfully confirmed your email address. If you wish to login, you can do so below.'; statusDictionary['reset'] = 'Password is reset, You can now login with your new password.'; statusDictionary['forgot'] = 'Password Reset Requested.
If an account exists for the email provided, you will receive an email shortly.'; // Set the Current Status Information var status_text=statusDictionary[inputs.status]||''; if(inputs.feedback){ if(status_text)status_text+='
'; status_text+= inputs.feedback; } var error_text=inputs.error||''; %> Equeum.com- <%=inputs.title%> <%if(inputs.iframe){%> <%}%>
<%if(inputs.pathname=='/login'){%>
Sign In
<% if(status_text){%>
<%- status_text %>
<%}%> <% if(error_text){%>
<%- error_text %>
<%}%>
<% if(inputs.twoFactorRequired) {%>
Code
<%}%>
Don't have an account! Sign Up Here
<%}%> <%if(inputs.pathname=='/forgotPassword'){%>
Forgot password
Sign In
<% if(status_text){%>
<%- status_text %>
<%}%> <% if(error_text){%>
<%- error_text %>
<%}%>
Enter your email address below to reset your password.
<%}%> <%if(inputs.pathname=='/resetPassword'){%>
Forgot password
Sign In
<% if(status_text){%>
<%- status_text %>
<%}%> <% if(error_text){%>
<%- error_text %>
<%}%>
<%}%> <%if(inputs.pathname=='/2factor'){%>
2Factor Setup
Home
<% if(status_text){%>
<%- status_text %>
<%}%> <% if(error_text){%>
<%- error_text %>
<%}%>
<% if(inputs.enabled){%>
Two factor authentication is enabled. Please enter your Confirmation Code below to deactivate it:
<% }else {%>
To enable two factor authentication please scan the image using your authenticator application or use the code below the image

<%}%>
<%}%> <%if(inputs.pathname=='/register'){%>
Sign Up
Sign In
<% if(status_text){%>
<%- status_text %>
<%}%> <% if(error_text){%>
<%- error_text %>
<%}%> <% for ( field of inputs.fields ) { var value = inputs.form ? inputs.form[field.name] : ''; %>
type="<%= field.type %>">
<% } %>
<%}%> <%if(inputs.pathname=='/profile'){%>
Profile
Home
<% if(status_text){%>
<%- status_text %>
<%}%> <% if(error_text){%>
<%- error_text %>
<%}%> <% for ( field of inputs.fields ) { var value = inputs.profile[field.name]; var readonly=inputs.readonly||field.readonly; if(readonly&&field.showInPublicProfile==false)continue; %>
<% if(field.customControl){%> <%-field.customControl(value,readonly,inputs) %> <% }else{ %> <%= field.required?'required':'' %> <%= readonly?'readonly disabled':'' %> type="<%= field.type %>"/> <%}%>
<% } %> <% if(!inputs.readonly){ %>
<% } %>
<%}%> <%if(inputs.pathname=='/unauthorized'){%>
Unauthorized
Home
<% if(status_text){%>
<%- status_text %>
<%}%> <% if(error_text){%>
<%- error_text %>
<%}%>
You are not authorized to view this page.
<%}%> <%if(inputs.pathname=='/logout'){%>

Logging out of your account...

<%}%>