mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Refactoring of files and more svg tidy up
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<%- include('atc/board.ejs', {
|
||||
<%- include('board.ejs', {
|
||||
"boardId": "strip-board-tower",
|
||||
"boardType": "tower",
|
||||
"headers": [ "Flight", "a. Alt", "alt", "a. Speed", "Speed" ]
|
||||
}) %>
|
||||
|
||||
<%- include('atc/board.ejs', {
|
||||
<%- include('board.ejs', {
|
||||
"boardId": "strip-board-ground",
|
||||
"boardType": "ground",
|
||||
"headers": [ "Flight", "Status", "T/O Time", "TTG" ]
|
||||
@@ -2,47 +2,39 @@
|
||||
|
||||
<head>
|
||||
<title>Olympus client</title>
|
||||
<link rel="stylesheet" type="text/css" href="/resources/theme/theme.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/stylesheets/olympus.css" />
|
||||
<link rel="stylesheet" href="stylesheets/leaflet.css">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheets/olympus.css" />
|
||||
<link rel="stylesheet" type="text/css" href="stylesheets/leaflet/leaflet.css">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/resources/theme/theme.css" /> <!-- Theme specifc css, autorouted to point to active theme -->
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600;700;800&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z4L2TC3YX0"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-Z4L2TC3YX0');
|
||||
</script>
|
||||
|
||||
<script src="javascripts/svg-inject.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="map-container"></div>
|
||||
|
||||
<%- include('aic.ejs') %>
|
||||
<%- include('atc.ejs') %>
|
||||
<%- include('contextmenus.ejs') %>
|
||||
<%- include('unitcontrolpanel.ejs') %>
|
||||
<%- include('unitinfopanel.ejs') %>
|
||||
<%- include('mouseinfopanel.ejs') %>
|
||||
<%- include('navbar.ejs') %>
|
||||
<%- include('connectionstatuspanel.ejs') %>
|
||||
<%- include('dialogs.ejs') %>
|
||||
<%- include('unitdatatable.ejs') %>
|
||||
<%- include('popups.ejs') %>
|
||||
<%- include('hotgrouppanel.ejs') %>
|
||||
<%- include('aic/aic.ejs') %>
|
||||
|
||||
<div id="gray-out"></div>
|
||||
<%- include('atc/atc.ejs') %>
|
||||
<%- include('atc/unitdatatable.ejs') %>
|
||||
|
||||
<%- include('panels/unitcontrol.ejs') %>
|
||||
<%- include('panels/unitinfo.ejs') %>
|
||||
<%- include('panels/mouseinfo.ejs') %>
|
||||
<%- include('panels/connectionstatus.ejs') %>
|
||||
<%- include('panels/hotgroup.ejs') %>
|
||||
<%- include('panels/navbar.ejs') %>
|
||||
|
||||
<%- include('other/dialogs.ejs') %>
|
||||
<%- include('other/popups.ejs') %>
|
||||
<%- include('other/contextmenus.ejs') %>
|
||||
|
||||
<div id="gray-out"></div> <!-- Used to provide grayout effect of the background when login prompt is visible -->
|
||||
|
||||
<% /* %>
|
||||
<%- include('log.ejs') %>
|
||||
<% */ %>
|
||||
|
||||
<script src="javascripts/bundle.js"></script>
|
||||
</body>
|
||||
|
||||
|
||||
@@ -30,26 +30,7 @@
|
||||
</div>
|
||||
|
||||
<div id="unit-visibility-control" class="ol-group">
|
||||
<button title="Toggle aircrafts' visibility"
|
||||
data-on-click="toggleUnitVisibility" data-on-click-params='{ "category": "aircraft" }'>
|
||||
<img src="/resources/theme/images/buttons/visibility/aircraft.svg" onload="SVGInject(this)" />
|
||||
</button>
|
||||
<button title="Toggle ground units' visibility"
|
||||
data-on-click="toggleUnitVisibility" data-on-click-params='{ "category": "groundunit" }'>
|
||||
<img src="/resources/theme/images/buttons/visibility/groundunit-other.svg" onload="SVGInject(this)" />
|
||||
</button>
|
||||
<button title="Toggle SAMs' visibility" data-on-click="toggleUnitVisibility"
|
||||
data-on-click-params='{ "category": "sam" }'>
|
||||
<img src="/resources/theme/images/buttons/visibility/groundunit-sam.svg" onload="SVGInject(this)" />
|
||||
</button>
|
||||
<button title="Toggle threat rings' visibility"
|
||||
data-on-click="toggleUnitVisibility" data-on-click-params='{ "category": "threat" }'>
|
||||
<img src="/resources/theme/images/buttons/visibility/threatring.svg" onload="SVGInject(this)" />
|
||||
</button>
|
||||
<button title="Toggle navy units' visibility"
|
||||
data-on-click="toggleUnitVisibility" data-on-click-params='{ "category": "navyunit" }'>
|
||||
<img src="/resources/theme/images/buttons/visibility/navyunit.svg" onload="SVGInject(this)" />
|
||||
</button>
|
||||
<!-- Here the available visibility controls will be listed -->
|
||||
</div>
|
||||
|
||||
<div id="coalition-visibility-control" class="ol-group ol-group-button-toggle">
|
||||
Reference in New Issue
Block a user