2023-05-08 12:25:13 -07:00
|
|
|
<!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>
|
2023-05-08 17:42:09 -07:00
|
|
|
|
2023-05-08 12:25:13 -07:00
|
|
|
<!-- 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>
|
2023-05-08 17:42:09 -07:00
|
|
|
|
2023-05-08 12:25:13 -07:00
|
|
|
<!-- system name -->
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row ml-1 mr-1">
|
2023-05-08 17:42:09 -07:00
|
|
|
<div id="currentLocation" :class="[
|
|
|
|
'col',
|
|
|
|
'system',
|
|
|
|
{
|
|
|
|
charted: currentLocation !== 'Unknown',
|
|
|
|
highlighted: currentLocation === 'Unknown',
|
|
|
|
'text-center': currentLocation === 'Unknown'
|
|
|
|
}
|
|
|
|
]">
|
|
|
|
<i class="flaticon-solar-system"></i>
|
|
|
|
{{ currentLocation.name }}
|
2023-05-08 12:25:13 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-08 17:42:09 -07:00
|
|
|
|
2023-05-08 12:25:13 -07:00
|
|
|
<!-- high-value scans -->
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row ml-1 mr-1 align-items-center"></div>
|
|
|
|
</div>
|
2023-05-08 17:42:09 -07:00
|
|
|
|
2023-05-08 12:25:13 -07:00
|
|
|
<!-- low-value scans -->
|
|
|
|
<div class="container-fluid">
|
2023-05-08 19:13:30 -07:00
|
|
|
<div v-for="body in currentLocationBodies" :key="body.BodyID" class="row ml-1 mr-1">
|
2023-05-08 17:42:09 -07:00
|
|
|
<div class="col-1 system"><!-- indent --></div>
|
|
|
|
|
|
|
|
<div class="col-2 system charted text-left">
|
|
|
|
<i :class="{
|
2023-05-08 19:13:30 -07:00
|
|
|
'flaticon-jupiter-3': body.isPlanet(),
|
|
|
|
'flaticon-star': body.isStar(),
|
|
|
|
'flaticon-asteroid-4': body.isAsteroid()
|
2023-05-08 17:42:09 -07:00
|
|
|
}"></i>
|
2023-05-08 19:13:30 -07:00
|
|
|
{{ body.simpleName() }}
|
2023-05-08 17:42:09 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col pr-0 mr-0 system charted">
|
|
|
|
<i :class="{
|
2023-05-08 19:13:30 -07:00
|
|
|
'flaticon-star': body.isStar(),
|
|
|
|
'flaticon-asteroid-4': body.isAsteroid(),
|
|
|
|
'flaticon-ingot': body.PlanetClass?.toLowerCase().includes('metal'),
|
|
|
|
'flaticon-snowflake': body.PlanetClass?.toLowerCase().includes('icy'),
|
|
|
|
'flaticon-earth': body.PlanetClass?.toLowerCase().includes('earth'),
|
|
|
|
'flaticon-jupiter-1': body.PlanetClass?.toLowerCase().includes('gas giant'),
|
|
|
|
'flaticon-asteroid-3': body.PlanetClass?.toLowerCase().includes('rock'),
|
|
|
|
'flaticon-water-drops': body.PlanetClass?.toLowerCase().includes('water') || body.PlanetClass?.toLowerCase().includes('ammonia'),
|
2023-05-08 17:42:09 -07:00
|
|
|
}"></i>
|
2023-05-08 19:13:30 -07:00
|
|
|
|
|
|
|
<!-- rings -->
|
|
|
|
<template v-if="body.Rings">
|
|
|
|
)
|
|
|
|
<template v-for="(ring, index) in body.Rings" :key="index">
|
|
|
|
<i :class="{
|
|
|
|
'flaticon-gold-bars': ring.RingClass === 'eRingClass_MetalRich',
|
|
|
|
'flaticon-ingot': ring.RingClass === 'eRingClass_Metalic' || ring.RingClass === 'eRingClass_Metallic',
|
|
|
|
'flaticon-snowflake': ring.RingClass === 'eRingClass_Icy',
|
|
|
|
'flaticon-asteroid-3': ring.RingClass === 'eRingClass_Rocky',
|
|
|
|
}"></i> )
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
2023-05-08 17:42:09 -07:00
|
|
|
{{ body.PlanetClass || body.StarType || '' }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-auto pl-2 ml-0 system charted">
|
2023-05-08 19:13:30 -07:00
|
|
|
{{ body.distance() }}
|
2023-05-08 17:42:09 -07:00
|
|
|
</div>
|
|
|
|
|
2023-05-08 19:13:30 -07:00
|
|
|
<div class="col-1 system charted">
|
|
|
|
<i :class="{
|
|
|
|
'flaticon-cooling-tower': true,
|
|
|
|
'opacity-0': !(body.isPlanet() && body.TerraformState),
|
|
|
|
}"></i>
|
|
|
|
|
|
|
|
<i :class="{
|
|
|
|
'flaticon-flag-outline-on-a-pole-with-stars-around': true,
|
|
|
|
'opacity-0': !(body.isPlanet() && !body.WasMapped),
|
|
|
|
}"></i>
|
|
|
|
</div>
|
2023-05-08 17:42:09 -07:00
|
|
|
|
|
|
|
<div class="col-2 system charted text-right"><!-- mapped value --></div>
|
|
|
|
</div>
|
2023-05-08 12:25:13 -07:00
|
|
|
</div>
|
2023-05-08 17:42:09 -07:00
|
|
|
|
2023-05-08 12:25:13 -07:00
|
|
|
<!-- 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>
|
2023-05-08 17:42:09 -07:00
|
|
|
|
2023-05-08 12:25:13 -07:00
|
|
|
<!-- 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>
|
2023-05-08 17:42:09 -07:00
|
|
|
|
2023-05-08 12:25:13 -07:00
|
|
|
<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>
|