mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
added sensors pages and other minor changes
This commit is contained in:
20
views/404.ejs
Normal file
20
views/404.ejs
Normal file
@@ -0,0 +1,20 @@
|
||||
<% include layout.ejs %>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="header"></div>
|
||||
|
||||
<% include ../public/html/navbar.html %>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<h1 class="text-center large-text">404</h1>
|
||||
<h4 class="text-center">This page may be in production, or it may not exist.</h4>
|
||||
|
||||
|
||||
|
||||
<% include layoutBottom.ejs %>
|
||||
|
||||
@@ -24,8 +24,11 @@
|
||||
|
||||
</div>
|
||||
|
||||
<% include ../public/html/navbar.html %>
|
||||
|
||||
<div class="container">
|
||||
|
||||
|
||||
<div class="blog-header">
|
||||
|
||||
<h1 class="blog-title">mitchellG.me</h1>
|
||||
@@ -73,9 +76,6 @@
|
||||
<i class="icon-large icon-linked-in"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="/newpost"><button class="center btn btn-default">Submit Post</button></a>
|
||||
</div>
|
||||
<div class="sidebar-module">
|
||||
|
||||
<h3 class="textCenter">Enter Reminder</h3>
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<% include ../public/html/navbar.html %>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<form action="/newpost" method="post" enctype="multipart/form-data" class="form-signin">
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<% include ../public/html/navbar.html %>
|
||||
|
||||
<div class="container">
|
||||
<br>
|
||||
<h1 class="text-center">ESP8266 Temperature Sensors</h1>
|
||||
@@ -44,6 +46,12 @@
|
||||
<h3><%=query[i]._id%></h3>
|
||||
<h4>Temperature: <%=query[i].temperature%></h4>
|
||||
<h4>Humidity: <%=query[i].humidity%></h4>
|
||||
<% if (query[i].connected){ %>
|
||||
<span class="colorGreen">Connected</span>
|
||||
<%} else {%>
|
||||
<span class="colorRed">Disconnected</span>
|
||||
<%}%>
|
||||
|
||||
</div>
|
||||
<%}%>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user