-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinters.html
111 lines (100 loc) · 5.6 KB
/
printers.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PDX Hackerspace Dashboard</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="Portland's Hackerspace. Check out our website calendar for our weekly open house and all other events open to the public.">
<meta name="robots" content="noindex">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css" integrity="sha384-degZUV6f5Qw/AGD0Kq6kEC7j8V6h+IWPfm+AJ+2q3gaTFa9U4fu/9u3Egh7xOYE4" crossorigin="anonymous">
<style>
@import url("https://stackpath.bootstrapcdn.com/bootswatch/4.5.0/flatly/bootstrap.min.css") (prefers-color-scheme: light);
@import url("https://stackpath.bootstrapcdn.com/bootswatch/4.5.0/darkly/bootstrap.min.css") (prefers-color-scheme: dark);
html {
font-size: 16px;
}
.hr-green {
color: green !important;
}
time,
#last_updated {
font-size: small;
font-style: italic;
}
body {
padding-top: 65px;
}
.progress-bar { color: black; }
.ekko-lightbox-nav-overlay { color: white !important; }
</style>
</head>
<body>
<div class="container-fluid">
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand activity-bar" href="#">PDX Hackerspace</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a href="#3d-printers" class='nav-link'>3D Printers</a>
</li>
<li class="nav-item">
<a href="#weather" class='nav-link'>Weather</a>
</li>
<li class="nav-item">
<a href="#air-quality" class='nav-link'>Air Quality</a>
</li>
</ul>
<span class='navbar-text' id='page_last_updated'>
Last updated: <time class='timeago'></time>
</span>
</div>
</nav>
</div>
<div class="container-fluid">
<div class='row'>
<div class='col-sm-12'>
<p>
<b>Printer status is only updated when the printers are active. If the Raspberry Pis running Octoprint are unplugged or powered off, status cannot be updated. If a print is cancelled at the printer or the printer is powered off, status will show the last active readings.</b>
</p>
</div>
</div><!-- row -->
<div class='row'>
<div class='col-sm-4'>
<div class='load-image-html' data-homebus-uuid='aa40ff68-9dd6-4f92-85fe-ff2704457c0a' data-name='Prusa-1' data-gallery-name='3d-printers'></div>
<div class='load-3dprinter-html' data-homebus-uuid='54a613a5-a3d3-4187-a1de-3210f6a8b956'></div>
</div>
<div class='col-sm-4'>
<div class='load-image-html' data-homebus-uuid='ad89d239-f65d-4aa2-9c17-434c022e93a7' data-name='Prusa-2' data-gallery-name='3d-printers'></div>
<div class='load-3dprinter-html' data-homebus-uuid='c608349d-e87f-4a0f-b4ff-645fda50f4a2'></div>
</div>
</div><!-- row -->
<hr class='hr'/>
<div id='weather' class='row'>
<div data-homebus-uuid='6f85c377-bddf-48d4-b7b6-45ea5119f7ac' class='col-sm-4 load-weather-html' data-name='OpenWeather Map'></div>
<div data-homebus-uuid='ed2febdc-1159-4381-86b5-14d4da98b6e9' class='col-sm-4 load-weather-html' data-name='^H Weather Station'></div>
<div data-homebus-uuid='5cb1b1e1-f5a8-4468-a91d-1ab0c928dc15' class='col-sm-4 load-aqi-html'></div>
</div>
<!-- row -->
<div class='row'>
<div class='col'>
<i>Want to hack this?</i>
Source is at
<a href='https://github.com/HomeBusProjects/ctrlh-printers'>https://github.com/HomeBusProjects/ctrlh-printers</a>
</div>
</div>
</div>
<script src='https://cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.1.0/paho-mqtt.min.js' type='text/javascript'></script>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=' crossorigin='anonymous'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-timeago/1.6.7/jquery.timeago.min.js' integrity='sha384-bIExnxLHdrb4/5cUciUyC490hqkTPFw6V1eUbG0gpKQ67B3dsT6KOdXvl5RycCM6' crossorigin='anonymous'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js' integrity='sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q' crossorigin='anonymous'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' crossorigin='anonymous'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.min.js' integrity='sha384-bqIl0+8hxcMpOFf8O3ffwAy5qTUbFPyuNFytX/omkD4RDPMOBtt/uV6Lqlw7sljM' crossorigin='anonymous'></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>
<script src='https://printers.pdxhackerspace.org/credentials.js'></script>
<script src='dashboard.js?i=23'></script>
</body>
</html>