189 lines
6.3 KiB
Handlebars
189 lines
6.3 KiB
Handlebars
|
<script>
|
||
|
$(document).ready(function() {
|
||
|
$('#stab').DataTable( {
|
||
|
searching: false,
|
||
|
info: false,
|
||
|
paging: false,
|
||
|
columnsDefs: [
|
||
|
null,
|
||
|
{ "sType": "numeric" },
|
||
|
{ "sType": "numeric" },
|
||
|
{ "sType": "numeric" },
|
||
|
{ "sType": "numeric" },
|
||
|
{ "sType": "numeric" },
|
||
|
null
|
||
|
]
|
||
|
} );
|
||
|
});
|
||
|
</script>
|
||
|
<div class="container">
|
||
|
<div class="row mt-4">
|
||
|
<h1 class="text-center w-100">{{data.name}} Reaction</h1>
|
||
|
</div>
|
||
|
<div class="row mt-4">
|
||
|
<table class="table table-sm table-bordered text-center">
|
||
|
<thead>
|
||
|
<th>In Method</th>
|
||
|
<th>Out Method</th>
|
||
|
<th>Reactions</th>
|
||
|
<th>Facility</th>
|
||
|
<th>Rig</th>
|
||
|
<th>Space</th>
|
||
|
<th>System</th>
|
||
|
<th>IndyTax</th>
|
||
|
<th>Build Time</th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr class="">
|
||
|
<td>{{sett.input}}</td>
|
||
|
<td>{{sett.output}}</td>
|
||
|
<td>Level {{sett.skill}}</td>
|
||
|
<td>{{sett.facility}} Refinery</td>
|
||
|
<td>T{{sett.rig}} Rig</td>
|
||
|
<td>{{sett.space}}sec</td>
|
||
|
<td>{{sett.system}}</td>
|
||
|
<td>{{sett.indyTax}}</td>
|
||
|
<td>{{sett.duration}} Minutes</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="row mt-4">
|
||
|
<form action="/settings/hyb-adv/set" method="get" id="advsettings"><input type="hidden" name="url" form="advsettings" value="{{data.url}}"/></form>
|
||
|
<table class="table table-sm table-bordered text-center">
|
||
|
<thead>
|
||
|
<th># Runs per cycle</th>
|
||
|
<th>Cycle time</th>
|
||
|
<th>Total time</th>
|
||
|
<th># Cycles</th>
|
||
|
<th>Save</th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr class="">
|
||
|
<td><input id="cycles" form="advsettings" name="cycles" placeholder="50" type="number" min="1" max="300" value="{{advsett.cycles}}" class="here" aria-describedby="cyclesHelpBlock" required="required"></td>
|
||
|
<td>{{advsett.ctime}} Minutes</td>
|
||
|
<td>{{sett.duration}} Minutes</td>
|
||
|
<td>{{advsett.tcycles}}</td>
|
||
|
<td><button name="submit" form="advsettings" type="submit" class="btn btn-sm btn-primary">Save</button></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</form>
|
||
|
</div>
|
||
|
<div class="row mt-5">
|
||
|
<div class="col-6">
|
||
|
<div class="card w-100">
|
||
|
<div class="card-header bg-danger text-white text-center w-100">
|
||
|
INPUTS
|
||
|
</div>
|
||
|
<table width="100%" class="table table-sm table-bordered text-center">
|
||
|
<thead>
|
||
|
<th>Name</th>
|
||
|
<th>Quantity</th>
|
||
|
<th>Price</th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{{#intable}}
|
||
|
<tr class="">
|
||
|
<td>{{name}}</td>
|
||
|
<td>{{qt}}</td>
|
||
|
<td class="isk">{{pricestr}}</td>
|
||
|
</tr>
|
||
|
{{/intable}}
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<th>{{intt.name}}</td>
|
||
|
<th>{{intt.qt}}</td>
|
||
|
<th class="isk">{{intt.pricestr}}</td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="card w-100 mt-4">
|
||
|
<div class="card-header bg-danger text-white text-center w-100">
|
||
|
TAXES
|
||
|
</div>
|
||
|
<table width="100%" class="table table-sm table-bordered text-center">
|
||
|
<thead>
|
||
|
<th>Name</th>
|
||
|
<th>Percentage</th>
|
||
|
<th>Price</th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{{#taxtable}}
|
||
|
<tr class="">
|
||
|
<td>{{name}}</td>
|
||
|
<td>{{perc}} %</td>
|
||
|
<td class="isk">{{pricestr}}</td>
|
||
|
</tr>
|
||
|
{{/taxtable}}
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<th colspan="2">{{taxtt.name}}</td>
|
||
|
<th class="isk">{{taxtt.pricestr}}</td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-6">
|
||
|
<div class="card w-100">
|
||
|
<div class="card-header bg-success text-white text-center w-100">
|
||
|
OUTPUTS
|
||
|
</div>
|
||
|
<table width="100%" class="table table-sm table-bordered text-center">
|
||
|
<thead>
|
||
|
<th>Name</th>
|
||
|
<th>Quantity</th>
|
||
|
<th>Price</th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{{#outtable}}
|
||
|
<tr class="">
|
||
|
<td>{{name}}</td>
|
||
|
<td>{{qt}}</td>
|
||
|
<td class="isk">{{pricestr}}</td>
|
||
|
</tr>
|
||
|
{{/outtable}}
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<th>{{outtt.name}}</td>
|
||
|
<th>{{outtt.qt}}</td>
|
||
|
<th class="isk">{{outtt.pricestr}}</td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div class="card w-100 mt-4">
|
||
|
<div class="card-header bg-info text-white text-center w-100">
|
||
|
PROFIT REPORT
|
||
|
</div>
|
||
|
<table width="100%" class="table table-sm table-bordered text-center">
|
||
|
<thead>
|
||
|
<th>Type</th>
|
||
|
<th>Price</th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{{#reptable}}
|
||
|
<tr class="">
|
||
|
<td>{{type}}</td>
|
||
|
<td class="isk">{{pricestr}}</td>
|
||
|
</tr>
|
||
|
{{/reptable}}
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<th>{{reptt.type}}</td>
|
||
|
<th class="isk">{{reptt.pricestr}}</td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|