2013-11-23 21:42:23 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2013-11-24 17:35:39 +00:00
|
|
|
|
2013-11-23 21:42:23 +00:00
|
|
|
<title>PicoReflow</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2013-11-28 22:21:00 +00:00
|
|
|
|
2013-11-23 21:42:23 +00:00
|
|
|
<script src="assets/js/jquery-1.10.2.min.js"></script>
|
2013-11-29 18:39:11 +00:00
|
|
|
<script src="assets/js/jquery.event.drag-2.2.js"></script>
|
|
|
|
<script src="assets/js/jquery.flot.js"></script>
|
|
|
|
<script src="assets/js/jquery.flot.resize.js"></script>
|
|
|
|
<script src="assets/js/jquery.flot.draggable.js"></script>
|
2013-11-23 21:42:23 +00:00
|
|
|
<script src="assets/js/bootstrap.min.js"></script>
|
2013-11-28 22:21:00 +00:00
|
|
|
<script src="assets/js/jquery.bootstrap-growl.min.js"></script>
|
2013-11-23 21:42:23 +00:00
|
|
|
<script src="assets/js/select2.min.js"></script>
|
2013-11-29 21:46:00 +00:00
|
|
|
<script src="assets/js/picoreflow.js"></script>
|
2013-11-28 16:17:15 +00:00
|
|
|
|
2013-11-24 17:35:39 +00:00
|
|
|
<link rel="stylesheet" href="assets/css/bootstrap.min.css"/>
|
|
|
|
<link rel="stylesheet" href="assets/css/bootstrap-theme.min.css"/>
|
2013-12-05 18:53:18 +00:00
|
|
|
<link rel="stylesheet" href="assets/css/bootstrap-modal-bs3patch.css"/>
|
|
|
|
<link rel="stylesheet" href="assets/css/bootstrap-modal.css"/>
|
2013-11-23 21:42:23 +00:00
|
|
|
<link rel="stylesheet" href="assets/css/select2.css"/>
|
2013-11-24 17:35:39 +00:00
|
|
|
<link rel="stylesheet" href="assets/css/picoreflow.css"/>
|
2013-11-23 21:42:23 +00:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="container">
|
2013-12-05 23:47:43 +00:00
|
|
|
<div id="status">
|
2013-12-06 18:12:49 +00:00
|
|
|
<div class="ds-title-panel">
|
2013-12-09 14:10:22 +00:00
|
|
|
<div class="ds-title">Sensor Temp</div>
|
2013-12-09 11:51:08 +00:00
|
|
|
<div class="ds-title">Target Temp</div>
|
|
|
|
<div class="ds-title ds-state">Status</div>
|
2013-12-06 18:12:49 +00:00
|
|
|
</div>
|
2013-12-05 23:47:43 +00:00
|
|
|
<div class="ds-panel">
|
2013-12-06 18:12:49 +00:00
|
|
|
<div class="display ds-num"><span id="act_temp">25</span><span class="ds-unit">°C</span></div>
|
2013-12-09 11:51:08 +00:00
|
|
|
<div class="display ds-num ds-target"><span id="target_temp">---</span><span class="ds-unit">°C</span></div>
|
|
|
|
<div class="display ds-num ds-state" id="state"></div>
|
|
|
|
<div class="display pull-right">
|
|
|
|
<span class="ds-led" id="hazard">I</span>
|
|
|
|
<span class="ds-led" id="air">[</span>
|
|
|
|
<span class="ds-led" id="heat">\</span>
|
|
|
|
<span class="ds-led" id="cool">l</span>
|
2013-12-05 23:47:43 +00:00
|
|
|
</div>
|
2013-11-24 17:35:39 +00:00
|
|
|
</div>
|
2013-12-09 11:51:08 +00:00
|
|
|
<div class="clearfix"></div>
|
2013-12-05 23:47:43 +00:00
|
|
|
<div>
|
|
|
|
<div class="progress progress-striped active">
|
|
|
|
<div id="progressBar" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
|
|
|
|
<span class="sr-only"></span>
|
|
|
|
</div>
|
2013-11-24 17:35:39 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-23 21:42:23 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2013-12-05 18:53:18 +00:00
|
|
|
<div id="profile_selector" class="pull-left">
|
|
|
|
<select id="e2" class="select2" style="margin-top: 4px"></select>
|
|
|
|
<button id="btn_edit" type="button" class="btn btn-default" onclick="enterEditMode()"><span class="glyphicon glyphicon-edit"></span></button>
|
|
|
|
<button id="btn_new" type="button" class="btn btn-default" onclick="enterNewMode(selected_profile)"><span class="glyphicon glyphicon-plus"></span></button>
|
2013-11-29 18:39:11 +00:00
|
|
|
</div>
|
2013-12-01 00:51:45 +00:00
|
|
|
<div id="btn_controls" class="pull-right" style="margin-top: 3px">
|
2013-12-05 18:53:18 +00:00
|
|
|
<div id="nav_start" class="btn-group" style="display:none">
|
2013-12-06 22:02:07 +00:00
|
|
|
<button type="button" class="btn btn-default" onclick="runTaskSimulation();">Simulate</button>
|
2013-12-05 18:53:18 +00:00
|
|
|
<button type="button" class="btn btn-success" data-toggle="modal" data-target="#jobSummaryModal"><span class="glyphicon glyphicon-play"></span> Start</button>
|
|
|
|
</div>
|
2013-12-01 00:51:45 +00:00
|
|
|
<button id="nav_stop" type="button" class="btn btn-danger" onclick="abortTask()" style="display:none" ><span class="glyphicon glyphicon-stop"></span> Stop</button>
|
|
|
|
</div>
|
|
|
|
<div id="edit" style="display:none;">
|
|
|
|
<div class="input-group">
|
2013-11-24 23:41:40 +00:00
|
|
|
<span class="input-group-addon">Profile Name</span>
|
2013-11-24 18:42:19 +00:00
|
|
|
<input id="form_profile_name" type="text" class="form-control" />
|
|
|
|
<span class="input-group-btn">
|
|
|
|
<button class="btn btn-success" type="button" onclick="saveProfile();">Save</button>
|
2013-12-01 01:12:21 +00:00
|
|
|
<button id="btn_exit" type="button" class="btn btn-default" onclick="leaveEditMode()"><span class="glyphicon glyphicon-remove"></span></button>
|
2013-11-24 18:42:19 +00:00
|
|
|
</span>
|
2013-12-01 00:51:45 +00:00
|
|
|
</div>
|
|
|
|
<div class="btn-group btn-group-sm" style="margin-top: 10px">
|
|
|
|
<button id="btn_newPoint" type="button" class="btn btn-default" onclick="newPoint()"><span class="glyphicon glyphicon-plus"></span></button>
|
|
|
|
<button id="btn_delPoint" type="button" class="btn btn-default" onclick="delPoint()"><span class="glyphicon glyphicon-minus"></span></button>
|
|
|
|
</div>
|
|
|
|
<div class="btn-group btn-group-sm" style="margin-top: 10px">
|
|
|
|
<button id="btn_table" type="button" class="btn btn-default" onclick="toggleTable()"><span class="glyphicon glyphicon-list"></span></button>
|
2013-12-06 18:12:49 +00:00
|
|
|
<button id="btn_live" type="button" class="btn btn-default" onclick="toggleLive()"><span class="glyphicon glyphicon-eye-open"></span></button>
|
2013-12-01 00:51:45 +00:00
|
|
|
</div>
|
|
|
|
<div class="btn-group btn-group-sm" style="margin-top: 10px">
|
2013-12-09 11:51:08 +00:00
|
|
|
<button id="btn_delProfile" type="button" class="btn btn-danger" data-toggle="modal" data-target="#delProfileModal"><span class="glyphicon glyphicon-trash"></span></button>
|
2013-12-01 00:51:45 +00:00
|
|
|
</div>
|
2013-11-28 22:21:00 +00:00
|
|
|
</div>
|
2013-11-23 21:42:23 +00:00
|
|
|
</div>
|
2013-11-29 18:39:11 +00:00
|
|
|
<div class="panel-body">
|
|
|
|
<div id="graph_container" class="graph"></div>
|
2013-11-23 21:42:23 +00:00
|
|
|
</div>
|
2013-12-06 18:12:49 +00:00
|
|
|
<div id="profile_table" class="panel-footer" style="display:none;"></div>
|
2013-11-23 21:42:23 +00:00
|
|
|
</div>
|
2013-11-28 22:21:00 +00:00
|
|
|
</div>
|
2013-11-23 21:42:23 +00:00
|
|
|
|
2013-12-05 18:53:18 +00:00
|
|
|
<div id="jobSummaryModal" class="modal fade" tabindex="-1" aria-hidden="true" style="display: none;">
|
2013-11-23 21:42:23 +00:00
|
|
|
<div class="modal-dialog">
|
2013-11-28 22:21:00 +00:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
2013-11-30 13:02:46 +00:00
|
|
|
<h3 class="modal-title" id="jobSummaryModalLabel">Task Overview</h3>
|
2013-11-28 22:21:00 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<table class="table table-bordered">
|
|
|
|
<tr><td>Selected Profile</td><td><b><span id="sel_prof"></span></b></td></tr>
|
2013-11-30 13:02:46 +00:00
|
|
|
<tr><td>Estimated Runtime</td><td><b><span id="sel_prof_eta"></span></b></td></tr>
|
|
|
|
<tr><td>Estimated Power consumption</td><td><b><span id="sel_prof_cost"></span></b></td></tr>
|
2013-11-28 22:21:00 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<div class="btn-group" style="width: 100%">
|
2013-12-01 00:51:45 +00:00
|
|
|
<button type="button" class="btn btn-danger" style="width: 50%" data-dismiss="modal">No, take me back</button>
|
|
|
|
<button type="button" class="btn btn-success" style="width: 50%" data-dismiss="modal" onclick="runTask()">Yes, start the Run</button>
|
2013-11-28 22:21:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-23 21:42:23 +00:00
|
|
|
|
2013-12-09 11:51:08 +00:00
|
|
|
<div id="delProfileModal" class="modal fade" tabindex="-1" aria-hidden="true" style="display: none;">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
<h3 class="modal-title" id="jobSummaryModalLabel">Delete this profile?</h3>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
Do your really want to delete this profile?
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<div class="btn-group" style="width: 100%">
|
|
|
|
<button type="button" class="btn btn-danger" style="width: 50%" data-dismiss="modal">No, take me back</button>
|
|
|
|
<button type="button" class="btn btn-success" style="width: 50%" data-dismiss="modal" onclick="deleteProfile()">Yes, delete the profile</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-29 18:39:11 +00:00
|
|
|
|
2013-11-23 21:42:23 +00:00
|
|
|
</body>
|
|
|
|
</html>
|