add guides page, clean up
This commit is contained in:
parent
a6d1a41913
commit
4b0c288d99
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@ node_modules/
|
||||
package-lock.json
|
||||
docker-compose.yml
|
||||
register,log
|
||||
donations.json
|
||||
donations.json
|
||||
.idea/
|
24
app.js
24
app.js
@ -40,6 +40,30 @@ app.get('/privacy', (req, res) => {
|
||||
res.render('privacy', { currentPage: 'privacy' });
|
||||
});
|
||||
|
||||
app.get('/guides', (req, res) => {
|
||||
res.render('guides', { currentPage: 'guides' });
|
||||
});
|
||||
|
||||
app.get('/guides/user', (req, res) => {
|
||||
res.render('guides/user/index', { currentPage: 'guides' });
|
||||
});
|
||||
|
||||
app.get('/guides/webmail', (req, res) => {
|
||||
res.render('guides/webmail/index', { currentPage: 'guides' });
|
||||
});
|
||||
|
||||
app.get('/guides/vaultwarden/android', (req, res) => {
|
||||
res.render('guides/vaultwarden/android', { currentPage: 'guides' });
|
||||
});
|
||||
|
||||
app.get('/guides/vaultwarden/chrome', (req, res) => {
|
||||
res.render('guides/vaultwarden/chrome', { currentPage: 'guides' });
|
||||
});
|
||||
|
||||
app.get('/guides/vaultwarden/firefox', (req, res) => {
|
||||
res.render('guides/vaultwarden/firefox', { currentPage: 'guides' });
|
||||
});
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Server is running on port ${PORT}`);
|
||||
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"excludedIPs": [
|
||||
"127.0.0.1",
|
||||
"192.168.1.1"
|
||||
]
|
||||
}
|
25
src/guides.ejs
Normal file
25
src/guides.ejs
Normal file
@ -0,0 +1,25 @@
|
||||
<%- include('shards/header', { title: 'Guides - p0ntus mail' }) %>
|
||||
<div class="container">
|
||||
<%- include('shards/nav', { currentPage: 'guides' }) %>
|
||||
|
||||
<i class="il mt-5">Vaultwarden</i>
|
||||
<hr>
|
||||
<ul class="list-group text-start">
|
||||
<li class="list-group-item"><a href="/guides/vaultwarden/chrome">Using Vaultwarden on Chrome</a></li>
|
||||
<li class="list-group-item"><a href="/guides/vaultwarden/firefox">Using Vaultwarden on Firefox</a></li>
|
||||
<li class="list-group-item"><a href="/guides/vaultwarden/android">Using Vaultwarden on Android</a></li>
|
||||
</ul>
|
||||
|
||||
<i class="il mt-5">Webmail</i>
|
||||
<hr>
|
||||
<ul class="list-group text-start">
|
||||
<li class="list-group-item"><a href="/guides/webmail">Using the Webmail</a></li>
|
||||
</ul>
|
||||
|
||||
<i class="il mt-5">User Dashboard</i>
|
||||
<hr>
|
||||
<ul class="list-group text-start">
|
||||
<li class="list-group-item"><a href="/guides/user">Using the User Dashboard</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<%- include('shards/footer') %>
|
28
src/guides/user/index.ejs
Normal file
28
src/guides/user/index.ejs
Normal file
@ -0,0 +1,28 @@
|
||||
<%- include('../../shards/header', { title: 'Using the User Dashboard - p0ntus mail' }) %>
|
||||
<div class="container">
|
||||
<%- include('../../shards/nav', { currentPage: 'guides' }) %>
|
||||
<i class="il mt-5">Using the User Dashboard</i>
|
||||
<hr>
|
||||
<div class="text-start">
|
||||
<h4>Signing in</h4>
|
||||
<p>If you just signed up, use the default password with your requested email, and input that into <a href="https://user.p0ntus.com/">user.p0ntus.com</a>. Change your password in the interface, and follow the next steps using your email and password.</p>
|
||||
<p>Even if you didn't just sign up, use your <i>email</i> and password to login.</p>
|
||||
<h4>Using the User Dashboard</h4>
|
||||
<p>Once you are signed in, you can use the user dashboard to manage your account. You can change your password and view account information. Everything is highly organized for ease of access :)</p>
|
||||
<h4>Enabling Two-Factor Authentication</h4>
|
||||
<p>On the main page, for traditional Google Authenticator/authenticator app setup, click the "Please select" dropdown under the "Set two-factor authentication method" section. Click Time-Based OTP, and scan the QR code to continue.</p>
|
||||
<p>On the main page, for a FIDO device, select the "Register FIDO Device" button, and doing the normal process with your authenticator to sign in and register. Once done, it will be usable on the <a href="https://user.p0ntus.com">user.p0ntus.com</a> dashboard. You must setup traditional 2FA (or store it on your FIDO device, if supported) for SOGo webmail.</p>
|
||||
<h4>Logging out</h4>
|
||||
<p>When you are done, click the "Exit" icon in the top right corner of the UI.</p>
|
||||
<h4>See also</h4>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<a href="/guides/webmail">Using the Webmail</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="/guides" class="btn btn-dark mt-3">
|
||||
<i class="fa-solid fa-arrow-left"></i> Back to Guides
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<%- include('../../shards/footer') %>
|
31
src/guides/vaultwarden/android.ejs
Normal file
31
src/guides/vaultwarden/android.ejs
Normal file
@ -0,0 +1,31 @@
|
||||
<%- include('../../shards/header', { title: 'Using Vaultwarden on Android - p0ntus mail' }) %>
|
||||
<div class="container">
|
||||
<%- include('../../shards/nav', { currentPage: 'guides' }) %>
|
||||
<i class="il mt-5">Using Vaultwarden on Android</i>
|
||||
<hr>
|
||||
<ul class="list-group text-start">
|
||||
<li class="list-group-item">
|
||||
<b>STEP ONE</b><br>
|
||||
<a href="https://play.google.com/store/apps/details?id=com.x8bit.bitwarden" target="_blank">Install the Bitwarden extension from the Google Play Store</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP TWO</b><br>
|
||||
<a href="https://vaultwarden.p0ntus.com" target="_blank">Sign up for p0ntus mail Vaultwarden if you haven't already.</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP THREE</b><br>
|
||||
<p>Open the app on your phone and under "Logging in on", click "bitwarden.com."</p>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP FOUR</b><br>
|
||||
<p>Click self-hosted, then under Server URL, enter "https://vaultwarden.p0ntus.com" and leave the rest of the fields blank.</p>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>You are now logged in, and you can use all of the features of Vaultwarden!</b>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="/guides" class="btn btn-dark mt-3">
|
||||
<i class="fa-solid fa-arrow-left"></i> Back to Guides
|
||||
</a>
|
||||
</div>
|
||||
<%- include('../../shards/footer') %>
|
31
src/guides/vaultwarden/chrome.ejs
Normal file
31
src/guides/vaultwarden/chrome.ejs
Normal file
@ -0,0 +1,31 @@
|
||||
<%- include('../../shards/header', { title: 'Using Vaultwarden on Chrome - p0ntus mail' }) %>
|
||||
<div class="container">
|
||||
<%- include('../../shards/nav', { currentPage: 'guides' }) %>
|
||||
<i class="il mt-5">Using Vaultwarden on Chrome</i>
|
||||
<hr>
|
||||
<ul class="list-group text-start">
|
||||
<li class="list-group-item">
|
||||
<b>STEP ONE</b><br>
|
||||
<a href="https://chromewebstore.google.com/detail/bitwarden-password-manage/nngceckbapebfimnlniiiahkandclblb" target="_blank">Install the Bitwarden extension from the Google Chrome Store</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP TWO</b><br>
|
||||
<a href="https://vaultwarden.p0ntus.com" target="_blank">Sign up for p0ntus mail Vaultwarden if you haven't already.</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP THREE</b><br>
|
||||
<p>Open the Bitwarden extension, and click (under the small 'servers' label) bitwarden.com, changing it to self hosted. This will bring up a dialog. Enter "https://vaultwarden.p0ntus.com" in the server URL, and leave the rest of the fields blank. It should now change 'bitwarden.com' to 'self hosted'.</p>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP FOUR</b><br>
|
||||
<p>Enter your email and password, and click 'Log in'.</p>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>You are now logged in, and you can use all of the features of Vaultwarden!</b>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="/guides" class="btn btn-dark mt-3">
|
||||
<i class="fa-solid fa-arrow-left"></i> Back to Guides
|
||||
</a>
|
||||
</div>
|
||||
<%- include('../../shards/footer') %>
|
31
src/guides/vaultwarden/firefox.ejs
Normal file
31
src/guides/vaultwarden/firefox.ejs
Normal file
@ -0,0 +1,31 @@
|
||||
<%- include('../../shards/header', { title: 'Using Vaultwarden on Firefox - p0ntus mail' }) %>
|
||||
<div class="container">
|
||||
<%- include('../../shards/nav', { currentPage: 'guides' }) %>
|
||||
<i class="il mt-5">Using Vaultwarden on Firefox</i>
|
||||
<hr>
|
||||
<ul class="list-group text-start">
|
||||
<li class="list-group-item">
|
||||
<b>STEP ONE</b><br>
|
||||
<a href="https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/" target="_blank">Install the Bitwarden extension from the Firefox Add-ons page</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP TWO</b><br>
|
||||
<a href="https://vaultwarden.p0ntus.com" target="_blank">Sign up for p0ntus mail Vaultwarden if you haven't already.</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP THREE</b><br>
|
||||
<p>Open the Bitwarden extension, and click (under the small 'servers' label) bitwarden.com, changing it to self hosted. This will bring up a dialog. Enter "https://vaultwarden.p0ntus.com" in the server URL, and leave the rest of the fields blank. It should now change 'bitwarden.com' to 'self hosted'.</p>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>STEP FOUR</b><br>
|
||||
<p>Enter your email and password, and click 'Log in'.</p>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>You are now logged in, and you can use all of the features of Vaultwarden!</b>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="/guides" class="btn btn-dark mt-3">
|
||||
<i class="fa-solid fa-arrow-left"></i> Back to Guides
|
||||
</a>
|
||||
</div>
|
||||
<%- include('../../shards/footer') %>
|
25
src/guides/webmail/index.ejs
Normal file
25
src/guides/webmail/index.ejs
Normal file
@ -0,0 +1,25 @@
|
||||
<%- include('../../shards/header', { title: 'Using the Webmail - p0ntus mail' }) %>
|
||||
<div class="container">
|
||||
<%- include('../../shards/nav', { currentPage: 'guides' }) %>
|
||||
<i class="il mt-5">Using the Webmail</i>
|
||||
<hr>
|
||||
<div class="text-start">
|
||||
<h4>Signing in</h4>
|
||||
<p>If you just signed up, use the default password with your requested email, and input that into <a href="https://mail.p0ntus.com/">mail.p0ntus.com</a>. Change your password in the interface, and follow the next steps using your email and password.</p>
|
||||
<p>To sign in, use <a href="https://user.p0ntus.com/">user.p0ntus.com</a> either on the login page with the "Webmail" button, or in the signed-in interface, with the "Sign in to webmail" button.</p>
|
||||
<h4>Using the Webmail</h4>
|
||||
<p>Once you are signed in, you can use the webmail to send and receive emails. You can also use the calendar and contacts features.</p>
|
||||
<h4>Logging out</h4>
|
||||
<p>When you are done, click the "Exit" icon in the top right corner of the UI.</p>
|
||||
<h4>See also</h4>
|
||||
<ul class="list-group text-start">
|
||||
<li class="list-group-item">
|
||||
<a href="/guides/user">Using the User Dashboard</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="/guides" class="btn btn-dark mt-3">
|
||||
<i class="fa-solid fa-arrow-left"></i> Back to Guides
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<%- include('../../shards/footer') %>
|
@ -9,6 +9,6 @@
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap" rel="stylesheet">
|
||||
<script src="https://kit.fontawesome.com/50495cc725.js" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="css/main.css">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
</head>
|
||||
<body>
|
@ -27,4 +27,9 @@
|
||||
<% } else { %>
|
||||
<a href="/privacy" class="nav-link text-dark">Privacy</a>
|
||||
<% } %>
|
||||
<% if (currentPage === 'guides') { %>
|
||||
<span class="nav-link text-dark"><b>Guides</b></span>
|
||||
<% } else { %>
|
||||
<a href="/guides" class="nav-link text-dark">Guides</a>
|
||||
<% } %>
|
||||
</nav>
|
Reference in New Issue
Block a user