150 lines
3.6 KiB
Handlebars
150 lines
3.6 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
|
|
]
|
|
} );
|
|
$('#ctab').DataTable( {
|
|
searching: false,
|
|
info: false,
|
|
paging: false,
|
|
columnsDefs: [
|
|
null,
|
|
{ "sType": "numeric" },
|
|
{ "sType": "numeric" },
|
|
{ "sType": "numeric" },
|
|
{ "sType": "numeric" },
|
|
{ "sType": "numeric" },
|
|
null
|
|
]
|
|
} );
|
|
$('#chtab').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">
|
|
<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-3">
|
|
<h5 class="bg-info text-white text-center w-100 p-2">Simple Reactions</h5>
|
|
<table width="100%" id="stab" class="table table-bordered text-center">
|
|
<thead>
|
|
<th>Reaction</th>
|
|
<th>Inputs</th>
|
|
<th>Tax</th>
|
|
<th>Output</th>
|
|
<th>Profit</th>
|
|
<th>% prof.</th>
|
|
</thead>
|
|
<tbody>
|
|
{{#stable}}
|
|
<tr class="text-white {{#if pos}}bg-success{{/if}}{{#if neg}}bg-danger{{/if}}">
|
|
<td>{{name}}</td>
|
|
<td class="isk">{{i}}</td>
|
|
<td class="isk">{{tax}}</td>
|
|
<td class="isk">{{o}}</td>
|
|
<td class="isk">{{prof}}</td>
|
|
<td>{{per}}</td>
|
|
</tr>
|
|
{{/stable}}
|
|
</tbody>
|
|
</table>
|
|
|
|
<h5 class="bg-info text-white text-center w-100 p-2 mt-3">Complex Reactions</h5>
|
|
<table width="100%" id="ctab" class="table table-bordered text-center">
|
|
<thead>
|
|
<th>Reaction</th>
|
|
<th>Inputs</th>
|
|
<th>Tax</th>
|
|
<th>Output</th>
|
|
<th>Profit</th>
|
|
<th>% prof.</th>
|
|
</thead>
|
|
<tbody>
|
|
{{#ctable}}
|
|
<tr class="text-white {{#if pos}}bg-success{{/if}}{{#if neg}}bg-danger{{/if}}">
|
|
<td>{{name}}</td>
|
|
<td class="isk">{{i}}</td>
|
|
<td class="isk">{{tax}}</td>
|
|
<td class="isk">{{o}}</td>
|
|
<td class="isk">{{prof}}</td>
|
|
<td>{{per}}</td>
|
|
</tr>
|
|
{{/ctable}}
|
|
</tbody>
|
|
</table>
|
|
|
|
<h5 class="bg-info text-white text-center w-100 p-2 mt-3">Complex Chain Reactions</h5>
|
|
<table width="100%" id="chtab" class="table table-bordered text-center">
|
|
<thead>
|
|
<th>Reaction</th>
|
|
<th>Inputs</th>
|
|
<th>Tax</th>
|
|
<th>Output</th>
|
|
<th>Profit</th>
|
|
<th>% prof.</th>
|
|
</thead>
|
|
<tbody>
|
|
{{#chtable}}
|
|
<tr class="text-white {{#if pos}}bg-success{{/if}}{{#if neg}}bg-danger{{/if}}">
|
|
<td>{{name}}</td>
|
|
<td class="isk">{{i}}</td>
|
|
<td class="isk">{{tax}}</td>
|
|
<td class="isk">{{o}}</td>
|
|
<td class="isk">{{prof}}</td>
|
|
<td>{{per}}</td>
|
|
</tr>
|
|
{{/chtable}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|