-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcomponent_tracing.html
More file actions
185 lines (145 loc) · 6.08 KB
/
component_tracing.html
File metadata and controls
185 lines (145 loc) · 6.08 KB
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Component Tracing</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/custom.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
#main-menu {
}
#main-menu ul {
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}
#main-menu li {
display: inline;
}
</style>
</head>
<body>
<div id="main-menu" class="container">
<div class="row-fluid">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<ul>
<li>
<button id="loadButton">Load</button>
</li>
<li>
<button id="saveButton">Save</button>
</li>
<li>
<button id="resetButton">Reset</button>
</li>
</ul>
</div>
</div>
</div>
<div class="container">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="menu1" data-toggle="dropdown">Add / Select Machine
<span class="caret"></span></button>
<ul class="dropdown-menu" id="machineSelector" role="menu" aria-labelledby="menu1">
<li class="keep">Select a Machine</li>
<li class="keep"><a role="menuitem" id="showMachineForm">Add New Machine</a></li>
</ul>
</div>
</div>
<div class="container">
<div class="row" id="showHideMachine">
<div class="col-lg-3">
<!-- <div class="col-lg-4 textPush">New Machine ID</div> -->
<div class="col-lg-6"><input type="text" name="" id="newMach" class="form-control" placeholder="New Machine ID" required="required" title=""></div>
</div> <!-- this is the end of the first col of the input div -->
<div class="col-lg-3">
<!-- <div class="col-lg-4 textPush">Year/Make/Model</div> -->
<div class="col-lg-6"><input type="text" name="" id="newYMM" class="form-control" placeholder="Year/Make/Model" required="required" title=""></div>
</div> <!-- this is the end of the second col of the input div -->
<div class="col-lg-3">
<!-- <div class="col-lg-4 textPush">In Service Date</div> -->
<div class="col-lg-6"><input type="text" name="" id="newISD" class="form-control" placeholder="In Service Date" required="required" title=""></div>
</div> <!-- this is the end of the third col for the input -->
<div>
<button type="button" class="btn btn-info" id="addMachine">Add Machine</button>
</div>
</div>
</div>
<div class="container">
<h1 class="text-center">Component Tracing</h1>
<div class="row">
<h1 class="col-lg-3" id="eqNum">Dz1111</h1>
<!-- these will change with javascript -->
<h2 class="col-lg-3" id="eqInfo">2011 D10 Dozer</h2>
<h2 class="col-lg-3" id="eqISD">In Service Date 2/11/12</h2>
</div><!--End of Row #1 -->
<div class="row">
<div class="col-lg-2" id="component">
</div><!-- End of Column 1 -->
<div class="col-lg-1" id="hours">
</div>
<div class="col-lg-2" id="projection">
</div>
<div class="col-lg-1" id="part-item-input-">
</div>
<div class="col-lg-3">
<div style="height: 4em;"></div>
<div id="adjust1">
</div>
</div>
</div><!-- End of Row #2 -->
<div class="row" id="entry">
<div class="col-lg-2">
<div class="comp"><p>Hours Worked</p></div>
</div>
<div class="col-lg-1">
<div class="hours"><input type="number" name="" id="input" class="form-control" value="0" min="0" max="24" step=".25" required="required" title=""></div>
</div>
<div class="col-lg-1">
<div><button type="button" class="btn btn-info" id="submit">Submit</button></div>
</div>
</div> <!-- End of Row 3 -->
<!-- this is the spot for the add component feature. -->
<div class="row">
<div class="feature">
<button type="button" class="btn btn-info" id="addComp">Add Components</button>
</div> <!-- this is the end of the feature div. -->
</div> <!-- this is the end of the top row for the add button -->
<div class="row" id="showHide">
<div class="col-lg-3">
<div class="col-lg-4 textPush">Component</div>
<div class="col-lg-6"><input type="text" name="" id="newComp" class="form-control" value="Item here" min="" max="" step="" required="required" title=""></div>
</div> <!-- this is the end of the first col of the input div -->
<div class="col-lg-3" >
<div class="col-lg-4 textPush"id="textFormat">Hours</div>
<div class="col-lg-6"><input type="number" name="" id="newRoof" class="form-control" value=0 min="0" max="" step=".25" required="required" title=""></div>
</div> <!-- this is the end of the second col of the input div -->
<div class="col-lg-3">
<div class="col-lg-4 textPush">Projection</div>
<div class="col-lg-6"><input type="number" name="" id="newProj" class="form-control" value=0 min="0" max="" step=".25" required="required" title=""></div>
</div> <!-- this is the end of the third col for the input -->
<div>
<button type="button" class="btn btn-info" id="insertComp">input Components</button>
<span class="glyphicon-remove glyphicon class " id="out">Exit</span>
</div>
</div> <!-- end of the show and hide feilds -->
</div> <!-- End of Container -->
<!-- jQuery -->
<script type="text/javascript" src="js/jquery.js"></script>
<!-- Bootstrap JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/model.js"></script>
<script type="text/javascript" src="js/ajax.js"></script>
<script type="text/javascript" src="js/addComponent.js"></script>
<script type="text/javascript" src="js/addMachine.js"></script>
</body>
</html>