mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-13 04:36:17 -04:00
Update Status, Power now look nice, also shows est refuel time
Status now shows alerts when taking damage JournalService support more journals Added enums to frontend, not quite working Added More examples to Explorer component
This commit is contained in:
@ -33,5 +33,6 @@
|
||||
div {
|
||||
flex: 50%;
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
@ -1,11 +1,34 @@
|
||||
<script lang="ts">
|
||||
const data: unknown[] = [{}, {}, {}, {}];
|
||||
// number of scans completed
|
||||
const scanned = 2;
|
||||
// total bodies in the current system (FSSDiscovery event)
|
||||
const totalBodies = 12;
|
||||
// accumulated list of bodies in the current system (Scan events)
|
||||
const bodies = $state([
|
||||
{ value: 50 },
|
||||
{ value: 1000 },
|
||||
{ value: 800000 },
|
||||
{ value: 800000 },
|
||||
]);
|
||||
</script>
|
||||
|
||||
<section>
|
||||
<div class="title">
|
||||
<h1>Explorer</h1>
|
||||
</div>
|
||||
<!-- summary & high value targets -->
|
||||
<h1>Bodies</h1>
|
||||
Scan: <span>{scanned}</span>/<span>{totalBodies}</span>
|
||||
<div class="title">High Value (>500kcr)</div>
|
||||
<ol>
|
||||
{#each bodies.filter((b) => b.value > 500000) as body}
|
||||
<li>[HMC/WW/ELT/ELN] $body.name - {body.value}cr</li>
|
||||
{/each}
|
||||
</ol>
|
||||
<br />
|
||||
<br />
|
||||
<!-- Full system data -->
|
||||
<div class="box">
|
||||
{#each data as row}
|
||||
<div class="group">
|
||||
|
Reference in New Issue
Block a user