Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from gheinzer/mail-beta
Added the reset password feature and fixed some bugs.
- Loading branch information
Showing
14 changed files
with
684 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>officr Accounts Login</title> | ||
<link rel="stylesheet" href="/style/style.css" /> | ||
<link | ||
rel="shortcut icon" | ||
href="/assets/logo_single.svg" | ||
type="image/x-icon" | ||
/> | ||
<meta | ||
name="description" | ||
content="Your todo list. Anywhere. At any time. On any device." | ||
/> | ||
<meta | ||
name="keywords" | ||
content="officr, todo, todo list, open-source, tasks" | ||
/> | ||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> | ||
</head> | ||
<body onload="setTimeout(setLoaderAsFinished, 1200);"> | ||
{includeRes:"cookie-note.html"} | ||
<div class="horizontal-container"> | ||
<header> | ||
<img | ||
src="/assets/logo_with_text_light.svg" | ||
alt="officr" | ||
class="desktop-only" | ||
/> | ||
<img | ||
src="/assets/logo_single.svg" | ||
alt="officr" | ||
class="mobile-only" | ||
/> | ||
<span>Accounts</span> | ||
</header> | ||
</div> | ||
|
||
<div class="main-content"> | ||
<div class="flex-container centered"> | ||
<form action="/login/reset_password/reset/submit" method="POST"> | ||
<input type="hidden" name="privateID" id="privateID" /> | ||
<script> | ||
document.getElementById("privateID").value = | ||
window.location.search.replace("?id=", ""); | ||
</script> | ||
<div class="input-container"> | ||
<input | ||
type="password" | ||
placeholder="" | ||
id="password" | ||
name="password" | ||
required | ||
/> | ||
<label>{label11}</label> | ||
</div> | ||
<p class="important hidden" id="passwordUsernameLabel"> | ||
{label66} | ||
</p> | ||
|
||
<script> | ||
if (window.location.search === "?error") { | ||
document.getElementById( | ||
"passwordUsernameLabel" | ||
).style.display = "block"; | ||
} | ||
</script> | ||
<input | ||
type="submit" | ||
value="{label18}" | ||
class="classic-button" | ||
onclick="showLoader()" | ||
/> | ||
</form> | ||
</div> | ||
</div> | ||
{includeRes:"loader-overlay.html"} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta | ||
name="description" | ||
content="Your todo list. Anywhere. At any time. On any device." | ||
/> | ||
<meta | ||
name="keywords" | ||
content="officr, todo, todo list, open-source, tasks" | ||
/> | ||
<title>officr Accounts - Password Reset</title> | ||
<link rel="stylesheet" href="/style/style.css" /> | ||
<script src="/js/overlays.js"></script> | ||
<script src="/js/cookies.js"></script> | ||
<link | ||
rel="shortcut icon" | ||
href="/assets/logo_single.svg" | ||
type="image/x-icon" | ||
/> | ||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> | ||
<meta property="og:title" content="officr - Your todo list" /> | ||
<meta | ||
property="og:image" | ||
content="https://officr.gabrielheinzer.ch/assets/social_preview.jpg" | ||
/> | ||
<meta | ||
property="og:description" | ||
content="officr is a open-source todo software. It can be used for homework, familiy or many other things." | ||
/> | ||
<meta property="og:url" content="https://officr.gabrielheinzer.ch" /> | ||
<meta property="og:image:width" content="1354" /> | ||
<meta property="og:image:height" content="469" /> | ||
</head> | ||
<body onload="setTimeout(setLoaderAsFinished, 1200); showCookieOverlay()"> | ||
{includeRes:"cookie-note.html"} | ||
<div class="vertical-container"> | ||
<div class="horizontal-container"> | ||
<header> | ||
<img | ||
src="/assets/logo_with_text_light.svg" | ||
alt="officr" | ||
class="desktop-only" | ||
/> | ||
<img | ||
src="/assets/logo_single.svg" | ||
alt="officr" | ||
class="mobile-only" | ||
/> | ||
</header> | ||
</div> | ||
<div class="main-content" style="padding: 1rem"> | ||
<div id="notfound_message" style="text-align: center"> | ||
<img | ||
src="/assets/undraw/done.svg" | ||
alt="" | ||
class="undraw-img" | ||
style="display: block; width: 60vw; max-height: 50vh" | ||
/> | ||
<h1 style="text-align: center">{label65}</h1> | ||
<a href="/login" class="border-button">{label12}</a> | ||
</div> | ||
</div> | ||
</div> | ||
{includeRes:"loader-overlay.html"} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta | ||
name="description" | ||
content="Your todo list. Anywhere. At any time. On any device." | ||
/> | ||
<meta | ||
name="keywords" | ||
content="officr, todo, todo list, open-source, tasks" | ||
/> | ||
<title>officr Accounts - Password Reset</title> | ||
<link rel="stylesheet" href="/style/style.css" /> | ||
<script src="/js/overlays.js"></script> | ||
<script src="/js/cookies.js"></script> | ||
<link | ||
rel="shortcut icon" | ||
href="/assets/logo_single.svg" | ||
type="image/x-icon" | ||
/> | ||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> | ||
<meta property="og:title" content="officr - Your todo list" /> | ||
<meta | ||
property="og:image" | ||
content="https://officr.gabrielheinzer.ch/assets/social_preview.jpg" | ||
/> | ||
<meta | ||
property="og:description" | ||
content="officr is a open-source todo software. It can be used for homework, familiy or many other things." | ||
/> | ||
<meta property="og:url" content="https://officr.gabrielheinzer.ch" /> | ||
<meta property="og:image:width" content="1354" /> | ||
<meta property="og:image:height" content="469" /> | ||
</head> | ||
<body onload="setTimeout(setLoaderAsFinished, 1200); showCookieOverlay()"> | ||
{includeRes:"cookie-note.html"} | ||
<div class="vertical-container"> | ||
<div class="horizontal-container"> | ||
<header> | ||
<img | ||
src="/assets/logo_with_text_light.svg" | ||
alt="officr" | ||
class="desktop-only" | ||
/> | ||
<img | ||
src="/assets/logo_single.svg" | ||
alt="officr" | ||
class="mobile-only" | ||
/> | ||
</header> | ||
</div> | ||
<div class="main-content"> | ||
<div | ||
id="notfound_message" | ||
style="text-align: center; padding: 1rem" | ||
> | ||
<img | ||
src="/assets/undraw/done.svg" | ||
alt="" | ||
class="undraw-img" | ||
style="display: block; width: 60vw; max-height: 50vh" | ||
/> | ||
<h1 style="text-align: center">{label64}</h1> | ||
</div> | ||
</div> | ||
</div> | ||
{includeRes:"loader-overlay.html"} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.