#44 password recovery plugged in
parent
9462b91246
commit
8f1e3a55e7
@ -1,11 +1,12 @@
|
|||||||
<div id="dash-login">
|
<div id="dash-login">
|
||||||
<div id="dash-form" class="dash-form">
|
<div id="dash-form" class="dash-form">
|
||||||
<form id="login" class='login' , name="login" action="/@/dashboard/login" method="POST">
|
<form id="login" class='login' name="login" action="/@/dashboard/login" method="POST">
|
||||||
<input type="text" name="handle" class="form-control" placeholder="Handle" required ">
|
<input type="text" name="handle" class="form-control" placeholder="Handle" required ">
|
||||||
<input type="password" name="password" class="form-control" placeholder="Password" required">
|
<input type="password" name="password" class="form-control" placeholder="Password" required">
|
||||||
<button id="login-btn" , class='login-btn' , type='submit'>
|
<button id="login-btn" class='login-btn' type='submit'>
|
||||||
Let's see some ID
|
Let's see some ID
|
||||||
</button>
|
</button><br /><br />
|
||||||
|
<a href="/dashboard/reset-password"> Forgot Password?</a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -0,0 +1,40 @@
|
|||||||
|
{% extends "dash/_frame.twig" %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
{{ title }}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block stylesheets %}
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=dfdfdf">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block mainContent %}
|
||||||
|
<div id="dash-index">
|
||||||
|
<div id="dash-index-wrapper">
|
||||||
|
<div id="dash-login">
|
||||||
|
<div id="dash-reset" class="dash-reset">
|
||||||
|
<form id="reset" class='login' name="reset" action="/@/dashboard/login" method="POST">
|
||||||
|
|
||||||
|
<input type="password" id="new_password"name="new_password" class="form-control" placeholder="New Password" required">
|
||||||
|
<input type="password" id="new_password2" name="new_password2" class="form-control" placeholder="New Password Confirm" required">
|
||||||
|
<input type="password" id="secret" name="secret" class="form-control" placeholder="Account Secret" required">
|
||||||
|
<button id="reset-btn" class='login-btn' type='submit'>
|
||||||
|
Update Password
|
||||||
|
</button><br /><br />
|
||||||
|
<p>
|
||||||
|
Use this to get your secret to verify it's you. If your email is set up, the secret will be sent there. If not, the form will be updated automatically(but please set up your email, once you reset your password).
|
||||||
|
</p>
|
||||||
|
<input type="text"id="email" name="email" class="form-control" placeholder="Verify Email" required">
|
||||||
|
<button id="get-secret-btn" class='login-btn' type='submit'>
|
||||||
|
Retrieve Secret
|
||||||
|
</button><br /><br />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block javascripts %}
|
||||||
|
<script src="/assets/scripts/dash.min.js" type="text/javascript"></script>
|
||||||
|
{% endblock %}
|
File diff suppressed because one or more lines are too long
@ -1,49 +1,51 @@
|
|||||||
export const AUTH_STATUS = 'getAuthStatus';
|
export const AUTH_STATUS = "getAuthStatus";
|
||||||
export const REQUEST_GOOD = 'requestGood';
|
export const REQUEST_GOOD = "requestGood";
|
||||||
export const REQUEST_LAME = 'requestLame';
|
export const REQUEST_LAME = "requestLame";
|
||||||
export const API_REQUEST_GOOD = 'apiUseAuthorized';
|
export const API_REQUEST_GOOD = "apiUseAuthorized";
|
||||||
export const API_REQUEST_LAME = 'apiUseNotAuthorized';
|
export const API_REQUEST_LAME = "apiUseNotAuthorized";
|
||||||
export const IMG_REQUEST_GOOD = 'imgRequestGood';
|
export const IMG_REQUEST_GOOD = "imgRequestGood";
|
||||||
export const IMG_REQUEST_LAME = 'imgRequestLame';
|
export const IMG_REQUEST_LAME = "imgRequestLame";
|
||||||
export const SETTINGS_LOADED = 'settingsLoaded';
|
export const SETTINGS_LOADED = "settingsLoaded";
|
||||||
export const POST_IMAGE_ADDED = 'postImageAdded';
|
export const POST_IMAGE_ADDED = "postImageAdded";
|
||||||
export const FEATURE_IMAGE_ADDED = 'featureImageAdded';
|
export const FEATURE_IMAGE_ADDED = "featureImageAdded";
|
||||||
export const PAGE_ERROR = 'postError';
|
export const PAGE_ERROR = "postError";
|
||||||
export const PAGE_ADDED = 'postAdded';
|
export const PAGE_ADDED = "postAdded";
|
||||||
export const PAGE_UPDATED = 'postUpdated';
|
export const PAGE_UPDATED = "postUpdated";
|
||||||
export const PAGE_DELETED = 'postImageAdded';
|
export const PAGE_DELETED = "postImageAdded";
|
||||||
export const PAGES_RENDERED = 'pagesRendered';
|
export const PAGES_RENDERED = "pagesRendered";
|
||||||
export const PAGES_NOT_RENDERED = 'pagesNotRendered';
|
export const PAGES_NOT_RENDERED = "pagesNotRendered";
|
||||||
export const TAG_PAGES_RENDERED = 'tagPagesRendered';
|
export const TAG_PAGES_RENDERED = "tagPagesRendered";
|
||||||
export const TAG_PAGES_NOT_RENDERED = 'tagPagesNotRendered';
|
export const TAG_PAGES_NOT_RENDERED = "tagPagesNotRendered";
|
||||||
export const SETTINGS_UPDATED = 'settingsUpdated';
|
export const SETTINGS_UPDATED = "settingsUpdated";
|
||||||
export const SETTINGS_NOT_UPDATED = 'settingsNotUpdated';
|
export const SETTINGS_NOT_UPDATED = "settingsNotUpdated";
|
||||||
export const MENU_ADD_ITEM = 'menuAddItem';
|
export const MENU_ADD_ITEM = "menuAddItem";
|
||||||
export const MENU_DELETE_ITEM = 'menuDeleteItem';
|
export const MENU_DELETE_ITEM = "menuDeleteItem";
|
||||||
export const MENU_UPDATED = 'menuUpdated';
|
export const MENU_UPDATED = "menuUpdated";
|
||||||
export const AVATAR_UPLOADED = 'avatarUploaded';
|
export const AVATAR_UPLOADED = "avatarUploaded";
|
||||||
export const SITE_BACKGROUND_UPLOADED = 'siteBackgroundUploaded';
|
export const SITE_BACKGROUND_UPLOADED = "siteBackgroundUploaded";
|
||||||
export const UPLOAD_PROGRESS = 'uploadProgress';
|
export const UPLOAD_PROGRESS = "uploadProgress";
|
||||||
export const API_PAGE_WRITE = 'writingItDown';
|
export const API_PAGE_WRITE = "writingItDown";
|
||||||
export const API_PAGE_CREATE = 'writingNewEntry';
|
export const API_PAGE_CREATE = "writingNewEntry";
|
||||||
export const API_PAGE_DELETE = 'erasingPage';
|
export const API_PAGE_DELETE = "erasingPage";
|
||||||
export const API_SETTINGS_WRITE = 'savingSettings';
|
export const API_SETTINGS_WRITE = "savingSettings";
|
||||||
export const API_BACKUP_CREATE = 'createBackup';
|
export const API_BACKUP_CREATE = "createBackup";
|
||||||
export const API_BACKUP_DOWNLOAD = 'downloadBackup';
|
export const API_BACKUP_DOWNLOAD = "downloadBackup";
|
||||||
export const API_BACKUP_RESTORE = 'downloadBackup';
|
export const API_BACKUP_RESTORE = "downloadBackup";
|
||||||
export const API_IMAGES_UPLOAD = 'uploadProfileImages';
|
export const API_IMAGES_UPLOAD = "uploadProfileImages";
|
||||||
export const API_RENDER_PAGES = 'renderPages';
|
export const API_RENDER_PAGES = "renderPages";
|
||||||
export const API_REINDEX_PAGES = 'reindexPages';
|
export const API_REINDEX_PAGES = "reindexPages";
|
||||||
export const API_INIT = 'blogInit';
|
export const API_INIT = "blogInit";
|
||||||
export const API_INIT_GOOD = 'blogInitGood';
|
export const API_INIT_GOOD = "blogInitGood";
|
||||||
export const API_INIT_LAME = 'blogInitLame';
|
export const API_INIT_LAME = "blogInitLame";
|
||||||
export const SEND_MAIL = 'sendMail';
|
export const API_GET_SECRET = "retrieveSecret";
|
||||||
|
export const API_RESET_PASS = "resetPassword";
|
||||||
|
export const SEND_MAIL = "sendMail";
|
||||||
class DataEvent {
|
class DataEvent {
|
||||||
//--------------------------
|
//--------------------------
|
||||||
// methods
|
// methods
|
||||||
//--------------------------
|
//--------------------------
|
||||||
//--------------------------
|
//--------------------------
|
||||||
// event handlers
|
// event handlers
|
||||||
//--------------------------
|
//--------------------------
|
||||||
}
|
}
|
||||||
export default new DataEvent();
|
export default new DataEvent();
|
||||||
|
Loading…
Reference in New Issue