Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 113 lines (112 sloc) 3.52 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>
</title>
<link rel="stylesheet" href="./lib/jquery.mobile-1.0.1.min.css" />
d <link rel="stylesheet" href="./app.css" />
<script src="./lib/jquery.min.js"></script>
<script src="./lib/jquery.mobile-1.0.1.min.js"></script>
<script src="./app.js"></script>
</head>
<body>
<div data-role="page" id="calc">
<div data-theme="a" data-role="header">
<h3>
Fuelr
</h3>
</div>
<div data-role="content">
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="fob">
Fuel on Board
</label>
<input id="fob" placeholder="" value="" type="number" />
<label id="weight-measurement">
KG
</label>
</fieldset>
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="target">
Target
</label>
<input id="target" placeholder="" value="" type="number" />
<label id="weight-measurement">
KG
</label>
</fieldset>
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="fueluplift">
Fuel Uplift
</label>
<input id="fueluplift" placeholder="" value="" type="number" />
<label id="volume-measurement">
L
</label>
</fieldset>
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="density">
Density
</label>
<input id="density" placeholder="" value="" type="number" />
<label id="density-measurement">
KG/L
</label>
</fieldset>
</div>
<input id='calculate' type="submit" data-icon="gear" data-iconpos="left" value="Calculate" />
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="fuelactual">
Fuel Actual
</label>
<input id="fuelactual" readonly="readonly" placeholder="" value="" type="text" />
<label id="weight-measurement">
KG
</label>
</fieldset>
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="discrepency">
Discrepency
</label>
<input id="discrepency" placeholder="" readonly="readonly" value="" type="text" />
<label id="weight-measurement">
KG
</label>
</fieldset>
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="percent">
%
</label>
<input id="percent" placeholder="" readonly="readonly" value="" type="text" />
</fieldset>
</div>
</div>
<div data-role="footer" data-position="fixed">
<div data-role="navbar">
<ul>
<li><a id="calculator" href="#calc" data-role="tab" data-icon="grid" class="ui-btn-active">Calculator</a></li>
</ul>
</div>
</div>
</div>
<script>
$(document).ready(function() {
Fuelr.init();
});
</script>
</body>
</html>