generated from corysanin/nodejs-web-template
post event
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "madisonlinux",
|
"name": "madisonlinux",
|
||||||
"version": "0.0.7",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "madisonlinux",
|
"name": "madisonlinux",
|
||||||
"version": "0.0.7",
|
"version": "0.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"body-parser": "^2.2.0",
|
"body-parser": "^2.2.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "madisonlinux",
|
"name": "madisonlinux",
|
||||||
"version": "0.0.7",
|
"version": "0.1.0",
|
||||||
"description": "Website for upcoming Linux install party in Madison WI",
|
"description": "Website for upcoming Linux install party in Madison WI",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"web",
|
"web",
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ class Web {
|
|||||||
else if(!adminMode){
|
else if(!adminMode){
|
||||||
console.log(req.headers?.['user-agent']);
|
console.log(req.headers?.['user-agent']);
|
||||||
}
|
}
|
||||||
res.render('index', {
|
res.render('index_after', {
|
||||||
page: {
|
page: {
|
||||||
title: 'Madison End of 10 Install Party',
|
title: 'Madison End of 10 Install Party',
|
||||||
titlesuffix: 'Get help installing Linux',
|
titlesuffix: 'Get help installing Linux',
|
||||||
|
|||||||
38
views/index_after.ejs
Normal file
38
views/index_after.ejs
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<%- include("head", locals) %>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="preload">
|
||||||
|
<%- include("navigation", locals) %>
|
||||||
|
<div class="content">
|
||||||
|
<% if (adminMode) { %>
|
||||||
|
<%- include("installform", locals) %>
|
||||||
|
<% } %>
|
||||||
|
<h1>Linux Install Party Madison</h1>
|
||||||
|
<% if (installs && installs.length) { %>
|
||||||
|
<div id="installs">
|
||||||
|
<h1>We have saved <span><%= installs.length %></span> computer<% if (installs.length > 1) { %>s<% } %>!</h1>
|
||||||
|
</div>
|
||||||
|
<% } %>
|
||||||
|
<h2>Thanks for saving your computers!</h2>
|
||||||
|
<p>
|
||||||
|
Thank you all for attending! It was great meeting everyone and I hope you all
|
||||||
|
enjoy your new OS's! Thanks to <a href="https://www.sector67.org/">Sector67</a>
|
||||||
|
for hosting the event and recruiting volunteers as well.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
No promises, but perhaps we'll do this again in the future. You better believe if
|
||||||
|
Windows 10 ends up in the news due to a major vulnerability, I will almost certainly
|
||||||
|
be contemplating organizing another event. So stay tuned.
|
||||||
|
</p>
|
||||||
|
<h2>Need help?</h2>
|
||||||
|
<p>
|
||||||
|
If we set up your Linux installation and you need help or guidance, shoot me an
|
||||||
|
email at <a href="mailto:endof10@cory.sanin.dev">endof10@cory.sanin.dev</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
<nav>
|
<nav>
|
||||||
<ul class="nav_links">
|
<ul class="nav_links">
|
||||||
<li><a href="/">Home</a></li>
|
<li><a href="/">Home</a></li>
|
||||||
<li><a href="/#event">Event Details</a></li>
|
|
||||||
<li><a href="/os">OS Recommendations</a></li>
|
<li><a href="/os">OS Recommendations</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user