generated from jric11/baseProject
Codex's updates...
This commit is contained in:
+2
-2
@@ -41,8 +41,8 @@
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-4 mb-3">
|
||||
<label class="form-label" for="user_client_name">Client Name</label>
|
||||
<input type="text" class="form-control form-control-sm" name="user_client_name" id="user_client_name" maxlength="100" autocomplete="off"/>
|
||||
<label class="form-label" for="user_first_name">First Name</label>
|
||||
<input type="text" class="form-control form-control-sm" name="user_first_name" id="user_first_name" maxlength="100" autocomplete="off"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
+27
-21
@@ -5,63 +5,69 @@
|
||||
|
||||
<!-- Parameters -->
|
||||
|
||||
<xsl:param name="CSRF_TOKEN"/><xsl:param name="PASSWORD_ERROR"/>
|
||||
<xsl:param name="VERSION">1.0</xsl:param>
|
||||
<xsl:param name="PAGE-TITLE">Change Password</xsl:param>
|
||||
<xsl:param name="PAGE-NAME">changePassword</xsl:param>
|
||||
|
||||
<xsl:template match="/">
|
||||
|
||||
<script src="js/{$PAGE-NAME}.js?version={$VERSION}"/>
|
||||
|
||||
|
||||
|
||||
<div class="{$PAGE-NAME}">
|
||||
|
||||
|
||||
<div class="card">
|
||||
|
||||
|
||||
<div class="card-header bg-primary text-white p-1 ps-3">
|
||||
<i class="bi bi-lock me-2"/>
|
||||
<xsl:value-of select="$PAGE-TITLE"/>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
<form action="" name="{$PAGE-NAME}" method="post" id="{$PAGE-NAME}">
|
||||
|
||||
<xsl:if test="$PASSWORD_ERROR != ''"><p class="alert alert-danger" role="alert"><xsl:value-of select="$PASSWORD_ERROR"/></p></xsl:if>
|
||||
<form action="main.php" name="{$PAGE-NAME}" method="post" id="{$PAGE-NAME}">
|
||||
|
||||
<input type="hidden" name="action" value="Users.changePassword"/>
|
||||
<input type="hidden" name="step" value="change"/>
|
||||
|
||||
<input type="hidden" name="step" value="change"/>
|
||||
<input type="hidden" name="csrf_token" value="{$CSRF_TOKEN}"/>
|
||||
<label for="user_current_password" class="form-label">Current password</label>
|
||||
<input type="password" class="form-control mb-3" name="user_current_password" id="user_current_password" autocomplete="current-password" required="required"/>
|
||||
<p>Use a new password between 12 and 72 bytes long.</p>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-3 mb-3">
|
||||
<label class="form-label" for="user_new_password">New Password</label>
|
||||
<input type="password" class="form-control form-control-sm autosave" name="user_new_password" id="user_new_password" maxlength="128" autocomplete="off" autofocus="autofocus"/>
|
||||
<input type="password" class="form-control form-control-sm" name="user_new_password" id="user_new_password" maxlength="128" autocomplete="new-password" required="required" autofocus="autofocus"/>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-3 mb-3">
|
||||
<label class="form-label" for="user_verify_password">Verify Password</label>
|
||||
<input type="password" class="form-control form-control-sm autosave" name="user_verify_password" id="user_verify_password" maxlength="128" autocomplete="off" autofocus="autofocus"/>
|
||||
<input type="password" class="form-control form-control-sm" name="user_verify_password" id="user_verify_password" maxlength="128" autocomplete="new-password" required="required" autofocus="autofocus"/>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<div class="buttons mt-1 mb-2">
|
||||
<button type="button" class="btn btn-sm btn-primary me-2 btnSave">
|
||||
<button type="submit" form="changePassword" class="btn btn-sm btn-primary me-2">
|
||||
<i class="bi bi-save me-2"/>Save</button>
|
||||
<button type="button" class="btn btn-sm btn-primary me-2 btnCancel">
|
||||
<button type="button" class="btn btn-sm btn-primary me-2" onclick="window.location.href='main.php'">
|
||||
<i class="bi bi-box-arrow-left me-2"/>Cancel</button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
+64
-62
@@ -1,5 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:param name="CSRF_TOKEN"/>
|
||||
<xsl:output method="html" encoding="utf-8" indent="yes"/>
|
||||
|
||||
<!-- Parameters -->
|
||||
@@ -14,11 +15,12 @@
|
||||
<xsl:template match="/">
|
||||
|
||||
<xsl:text disable-output-escaping="yes"><!DOCTYPE html></xsl:text>
|
||||
|
||||
|
||||
<html lang="en" data-bs-theme="{$THEME}">
|
||||
|
||||
|
||||
<head>
|
||||
|
||||
<meta name="csrf-token" content="{$CSRF_TOKEN}"/>
|
||||
|
||||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
@@ -26,30 +28,30 @@
|
||||
<title>
|
||||
<xsl:value-of select="$APPLICATION_NAME"/>
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="images/baseproject-logo.png"/>
|
||||
|
||||
|
||||
<link href="css/themes/MyHuntingClubRoster/bootstrap.css?version={$VERSION}" rel="stylesheet" media="screen"/>
|
||||
<link href="css/bootstrap-icons.min.css?version={$VERSION}" rel="stylesheet" media="screen"/>
|
||||
<link href="css/base.css?version={$VERSION}" rel="stylesheet" media="screen"/>
|
||||
<link href="css/bootstrap-datepicker.min.css?version={$VERSION}" rel="stylesheet" media="screen"/>
|
||||
<link href="css/bootstrap-select.min.css?version={$VERSION}" rel="stylesheet" media="screen"/>
|
||||
<link href="css/themes/MyHuntingClubRoster/huntroster-theme.css?version={$VERSION}" rel="stylesheet"/>
|
||||
|
||||
<script src="js/jquery-3.2.0.min.js?version={$VERSION}"/>
|
||||
<script src="js/bootstrap.bundle.min.js?version={$VERSION}"/>
|
||||
<script src="js/base.js?version={$VERSION}"/>
|
||||
<script src="js/content.js?version={$VERSION}"/>
|
||||
<script src="js/bootstrap-datepicker.min.js?version={$VERSION}"/>
|
||||
<script src="js/jquery.inputmask.min.js?version={$VERSION}"/>
|
||||
<script src="js/bootstrap-select.min.js?version={$VERSION}"/>
|
||||
|
||||
<script src="js/jquery-3.2.0.min.js?version={$VERSION}"/>
|
||||
<script src="js/bootstrap.bundle.min.js?version={$VERSION}"/>
|
||||
<script src="js/base.js?version={$VERSION}"/>
|
||||
<script src="js/content.js?version={$VERSION}"/>
|
||||
<script src="js/bootstrap-datepicker.min.js?version={$VERSION}"/>
|
||||
<script src="js/jquery.inputmask.min.js?version={$VERSION}"/>
|
||||
<script src="js/bootstrap-select.min.js?version={$VERSION}"/>
|
||||
<script src="js/dinero.min.js?version={$VERSION}"/>
|
||||
<!--<script src="js/autologout.js?version={$VERSION}"/>-->
|
||||
|
||||
</head>
|
||||
|
||||
<body class="hr-app">
|
||||
|
||||
|
||||
<a href="#main-content" class="hr-skip btn btn-primary">Skip to content</a>
|
||||
<script type="text/javascript">
|
||||
var msie = /msie\s|trident/i.test(window.navigator.userAgent);
|
||||
@@ -78,15 +80,15 @@
|
||||
PAYMENTS
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<!-- MANAGE/REPORTS/SETUP is only available to Administrators -->
|
||||
|
||||
|
||||
<xsl:if test="$USER_ROLE = 'Administrator' or $USER_ROLE = 'System Administrator'">
|
||||
|
||||
|
||||
<!-- <li class="nav-link disabled">
|
||||
<xsl:text> | </xsl:text>
|
||||
</li>-->
|
||||
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
|
||||
<a href="javascript:void(0);" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
@@ -95,18 +97,18 @@
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu mt-2 pt-0 pb-0">
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 manage-business-facts" href="javascript:void(0);">
|
||||
<i class="bi bi-briefcase me-2"/>Business Facts</a>
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 manage-permit-facts" href="javascript:void(0);">
|
||||
<i class="bi bi-hammer me-2"/>Permits Facts</a>
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 manage-planningzoning-facts" href="javascript:void(0);">
|
||||
<i class="bi bi-rulers me-2"/>Planning/Zoning Facts</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="nav-link disabled">
|
||||
@@ -118,8 +120,8 @@
|
||||
<i class="bi bi-printer me-1" aria-hidden="true"/>
|
||||
REPORTS
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</li>
|
||||
|
||||
<!-- <li class="nav-link disabled">
|
||||
<xsl:text> | </xsl:text>
|
||||
</li>
|
||||
@@ -130,9 +132,9 @@
|
||||
DEV STUB
|
||||
</a>
|
||||
</li>-->
|
||||
|
||||
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<li class="nav-link disabled">
|
||||
<xsl:text> | </xsl:text>
|
||||
</li>
|
||||
@@ -143,10 +145,10 @@
|
||||
SUPPORT
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="hr-sidebar-foot">MyHuntRoster · Club management</div>
|
||||
<div class="hr-sidebar-foot">MyHuntRoster · Club management</div>
|
||||
</div>
|
||||
</aside><!-- Content Area -->
|
||||
|
||||
@@ -166,26 +168,26 @@
|
||||
<span class="username me-1">
|
||||
<span>
|
||||
<i class="bi bi-person-circle me-2" aria-hidden="true"/>
|
||||
</span>
|
||||
</span>
|
||||
<xsl:value-of select="$USER_FULL_NAME"/>
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-end mt-2 pt-0 pb-0">
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-end mt-2 pt-0 pb-0">
|
||||
|
||||
<!-- <a class="dropdown-item ps-2 my-account" href="javascript:void(0);">
|
||||
<i class="bi bi-person me-2"/>My Account</a>-->
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 toggle-theme" href="javascript:void(0);">
|
||||
<i class="bi bi-moon me-2"/>Toggle Dark/Light</a>
|
||||
|
||||
|
||||
<xsl:if test="$USER_ROLE = 'Administrator' or $USER_ROLE = 'System Administrator'">
|
||||
|
||||
|
||||
<div class="dropdown-divider mt-1 mb-1"/>
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 setup-alerts" href="javascript:void(0);">
|
||||
<i class="bi bi-info-circle me-2"/>Alerts</a>
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 setup-dropdowntypes" href="javascript:void(0);">
|
||||
<i class="bi bi-caret-down-square me-2"/>Dropdown Types
|
||||
</a>
|
||||
@@ -212,26 +214,26 @@
|
||||
-->
|
||||
|
||||
<div class="dropdown-divider mt-1 mb-1"/>
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 setup-users" href="javascript:void(0);">
|
||||
<i class="bi bi-person-circle me-2"/>Users
|
||||
</a>
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 view-journal" href="javascript:void(0);">
|
||||
<i class="bi bi-journal me-2"/>Journal
|
||||
</a>
|
||||
|
||||
|
||||
<!-- <a class="dropdown-item ps-2 view-support-tickets" href="javascript:void(0);">
|
||||
<i class="bi bi-question-circle me-2"/>Support Tickets
|
||||
</a>-->
|
||||
|
||||
|
||||
<div class="dropdown-divider mt-1 mb-1"/>
|
||||
|
||||
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<a class="dropdown-item ps-2 sign-out" href="javascript:void(0);">
|
||||
<i class="bi bi-box-arrow-left me-2"/>Sign Out</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -240,25 +242,25 @@
|
||||
|
||||
</header>
|
||||
<main class="container-xxl content" id="main-content" tabindex="-1">
|
||||
|
||||
|
||||
$$$-CONTENT-$$$
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
<footer id="footer">
|
||||
<footer id="footer">
|
||||
|
||||
<div class="col text-center mt-3 lh-1">
|
||||
<div class="m-0 p-0">
|
||||
<small class="text-muted pb-4">Copyright © <span>
|
||||
<div class="m-0 p-0">
|
||||
<small class="text-muted pb-4">Copyright © <span>
|
||||
<xsl:value-of select="$COPYRIGHT"/>
|
||||
|
|
||||
</span> OneSource IT Solutions | All Rights Reserved</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</footer>
|
||||
|
||||
</div><!-- Footer -->
|
||||
</div><!-- Footer -->
|
||||
|
||||
<!-- Spinner Modal Dialog -->
|
||||
|
||||
@@ -280,7 +282,7 @@
|
||||
<div class="modal-dialog modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header bg-primary p-1 ps-3">
|
||||
<h6 class="modal-title text-white"/>
|
||||
<h6 class="modal-title text-white"/>
|
||||
</div>
|
||||
<div class="modal-body mt-2"/>
|
||||
<div class="buttons m-3 mt-2">
|
||||
@@ -289,7 +291,7 @@
|
||||
<button type="button" class="btn btn-sm btn-primary me-2 btnConfirmDialogConfirm">
|
||||
<i class="bi-check-lg me-2"/>Confirm</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -306,7 +308,7 @@
|
||||
<button type="button" class="btn btn-sm btn-primary me-1 btnClose" data-bs-dismiss="modal">
|
||||
<i class="bi bi-box-arrow-left me-2"/>Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -317,7 +319,7 @@
|
||||
<div class="toast-body fs-100 text-white"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Print Dialog -->
|
||||
|
||||
<div class="modal fade" id="print-dialog" tabindex="-1" role="dialog" data-bs-backdrop="static" data-bs-keyboard="false">
|
||||
@@ -330,22 +332,22 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="print-report-container"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn page-link btn-sm mr-auto" data-dismiss="modal" data-toggle="tooltip" title="Close" data-placement="top">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Common Submit Form -->
|
||||
|
||||
|
||||
<form action="./" method="post" id="formSubmit"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
</html>
|
||||
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
@@ -23,11 +23,12 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<meta name="robots" content="noindex"/>
|
||||
<title>Create account · <xsl:value-of select="$APPLICATION_NAME"/></title>
|
||||
<title>Create account · <xsl:value-of select="$APPLICATION_NAME"/></title>
|
||||
<link href="css/bootstrap.css?version={$VERSION}" rel="stylesheet"/>
|
||||
<link href="css/bootstrap-icons.min.css?version={$VERSION}" rel="stylesheet"/>
|
||||
<link href="images/baseproject-logo.png" rel="icon" type="image/png"/>
|
||||
<link rel="stylesheet" href="css/signIn.css?version={$VERSION}"/>
|
||||
<link rel="stylesheet" href="css/signin.css?version={$VERSION}"/>
|
||||
<script src="js/jquery-3.2.0.min.js"></script><script src="js/login.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="login-shell">
|
||||
@@ -43,7 +44,7 @@
|
||||
<div class="story-copy">
|
||||
<div class="eyebrow">Less paperwork. More outdoors.</div>
|
||||
<h1>Your club.<br/>Your people.<br/>Your season.</h1>
|
||||
<p>A simpler way to keep your hunting club connected, organized, and ready for what’s next.</p>
|
||||
<p>A simpler way to keep your hunting club connected, organized, and ready for what’s next.</p>
|
||||
</div>
|
||||
<svg class="landscape" viewBox="0 0 600 400" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
|
||||
<path fill="#254e3c" d="M0 180Q150 70 320 200T600 140V400H0Z"/>
|
||||
@@ -77,7 +78,7 @@
|
||||
</div>
|
||||
</xsl:if>
|
||||
<xsl:if test="$SIGNUP_SUCCESSFUL = 'TRUE'">
|
||||
<div class="alert alert-success" role="alert">Your account request has been received. Follow the instructions provided by your club administrator to complete access.</div>
|
||||
<div class="alert alert-success" role="alert">Your account has been created. You can now sign in. Your club administrator manages membership and access.</div>
|
||||
</xsl:if>
|
||||
<xsl:if test="$SIGNUP_SUCCESSFUL != 'TRUE'">
|
||||
<form action="{$BTN_SUBMIT}" name="{$FORM_NAME}" id="{$FORM_NAME}" method="post" data-create-account="true">
|
||||
@@ -114,14 +115,14 @@
|
||||
<div id="confirm-password-help" class="form-text">Enter your password again.</div>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary w-100 mt-4 btnSignUp">Create account</button>
|
||||
<button type="submit" class="btn btn-primary w-100 mt-4">Create account</button>
|
||||
<p class="small text-secondary mt-3 mb-0">Your club administrator manages club membership and access.</p>
|
||||
</form>
|
||||
</xsl:if>
|
||||
<p class="login-help">Already have an account? <a href="{$BTN_SIGNIN}">Sign in</a></p>
|
||||
<div class="login-bottom">
|
||||
<div class="mb-2">Unauthorized Access is Prohibited</div>
|
||||
<span>OneSource IT Solutions · </span>
|
||||
<span>OneSource IT Solutions · </span>
|
||||
<xsl:value-of select="$APPLICATION_NAME"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -24,7 +24,7 @@
|
||||
|
|
||||
<xsl:value-of select="//users/record/user_name"/>
|
||||
|
|
||||
<xsl:value-of select="//users/record/user_client_name"/>
|
||||
<xsl:value-of select="//users/record/user_first_name"/>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -58,8 +58,8 @@
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-4 mb-3">
|
||||
<label class="form-label" for="user_client_name">Client Name</label>
|
||||
<input type="text" class="form-control form-control-sm" name="user_client_name" id="user_client_name" maxlength="128" autocomplete="off" value="{//users/record/user_client_name}"/>
|
||||
<label class="form-label" for="user_first_name">First Name</label>
|
||||
<input type="text" class="form-control form-control-sm" name="user_first_name" id="user_first_name" maxlength="128" autocomplete="off" value="{//users/record/user_first_name}"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="user_active" id="user_active" value="true">
|
||||
<xsl:if test="boolean(number(//users/record/user_active)) = true()">
|
||||
<xsl:if test="//users/record/user_status = 'active'">
|
||||
<xsl:attribute name="checked"/>
|
||||
</xsl:if>
|
||||
</input>
|
||||
|
||||
@@ -1,41 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:output method="html" encoding="utf-8" indent="yes"/>
|
||||
|
||||
<xsl:param name="USER-TEMP-PASSWORD"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
.text {
|
||||
font-family: Calibri ,Arial, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<p class="text">
|
||||
Dear <xsl:value-of select="//user/record/user_client_name"/>,
|
||||
</p>
|
||||
|
||||
<p class="text">Thank you for being a customer of DEC International. Below are your account credentials.</p>
|
||||
|
||||
<p class="text">Username: <xsl:value-of select="//user/record/user_name"/></p>
|
||||
<p class="text">Password: <xsl:value-of select="$USER-TEMP-PASSWORD"/></p>
|
||||
|
||||
<p class="text">You login in at the following web address: <a href="https://ahr.realestatedatainc.com" target="_blank">Atlanta Housing Report</a></p>
|
||||
|
||||
<p class="text">Thank you,</p>
|
||||
|
||||
<p class="text">DEC-International Support</p>
|
||||
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<br/> <!-- Line Breaks before email Disclaimer -->
|
||||
|
||||
</xsl:template>
|
||||
|
||||
<xsl:output method="html" encoding="UTF-8"/>
|
||||
<xsl:param name="APPLICATION_NAME"/><xsl:param name="RESET_URL"/>
|
||||
<xsl:template match="/">
|
||||
<p>Hello <xsl:value-of select="/users/record/user_name"/>,</p>
|
||||
<p>A password reset was requested for your <xsl:value-of select="$APPLICATION_NAME"/> account.</p>
|
||||
<p><a href="{$RESET_URL}">Choose a new password</a>.</p>
|
||||
<p>This link expires in 30 minutes and can be used once. If you did not request it, you can ignore this email. Your password has not changed.</p>
|
||||
<p><xsl:value-of select="$APPLICATION_NAME"/> support</p>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
||||
@@ -1,53 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:output method="html" encoding="utf-8" indent="yes"/>
|
||||
|
||||
<xsl:param name="USER-TEMP-PASSWORD"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
.text {
|
||||
font-family: Calibri ,Arial, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
th {
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
text-align: left;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-right: 10px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<p class="text">
|
||||
Dear <xsl:value-of select="//users/record/user_name"/>,
|
||||
</p>
|
||||
|
||||
<p class="text">Your password has been reset. Below are your account credentials.</p>
|
||||
|
||||
<p class="text">Password: <xsl:value-of select="$USER-TEMP-PASSWORD"/></p>
|
||||
|
||||
<p class="text">Click <a href="https://apps.realestatedatainc.com/atlhousingreport/main.php" target="_blank">here</a> to Login.</p>
|
||||
|
||||
<p class="text">Thank you,</p>
|
||||
|
||||
<p class="text">DEC-International Support</p>
|
||||
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<br/> <!-- Line Breaks before email Disclaimer -->
|
||||
|
||||
</xsl:template>
|
||||
|
||||
<xsl:output method="html" encoding="UTF-8"/>
|
||||
<xsl:param name="APPLICATION_NAME"/><xsl:param name="RESET_URL"/>
|
||||
<xsl:template match="/">
|
||||
<p>Hello <xsl:value-of select="/users/record/user_name"/>,</p>
|
||||
<p>A password reset was requested for your <xsl:value-of select="$APPLICATION_NAME"/> account.</p>
|
||||
<p><a href="{$RESET_URL}">Choose a new password</a>.</p>
|
||||
<p>This link expires in 30 minutes and can be used once. If you did not request it, you can ignore this email. Your password has not changed.</p>
|
||||
<p><xsl:value-of select="$APPLICATION_NAME"/> support</p>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
||||
+9
-6
@@ -10,6 +10,7 @@
|
||||
<xsl:param name="FORM_NAME">login</xsl:param>
|
||||
<xsl:param name="BTN_SUBMIT"></xsl:param>
|
||||
<xsl:param name="BTN_RESET_PASSWORD">./?Xaction=resetpassword</xsl:param>
|
||||
<xsl:param name="CSRF_TOKEN"/>
|
||||
<xsl:param name="INVALID_SIGNIN"></xsl:param>
|
||||
<xsl:param name="RESET_PASSWORD_SUCCESSFUL"></xsl:param>
|
||||
<xsl:param name="VERSION"></xsl:param>
|
||||
@@ -29,7 +30,7 @@
|
||||
|
||||
<link href="css/themes/MyHuntingClubRoster/bootstrap.css?version={$VERSION}" rel="stylesheet"/>
|
||||
<link href="css/bootstrap-icons.min.css?version={$VERSION}" rel="stylesheet"/>
|
||||
<link href="css/signin.css" rel="stylesheet"/>
|
||||
<link href="css/login.css" rel="stylesheet"/>
|
||||
<link href="images/MyHuntRoster_Logo.png" rel="icon" type="image/png"/>
|
||||
|
||||
<script src="js/jquery-3.2.0.min.js?version={$VERSION}"> </script>
|
||||
@@ -49,7 +50,7 @@
|
||||
<div class="story-copy">
|
||||
<div class="eyebrow">Less paperwork. More outdoors.</div>
|
||||
<h1>Your club.<br/>Your people.<br/>Your season.</h1>
|
||||
<p>A simpler way to keep your hunting club connected, organized, and ready for what’s next.</p>
|
||||
<p>A simpler way to keep your hunting club connected, organized, and ready for what’s next.</p>
|
||||
</div>
|
||||
<svg class="landscape" viewBox="0 0 600 400" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
|
||||
<path fill="#254e3c" d="M0 180Q150 70 320 200T600 140V400H0Z"/>
|
||||
@@ -86,7 +87,7 @@
|
||||
</p>
|
||||
|
||||
<xsl:if test="$INVALID_SIGNIN = 'TRUE'">
|
||||
<div class="alert alert-danger" role="alert">Invalid username or password.</div>
|
||||
<div class="alert alert-danger" role="alert">Invalid email address or password, or too many attempts. Please try again later.</div>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$RESET_PASSWORD_SUCCESSFUL = 'TRUE'">
|
||||
@@ -94,11 +95,12 @@
|
||||
</xsl:if>
|
||||
|
||||
<form action="{$BTN_SUBMIT}" name="{$FORM_NAME}" method="post" id="{$FORM_NAME}">
|
||||
<input type="hidden" name="action" value="Users.login"/>
|
||||
<input type="hidden" name="action" value="SignIn.login"/>
|
||||
<input type="hidden" name="step" value="authenticate"/>
|
||||
<input type="hidden" name="csrf_token" value="{$CSRF_TOKEN}"/>
|
||||
<div class="mb-4">
|
||||
<label class="form-label" for="user_email">Email Address</label>
|
||||
<input type="text" class="form-control" id="user_email" name="user_email" autocomplete="email" maxlength="128" placeholder="Enter Email Address" autofocus="autofocus"/>
|
||||
<input type="email" class="form-control" id="user_email" name="user_email" autocomplete="email" maxlength="128" placeholder="Enter Email Address" autofocus="autofocus"/>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="user_password">Password</label>
|
||||
@@ -112,12 +114,13 @@
|
||||
</form>
|
||||
<form action="{$BTN_RESET_PASSWORD}" name="reset-password" method="post" id="reset-password">
|
||||
<input type="hidden" id="reset_user_email" name="user_email"/>
|
||||
<input type="hidden" name="csrf_token" value="{$CSRF_TOKEN}"/>
|
||||
</form>
|
||||
<p class="login-help">Need access to your club?<br/>Contact your club administrator to get started.</p>
|
||||
<div class="login-bottom">
|
||||
<div class="mb-2">Unauthorized Access is Prohibited</div>
|
||||
<xsl:value-of select="$APPLICATION_NAME"/>
|
||||
<span> · A product of OneSource IT Solutions</span>
|
||||
<span> · A product of OneSource IT Solutions</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:output method="html" encoding="UTF-8"/>
|
||||
|
||||
<!-- Parameters -->
|
||||
<xsl:param name="APPLICATION_NAME"/>
|
||||
<xsl:param name="CSRF_TOKEN"/>
|
||||
<xsl:param name="TOKEN"/>
|
||||
<xsl:param name="MESSAGE"/>
|
||||
<xsl:param name="ERROR"/>
|
||||
<xsl:param name="COMPLETE"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<meta name="referrer" content="no-referrer"/>
|
||||
<title>Reset password</title>
|
||||
<link href="css/themes/MyHuntingClubRoster/bootstrap.css" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container py-5" style="max-width:560px">
|
||||
<h1>
|
||||
<xsl:value-of select="$APPLICATION_NAME"/>
|
||||
</h1>
|
||||
<h2>Reset password</h2>
|
||||
<xsl:if test="$MESSAGE != ''">
|
||||
<p role="status" class="alert alert-info">
|
||||
<xsl:value-of select="$MESSAGE"/>
|
||||
</p>
|
||||
</xsl:if>
|
||||
<xsl:if test="$ERROR != ''">
|
||||
<p role="alert" class="alert alert-danger">
|
||||
<xsl:value-of select="$ERROR"/>
|
||||
</p>
|
||||
</xsl:if>
|
||||
<xsl:if test="$COMPLETE != 'TRUE'">
|
||||
<form method="post" action="main.php">
|
||||
<input type="hidden" name="action" value="resetpassword"/>
|
||||
<input type="hidden" name="csrf_token" value="{$CSRF_TOKEN}"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$TOKEN != ''">
|
||||
<input type="hidden" name="step" value="reset"/>
|
||||
<input type="hidden" name="token" value="{$TOKEN}"/>
|
||||
<label for="password" class="form-label">New password (12–72 bytes)</label>
|
||||
<input id="password" name="user_password" type="password" class="form-control mb-3" autocomplete="new-password" required="required"/>
|
||||
<label for="confirmation" class="form-label">Confirm password</label>
|
||||
<input id="confirmation" name="user_password_confirm" type="password" class="form-control mb-3" autocomplete="new-password" required="required"/>
|
||||
<button class="btn btn-primary" type="submit">Set new password</button>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<label for="email" class="form-label">Email address</label>
|
||||
<input id="email" name="user_email" type="email" class="form-control mb-3" autocomplete="email" required="required" maxlength="100"/>
|
||||
<button class="btn btn-primary" type="submit">Send reset link</button>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</form>
|
||||
</xsl:if>
|
||||
<p class="mt-3">
|
||||
<a href="main.php">Sign in</a> · <a href="main.php?Xaction=resetpassword">Request a new link</a>
|
||||
</p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
+4
-4
@@ -116,7 +116,7 @@
|
||||
<table class="table table-sm table-striped table-hover base-table table-auto" id="users-table">
|
||||
<thead class="sticky-header" data-theme="{$THEME}">
|
||||
<th>Username</th>
|
||||
<th>Client Name</th>
|
||||
<th>First Name</th>
|
||||
<th>Email</th>
|
||||
<th>Role</th>
|
||||
<th class="text-center">Active</th>
|
||||
@@ -149,8 +149,8 @@
|
||||
<td class="user_name">
|
||||
<xsl:value-of select="user_name"/>
|
||||
</td>
|
||||
<td class="user_client_name">
|
||||
<xsl:value-of select="user_client_name"/>
|
||||
<td class="user_first_name">
|
||||
<xsl:value-of select="user_first_name"/>
|
||||
</td>
|
||||
<td class="user_email">
|
||||
<xsl:value-of select="user_email"/>
|
||||
@@ -160,7 +160,7 @@
|
||||
</td>
|
||||
<td class="user_active text-center">
|
||||
<xsl:choose>
|
||||
<xsl:when test="boolean(number(user_active)) = true()">
|
||||
<xsl:when test="user_status = 'active'">
|
||||
<i class="bi bi-check-lg text-success"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
||||
Reference in New Issue
Block a user