115 lines
4.1 KiB
HTML
115 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>ED Safari v0.0.1</title>
|
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" crossorigin="anonymous">
|
|
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<!-- CURRENT LOCATION -->
|
|
<div class="container-fluid">
|
|
<div class="row separator align-items-center">
|
|
<div class="col"><hr class="separator"></div>
|
|
<div class="col-auto">Current Location</div>
|
|
<div class="col"><hr class="separator"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- table header -->
|
|
<div class="container-fluid">
|
|
<div class="row ml-1 mr-1 separator">
|
|
<div class="col-3 text-center">Name</div>
|
|
<div class="col">Type</div>
|
|
<div class="col-auto text-center">Distance</div>
|
|
<div class="col-1 text-center">Details</div>
|
|
<div class="col-2 text-center">Mapped Value</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- system name -->
|
|
<div class="container-fluid">
|
|
<div class="row ml-1 mr-1">
|
|
<div id="currentLocation" :class="[
|
|
'col',
|
|
'system',
|
|
{
|
|
charted: currentLocation !== 'Unknown',
|
|
highlighted: currentLocation === 'Unknown',
|
|
'text-center': currentLocation === 'Unknown'
|
|
}
|
|
]">
|
|
<i class="flaticon-solar-system"></i>
|
|
{{ currentLocation.name }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- high-value scans -->
|
|
<div class="container-fluid">
|
|
<div class="row ml-1 mr-1 align-items-center"></div>
|
|
</div>
|
|
|
|
<!-- low-value scans -->
|
|
<div class="container-fluid">
|
|
<div v-for="body in currentSystemBodies" :key="body.BodyID" class="row ml-1 mr-1">
|
|
<div class="col-1 system"><!-- indent --></div>
|
|
|
|
<div class="col-2 system charted text-left">
|
|
<i :class="{
|
|
'flaticon-jupiter-3': body.PlanetClass,
|
|
'flaticon-star': body.StarType,
|
|
'flaticon-asteroid-4': body.BodyName.includes('Belt')
|
|
}"></i>
|
|
{{ body.BodyName.replace(body.StarSystem, '') }}
|
|
</div>
|
|
|
|
<div class="col pr-0 mr-0 system charted">
|
|
<i :class="{
|
|
'flaticon-star': body.StarType,
|
|
'flaticon-asteroid-4': body.BodyName.includes('Belt')
|
|
}"></i>
|
|
{{ body.PlanetClass || body.StarType || '' }}
|
|
</div>
|
|
|
|
<div class="col-auto pl-2 ml-0 system charted">
|
|
{{ Intl.NumberFormat().format(Math.round(body.DistanceFromArrivalLS)) }}
|
|
</div>
|
|
|
|
<div class="col-auto system charted"><!-- icons --></div>
|
|
|
|
<div class="col-2 system charted text-right"><!-- mapped value --></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- NAV ROUTE -->
|
|
<div class="container-fluid">
|
|
<div class="row separator align-items-center">
|
|
<div class="col"><hr class="separator"></div>
|
|
<div class="col-auto">Nav Route</div>
|
|
<div class="col"><hr class="separator"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- table header -->
|
|
<div class="container-fluid">
|
|
<div class="row ml-1 mr-1 separator">
|
|
<div class="col-1 text-right">LY</div>
|
|
<div class="col-3 text-center">Name</div>
|
|
<div class="col">Type</div>
|
|
<div class="col-2 text-center">Mapped Value</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container-fluid">
|
|
<div class="row separator align-items-center">
|
|
<div class="col"><hr class="seperator"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="module" src="/src/renderer.js"></script>
|
|
</body>
|
|
</html>
|