-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (126 loc) · 7.33 KB
/
index.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CONSOLE</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:Light" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/foundation.min.css">
<link rel="stylesheet" href="css/foundation.css" />
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<script src="js/lib/modernizr.js"></script>
<script src="js/lib/jquery.js"></script>
<script src="js/lib/foundation.min.js"></script>
<!-- <script src="js/lib/foundation.dropdown.js"></script> -->
<script src="js/lib/fastclick.js"></script>
<script src="js/lib/fabmo.js"></script>
<script> let fabmo = new FabMoDashboard();</script>
<!-- Layout -->
<div class="row">
<!-- Macro Button Panel (medium up; left position) -->
<div class="small-12 medium-6 columns show-for-medium-up">
<p class="show-for-medium-up"> </p>
<div class="callout panel" id="macros">
<!-- Buttons (actions) -->
<button type="button" class="button success large radius macros" id="cut_part_call" style="color:rgba(251, 255, 20, 0.76)"> == CUT PART == </button>
<button type="button" class="secondary button large radius macros" id="first_macro_button" style="color:rgba(251, 255, 20, 0.76)">Home X & Y (C3)</button>
<button type="button" class="secondary button large radius macros" id="second_macro_button" style="color:rgba(251, 255, 20, 0.76)" >Set Z Zero (C2)</button>
<p class="show-for-medium-up" title="Access other Macros from left-side menu" style="color:rgba(251, 255, 20, 0.40)">Useful Commands and Macros</p>
</div>
</div>
<!-- DRO Display Panel -->
<div class="small-12 medium-6 columns">
<div class="callout panel" id="dro">
<p style="top: 20px" id="tool-display-x"> X ---.--- </p>
<p style="top: 80px" id="tool-display-y"> Y ---.--- </p>
<p style="top: 140px" id="tool-display-z"> Z ---.--- </p>
<p style="top: 200px" id="tool-display-a"> A ---.--- </p>
<p style="top: 260px" id="tool-display-b"> B ---.--- </p>
</div>
</div>
<!-- Macro Button Panel (small only; lower position) -->
<div class="small-12 medium-6 columns show-for-small-only">
<div class="callout panel" id="macros">
<!-- Buttons (actions) -->
<button type="button" class="button success large radius macros" id="cut_part_call" style="color:rgba(251, 255, 20, 0.76)">== CUT PART ==</button>
<button type="button" class="secondary button large radius macros" id="first_macro_button" style="color:rgba(251, 255, 20, 0.76)">Home X & Y (C3)</button>
<button type="button" class="secondary button large radius macros" id="second_macro_button" style="color:rgba(251, 255, 20, 0.76)" >Set Z Zero (C2)</button>
<p class="show-for-medium-up" title="Access other Macros from left-side menu" style="color:rgba(251, 255, 20, 0.40)">Useful Commands and Macros</p>
</div>
</div>
<!-- I/O Display Panel -->
<div class="small-12 medium-6 columns">
<ul class="button-group readonly" id="inputs">
<li><label class="show-for-small-only"></label></li>
<li><label class="show-for-medium-up">Inputs</label></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="dinput button radius" id="inp1">1</a></li>
<li><a class="dinput button radius" id="inp2">2</a></li>
<li><a class="dinput button radius" id="inp3">3</a></li>
<li><a class="dinput button radius" id="inp4">4</a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="dinput button radius" id="inp5">5</a></li>
<li><a class="dinput button radius" id="inp6">6</a></li>
<li><a class="dinput button radius" id="inp7">7</a></li>
<li><a class="dinput button radius" id="inp8">8</a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="dinput button radius" id="inp9">9</a></li>
<li><a class="dinput button radius" id="inp10">10</a></li>
<li><a class="dinput button radius" id="inp11">11</a></li>
<li><a class="dinput button radius" id="inp12">12</a></li>
</ul>
<ul class="button-group" id="outputs">
<li><label class="show-for-small-only"></label></li>
<li><label class="show-for-medium-up">Outputs</label></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer show-for-small-only"> </a></li>
<li><a class="spacer show-for-small-only"> </a></li>
<li><a class="doutput button radius" id="out1">1</a></li>
<li><a class="doutput button radius" id="out2">2</a></li>
<li><a class="doutput button radius" id="out3">3</a></li>
<li><a class="doutput button radius" id="out4">4</a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="doutput button radius" id="out5">5</a></li>
<li><a class="doutput button radius" id="out6">6</a></li>
<li><a class="doutput button radius" id="out7">7</a></li>
<li><a class="doutput button radius" id="out8">8</a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="spacer"> </a></li>
<li><a class="doutput button radius" id="out9">9</a></li>
<li><a class="doutput button radius" id="out10">10</a></li>
<li><a class="doutput button radius" id="out11">11</a></li>
<li><a class="doutput button radius" id="out12">12</a></li>
</ul>
<p></p>
<p id="copyright"> © Copyright ShopBot Tools 2019.</p>
</div>
</div>
<!--
<footer class="row">
<div class="large-12 columns">
<div class="row">
<div class="large-6 columns">
<p>[ Alt-F4 exits kiosk mode; Ctl-Tab switches windows ]</p>
<p>© Copyright ShopBot Tools 2018.</p>
</div>
</div>
</div>
</footer>
-->
<script src="js/initialize_ready.js"></script>
<script src="js/tool_config.js"></script>
<script src="js/sb_app.js"></script>
</body>
</html>