diff --git a/frontend/server/.vscode/launch.json b/frontend/server/.vscode/launch.json index e9611035..11f1e6d8 100644 --- a/frontend/server/.vscode/launch.json +++ b/frontend/server/.vscode/launch.json @@ -12,8 +12,8 @@ "/**" ], "args": ["--config", "${input:enterDir}/Config/olympus.json"], - "program": "./bin/www", - "preLaunchTask": "check-setup" + "program": "./build/www.js", + "preLaunchTask": "build" }, { "type": "node", @@ -22,8 +22,20 @@ "skipFiles": [ "/**" ], - "args": ["--config", "${input:enterDir}/Config/olympus.json"], - "program": "./bin/www", + "runtimeExecutable": "nodemon", + "runtimeArgs": [ + "--watch", + "src/**/*.ts", + "--exec", + "node", + "--inspect", + "-r", + "ts-node/register", + "src/www.ts", + "-c", + "${input:enterDir}/Config/olympus.json" + ], + "restart": true, "preLaunchTask": "demo-server" } ], diff --git a/frontend/server/.vscode/tasks.json b/frontend/server/.vscode/tasks.json index 6b76fb4f..aacadfd3 100644 --- a/frontend/server/.vscode/tasks.json +++ b/frontend/server/.vscode/tasks.json @@ -4,19 +4,23 @@ "version": "2.0.0", "tasks": [ { - "label": "check-setup", + "label": "check-setup", "type": "shell", "command": "cd .. ; ./check_setup.bat", "isBackground": false }, { - "label": "demo-server", + "label": "demo-server", "type": "shell", "command": "./scripts/demo-server.bat", - "args": ["${input:enterDir}/Config/olympus.json"], + "args": [ + "${input:enterDir}/Config/olympus.json" + ], "isBackground": true, - "dependsOn": ["check-setup"], - "problemMatcher":{ + "dependsOn": [ + "check-setup" + ], + "problemMatcher": { "owner": "custom", "base": "$tsc-watch", "background": { @@ -26,13 +30,15 @@ } } } - ], + ], "inputs": [ { - "id": "enterDir", - "type": "command", - "command": "extension.commandvariable.remember", - "args": { "key": "dir" } + "id": "enterDir", + "type": "command", + "command": "extension.commandvariable.promptStringRemember", + "args": { + "key": "dir" + } } ] } \ No newline at end of file diff --git a/frontend/server/app.js b/frontend/server/app.js deleted file mode 100644 index 370fc681..00000000 --- a/frontend/server/app.js +++ /dev/null @@ -1,64 +0,0 @@ -module.exports = function (configLocation) { - /* Requires */ - var express = require('express'); - var path = require('path'); - var logger = require('morgan'); - var fs = require('fs'); - var bodyParser = require('body-parser'); - var cors = require('cors'); - const { createProxyMiddleware } = require('http-proxy-middleware'); - - /* Default routers */ - var atcRouter = require('./routes/api/atc'); - var airbasesRouter = require('./routes/api/airbases'); - var elevationRouter = require('./routes/api/elevation')(configLocation); - var databasesRouter = require('./routes/api/databases')(path.join(path.dirname(configLocation), "..", "Mods", "Services", "Olympus", "databases")); - var indexRouter = require('./routes/index'); - var uikitRouter = require('./routes/uikit'); - var usersRouter = require('./routes/users'); - var resourcesRouter = require('./routes/resources')(configLocation); - var pluginsRouter = require('./routes/plugins'); - - /* Load the config and create the express app */ - let config = {} - console.log(`Loading configuration file from ${configLocation}`) - if (fs.existsSync(configLocation)){ - let rawdata = fs.readFileSync(configLocation); - config = JSON.parse(rawdata); - } - else { - console.error("Error loading configuration file.") - return undefined; - } - var app = express(); - - var backendAddress = config["backend"]["address"]; - - /* Define middleware */ - app.use(logger('dev')); - app.use('/olympus', createProxyMiddleware({ target: `http://${backendAddress === '*'? 'localhost': backendAddress}:${config["backend"]["port"]}`, changeOrigin: true })); - app.use('/vite', createProxyMiddleware({ target: `http://localhost:8080/`, ws: true })); - app.use(bodyParser.json({ limit: '50mb' })); - app.use(bodyParser.urlencoded({ limit: '50mb', extended: true })); - app.use(express.static(path.join(__dirname, 'public'))); - app.use(cors()) - - /* Apply routers */ - app.use('/', indexRouter); - app.use('/api/atc', atcRouter); - app.use('/api/airbases', airbasesRouter); - app.use('/api/elevation', elevationRouter); - app.use('/api/databases', databasesRouter); - app.use('/plugins', pluginsRouter) - app.use('/users', usersRouter); - app.use('/uikit', uikitRouter); - app.use('/resources', resourcesRouter); - - app.set('view engine', 'ejs'); - - return app; -} - - - - diff --git a/frontend/server/bin/demo b/frontend/server/bin/demo deleted file mode 100644 index b9cc8d3e..00000000 --- a/frontend/server/bin/demo +++ /dev/null @@ -1,124 +0,0 @@ -const yargs = require('yargs'); -var fs = require('fs'); - -/* Define configuration parameter */ -yargs.alias('c', 'config').describe('c', 'olympus.json config location').string('rp'); -args = yargs.argv; - -console.log('\x1b[36m%s\x1b[0m', "*********************************************************************"); -console.log('\x1b[36m%s\x1b[0m', "* _____ _____ _____ ____ _ *"); -console.log('\x1b[36m%s\x1b[0m', "* | __ \\ / ____|/ ____| / __ \\| | *"); -console.log('\x1b[36m%s\x1b[0m', "* | | | | | | (___ | | | | |_ _ _ __ ___ _ __ _ _ ___ *"); -console.log('\x1b[36m%s\x1b[0m', "* | | | | | \\___ \\ | | | | | | | | '_ ` _ \\| '_ \\| | | / __| *"); -console.log('\x1b[36m%s\x1b[0m', "* | |__| | |____ ____) | | |__| | | |_| | | | | | | |_) | |_| \\__ \\ *"); -console.log('\x1b[36m%s\x1b[0m', "* |_____/ \\_____|_____/ \\____/|_|\\__, |_| |_| |_| .__/ \\__,_|___/ *"); -console.log('\x1b[36m%s\x1b[0m', "* __/ | | | *"); -console.log('\x1b[36m%s\x1b[0m', "* |___/ |_| *"); -console.log('\x1b[36m%s\x1b[0m', "*********************************************************************"); -console.log('\x1b[36m%s\x1b[0m', ""); -console.log("Please wait while DCS Olympus DEMO Backend Server starts up..."); -console.log(`Config location: ${args["config"]}`) - -var fs = require('fs'); -let rawdata = fs.readFileSync(args["config"]); -let config = JSON.parse(rawdata); - -/** - * Module dependencies. - */ - -var app = require('../demo')(args["config"]); -var debug = require('debug')('client:server'); -var http = require('http'); - -/** - * Get port from environment and store in Express. - */ - -var configPort = null; -if (config["backend"] != undefined && config["backend"]["port"] != undefined) { - configPort = config["backend"]["port"]; -} - -var port = normalizePort(configPort || '3001'); -app.set('port', port); -console.log("Express server listening on port: " + port) - -/** - * Create HTTP server. - */ - -var server = http.createServer(app); - -/** - * Listen on provided port, on all network interfaces. - */ - -server.listen(port); -server.on('error', onError); -server.on('listening', onListening); - -/** - * Normalize a port into a number, string, or false. - */ - -function normalizePort(val) { - var port = parseInt(val, 10); - - if (isNaN(port)) { - // named pipe - return val; - } - - if (port >= 0) { - // port number - return port; - } - - return false; -} - -/** - * Event listener for HTTP server "error" event. - */ - -function onError(error) { - if (error.syscall !== 'listen') { - throw error; - } - - var bind = typeof port === 'string' - ? 'Pipe ' + port - : 'Port ' + port; - - // handle specific listen errors with friendly messages - switch (error.code) { - case 'EACCES': - console.error(bind + ' requires elevated privileges'); - process.exit(1); - break; - case 'EADDRINUSE': - console.error(bind + ' is already in use'); - process.exit(1); - break; - default: - throw error; - } -} - -/** - * Event listener for HTTP server "listening" event. - */ - -function onListening() { - var addr = server.address(); - var bind = typeof addr === 'string' - ? 'pipe ' + addr - : 'port ' + addr.port; - debug('Listening on ' + bind); -} - -console.log("DCS Olympus DEMO Backend Server {{OLYMPUS_VERSION_NUMBER}}.{{OLYMPUS_COMMIT_HASH}} started correctly!") -console.log("Waiting for connections...") - -process.title = `DCS Olympus DEMO Backend Server {{OLYMPUS_VERSION_NUMBER}} (${port})`; \ No newline at end of file diff --git a/frontend/server/bin/www b/frontend/server/bin/www deleted file mode 100644 index 7be11021..00000000 --- a/frontend/server/bin/www +++ /dev/null @@ -1,117 +0,0 @@ -const yargs = require('yargs'); -var fs = require('fs'); - -/* Define configuration parameter */ -yargs.alias('c', 'config').describe('c', 'olympus.json config location').string('rp'); -args = yargs.argv; - -console.log('\x1b[36m%s\x1b[0m', "*********************************************************************"); -console.log('\x1b[36m%s\x1b[0m', "* _____ _____ _____ ____ _ *"); -console.log('\x1b[36m%s\x1b[0m', "* | __ \\ / ____|/ ____| / __ \\| | *"); -console.log('\x1b[36m%s\x1b[0m', "* | | | | | | (___ | | | | |_ _ _ __ ___ _ __ _ _ ___ *"); -console.log('\x1b[36m%s\x1b[0m', "* | | | | | \\___ \\ | | | | | | | | '_ ` _ \\| '_ \\| | | / __| *"); -console.log('\x1b[36m%s\x1b[0m', "* | |__| | |____ ____) | | |__| | | |_| | | | | | | |_) | |_| \\__ \\ *"); -console.log('\x1b[36m%s\x1b[0m', "* |_____/ \\_____|_____/ \\____/|_|\\__, |_| |_| |_| .__/ \\__,_|___/ *"); -console.log('\x1b[36m%s\x1b[0m', "* __/ | | | *"); -console.log('\x1b[36m%s\x1b[0m', "* |___/ |_| *"); -console.log('\x1b[36m%s\x1b[0m', "*********************************************************************"); -console.log('\x1b[36m%s\x1b[0m', ""); -console.log("Please wait while DCS Olympus Server starts up..."); -console.log(`Config location: ${args["config"]}`) - -/* Load the configuration file */ -var httpPort = 0; -if (fs.existsSync(args["config"])) { - var json = JSON.parse(fs.readFileSync(args["config"], 'utf-8')); - httpPort = json["frontend"]["port"]; -} else { - console.log("Failed to read config, aborting!"); - return; -} - -/* Load the dependencies. The app is loaded providing the configuration file location */ -var app = require('../app')(args["config"]); -var debug = require('debug')('client:server'); -var http = require('http'); - -/* Normalize port */ -var port = normalizePort(httpPort); -app.set('port', port); -console.log("Express server listening on port: " + port) - -/* Create HTTP server */ -var server = http.createServer(app); - -/* Listen on provided port, on all network interfaces. */ -server.listen(port); -server.on('error', onError); -server.on('listening', onListening); - -/* Optional https support */ -var https = null; -var credentials = null; -var httpsServer = null; -if (json["frontend"]["https"] === true){ - https = require('https'); - var privateKey = fs.readFileSync(json["frontend"]["keyPath"] ?? "./cert/default.key", 'utf8'); - var certificate = fs.readFileSync(json["frontend"]["certPath"] ?? "./cert/default.crt", 'utf8'); - var httpsPort = json["frontend"]["httpsPort"] ?? 3433; - credentials = {key: privateKey, cert: certificate}; - httpsServer = https.createServer(credentials, app); - httpsServer.listen(httpsPort); - console.log("Express server listening on SSL port: " + httpsPort) -} - -/* Normalize a port into a number, string, or false. */ -function normalizePort(val) { - var port = parseInt(val, 10); - - if (isNaN(port)) { - return val; - } - - if (port >= 0) { - return port; - } - - return false; -} - -/* Event listener for HTTP server "error" event. */ -function onError(error) { - if (error.syscall !== 'listen') { - throw error; - } - - var bind = typeof port === 'string' - ? 'Pipe ' + port - : 'Port ' + port; - - /* Handle specific listen errors with friendly messages */ - switch (error.code) { - case 'EACCES': - console.error(bind + ' requires elevated privileges'); - process.exit(1); - break; - case 'EADDRINUSE': - console.error(bind + ' is already in use'); - process.exit(1); - break; - default: - throw error; - } -} - -/* Event listener for HTTP server "listening" event. */ -function onListening() { - var addr = server.address(); - var bind = typeof addr === 'string' - ? 'pipe ' + addr - : 'port ' + addr.port; - debug('Listening on ' + bind); -} - -/* Final user friendly printing */ -console.log("DCS Olympus server {{OLYMPUS_VERSION_NUMBER}}.{{OLYMPUS_COMMIT_HASH}} started correctly!") -console.log("Waiting for connections...") -process.title = `DCS Olympus server {{OLYMPUS_VERSION_NUMBER}} (${port})`; \ No newline at end of file diff --git a/frontend/server/demo.js b/frontend/server/demo.js deleted file mode 100644 index cf3cb985..00000000 --- a/frontend/server/demo.js +++ /dev/null @@ -1,535 +0,0 @@ -module.exports = function (configLocation) { - var basicAuth = require('express-basic-auth') - var logger = require('morgan'); - var enc = new TextEncoder(); - const path = require('path'); - var cors = require('cors'); - - var express = require('express'); - var fs = require('fs'); - - let rawdata = fs.readFileSync(configLocation); - let config = JSON.parse(rawdata); - - var app = express(); - - app.use(logger('dev')); - app.use(cors()) - - const aircraftDatabase = require(path.join(path.dirname(configLocation), '../Mods/Services/Olympus/databases/units/aircraftdatabase.json')); - const helicopterDatabase = require(path.join(path.dirname(configLocation),'../Mods/Services/Olympus/databases/units/helicopterdatabase.json')); - const groundUnitDatabase = require(path.join(path.dirname(configLocation),'../Mods/Services/Olympus/databases/units/groundunitdatabase.json')); - const navyUnitDatabase = require(path.join(path.dirname(configLocation),'../Mods/Services/Olympus/databases/units/navyunitdatabase.json')); - - const DEMO_UNIT_DATA = {} - - const DEMO_WEAPONS_DATA = { - /*["1001"]:{ category: "Missile", alive: true, coalition: 2, name: "", position: { lat: 37.1, lng: -116, alt: 1000 }, speed: 200, heading: 45 * Math.PI / 180 }, */ - } - - class DemoDataGenerator { - constructor(app, config) - { - app.get('/olympus/units', (req, res) => this.units(req, res)); - app.get('/olympus/weapons', (req, res) => this.weapons(req, res)); - app.get('/olympus/logs', (req, res) => this.logs(req, res)); - app.get('/olympus/bullseyes', (req, res) => this.bullseyes(req, res)); - app.get('/olympus/airbases', (req, res) => this.airbases(req, res)); - app.get('/olympus/mission', (req, res) => this.mission(req, res)); - app.get('/olympus/commands', (req, res) => this.command(req, res)); - app.put('/olympus', (req, res) => this.put(req, res)); - - app.use('/olympus', basicAuth({ - users: { - 'admin': config["authentication"]["gameMasterPassword"], - 'blue': config["authentication"]["blueCommanderPassword"], - 'red': config["authentication"]["redCommanderPassword"] - }, - })) - - - let baseData = { alive: true, human: false, controlled: true, coalition: 2, country: 0, unitName: "Cool guy", groupName: "Cool group 1", state: 13, task: "Being cool!", - hasTask: true, position: { lat: 37, lng: -116, alt: 1000 }, speed: 200, horizontalVelocity: 200, verticalVelicity: 0, heading: 45, track: 45, isActiveTanker: false, isActiveAWACS: false, onOff: true, followRoads: false, fuel: 50, - desiredSpeed: 300, desiredSpeedType: 1, desiredAltitude: 1000, desiredAltitudeType: 1, leaderID: 0, - formationOffset: { x: 0, y: 0, z: 0 }, - targetID: 0, - targetPosition: { lat: 0, lng: 0, alt: 0 }, - ROE: 1, - reactionToThreat: 1, - emissionsCountermeasures: 1, - TACAN: { isOn: false, XY: 'Y', callsign: 'TKR', channel: 40 }, - radio: { frequency: 124000000, callsign: 1, callsignNumber: 1 }, - generalSettings: { prohibitAA: false, prohibitAfterburner: false, prohibitAG: false, prohibitAirWpn: false, prohibitJettison: false }, - ammo: [], - contacts: [], - activePath: [ - {lat: 37.1, lng: -116.1} - ], - isLeader: true - } - - - /* - // UNCOMMENT TO TEST ALL UNITS **************** - - var databases = Object.assign({}, aircraftDatabase, helicopterDatabase, groundUnitDatabase, navyUnitDatabase); - var t = Object.keys(databases).length; - var l = Math.floor(Math.sqrt(t)); - let latIdx = 0; - let lngIdx = 0; - let idx = 1; - - for (let name in databases) { - if (databases[name].enabled) { - DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); - DEMO_UNIT_DATA[idx].name = name; - DEMO_UNIT_DATA[idx].groupName = `Group-${idx}`; - DEMO_UNIT_DATA[idx].position.lat += latIdx / 5; - DEMO_UNIT_DATA[idx].position.lng += lngIdx / 5; - DEMO_UNIT_DATA[idx].coalition = Math.floor(Math.random() * 3) - - latIdx += 1; - if (latIdx === l) { - latIdx = 0; - lngIdx += 1; - } - - if (name in aircraftDatabase) - DEMO_UNIT_DATA[idx].category = "Aircraft"; - else if (name in helicopterDatabase) - DEMO_UNIT_DATA[idx].category = "Helicopter"; - else if (name in groundUnitDatabase) - DEMO_UNIT_DATA[idx].category = "GroundUnit"; - else if (name in navyUnitDatabase) - DEMO_UNIT_DATA[idx].category = "NavyUnit"; - - idx += 1; - } - } - - */ - - let idx = 1; - DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); - DEMO_UNIT_DATA[idx].name = "S_75M_Volhov"; - DEMO_UNIT_DATA[idx].groupName = `Group`; - DEMO_UNIT_DATA[idx].position.lat += idx / 100; - DEMO_UNIT_DATA[idx].category = "GroundUnit"; - DEMO_UNIT_DATA[idx].isLeader = true; - - idx += 1; - DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); - DEMO_UNIT_DATA[idx].name = "SNR_75V"; - DEMO_UNIT_DATA[idx].groupName = `Group`; - DEMO_UNIT_DATA[idx].position.lat += idx / 100; - DEMO_UNIT_DATA[idx].category = "GroundUnit"; - DEMO_UNIT_DATA[idx].isLeader = false; - - idx += 1; - DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); - DEMO_UNIT_DATA[idx].name = "Ural-4320 APA-5D"; - DEMO_UNIT_DATA[idx].groupName = `Group`; - DEMO_UNIT_DATA[idx].position.lat += idx / 100; - DEMO_UNIT_DATA[idx].category = "GroundUnit"; - DEMO_UNIT_DATA[idx].isLeader = false; - - - idx += 1; - DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); - DEMO_UNIT_DATA[idx].name = "F-14B"; - DEMO_UNIT_DATA[idx].groupName = `Group-1`; - DEMO_UNIT_DATA[idx].position.lat += idx / 100; - DEMO_UNIT_DATA[idx].category = "Aircraft"; - DEMO_UNIT_DATA[idx].isLeader = false; - DEMO_UNIT_DATA[idx].coalition = 1; - DEMO_UNIT_DATA[idx].desiredAltitude = 10000; - DEMO_UNIT_DATA[idx].desiredAltitudeType = 0; - - idx += 1; - DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); - DEMO_UNIT_DATA[idx].name = "Infantry AK"; - DEMO_UNIT_DATA[idx].groupName = `Group-2`; - DEMO_UNIT_DATA[idx].position.lat += idx / 100; - DEMO_UNIT_DATA[idx].category = "GroundUnit"; - DEMO_UNIT_DATA[idx].isLeader = true; - DEMO_UNIT_DATA[idx].coalition = 0; - DEMO_UNIT_DATA[idx].operateAs = 2; - - idx += 1; - DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); - DEMO_UNIT_DATA[idx].name = "Infantry AK"; - DEMO_UNIT_DATA[idx].groupName = `Group-3`; - DEMO_UNIT_DATA[idx].position.lat += idx / 100; - DEMO_UNIT_DATA[idx].category = "GroundUnit"; - DEMO_UNIT_DATA[idx].isLeader = true; - DEMO_UNIT_DATA[idx].coalition = 0; - DEMO_UNIT_DATA[idx].operateAs = 1; - - idx += 1; - DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); - DEMO_UNIT_DATA[idx].name = "KC-135"; - DEMO_UNIT_DATA[idx].groupName = `Group-4`; - DEMO_UNIT_DATA[idx].position.lat += idx / 100; - DEMO_UNIT_DATA[idx].category = "Aircraft"; - DEMO_UNIT_DATA[idx].isLeader = true; - - this.startTime = Date.now(); - } - - units(req, res){ - var array = new Uint8Array(); - var time = Date.now(); - array = this.concat(array, this.uint64ToByteArray(BigInt(time))); - if (req.query["time"] == 0){ - for (let idx in DEMO_UNIT_DATA) { - const unit = DEMO_UNIT_DATA[idx]; - var dataIndex = 1; - array = this.concat(array, this.uint32ToByteArray(idx)); - array = this.appendString(array, unit.category, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.alive, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.human, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.controlled, dataIndex); dataIndex++; - array = this.appendUint16(array, unit.coalition, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.country, dataIndex); dataIndex++; - array = this.appendString(array, unit.name, dataIndex); dataIndex++; - array = this.appendString(array, unit.unitName, dataIndex); dataIndex++; - array = this.appendString(array, unit.groupName, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.state, dataIndex); dataIndex++; - array = this.appendString(array, unit.task, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.hasTask, dataIndex); dataIndex++; - array = this.appendCoordinates(array, unit.position, dataIndex); dataIndex++; - array = this.appendDouble(array, unit.speed, dataIndex); dataIndex++; - array = this.appendDouble(array, unit.horizontalVelocity, dataIndex); dataIndex++; - array = this.appendDouble(array, unit.verticalVelicity, dataIndex); dataIndex++; - array = this.appendDouble(array, unit.heading, dataIndex); dataIndex++; - array = this.appendDouble(array, unit.track, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.isActiveTanker, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.isActiveAWACS, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.onOff, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.followRoads, dataIndex); dataIndex++; - array = this.appendUint16(array, unit.fuel, dataIndex); dataIndex++; - array = this.appendDouble(array, unit.desiredSpeed, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.desiredSpeedType, dataIndex); dataIndex++; - array = this.appendDouble(array, unit.desiredAltitude, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.desiredAltitudeType, dataIndex); dataIndex++; - array = this.appendUint32(array, unit.leaderID, dataIndex); dataIndex++; - array = this.appendOffset(array, unit.formationOffset, dataIndex); dataIndex++; - array = this.appendUint32(array, unit.targetID, dataIndex); dataIndex++; - array = this.appendCoordinates(array, unit.targetPosition, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.ROE, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.reactionToThreat, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.emissionsCountermeasures, dataIndex); dataIndex++; - array = this.appendTACAN(array, unit.TACAN, dataIndex); dataIndex++; - array = this.appendRadio(array, unit.radio, dataIndex); dataIndex++; - array = this.appendRadio(array, unit.generalSettings, dataIndex); dataIndex++; - array = this.appendAmmo(array, unit.ammo, dataIndex); dataIndex++; - array = this.appendContacts(array, unit.contacts, dataIndex); dataIndex++; - array = this.appendActivePath(array, unit.activePath, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.isLeader, dataIndex); dataIndex++; - array = this.appendUint8(array, unit.operateAs, dataIndex); dataIndex++; - array = this.concat(array, this.uint8ToByteArray(255)); - } - } - res.end(Buffer.from(array, 'binary')); - }; - - weapons(req, res){ - var array = new Uint8Array(); - var time = Date.now(); - array = this.concat(array, this.uint64ToByteArray(BigInt(time))); - for (let idx in DEMO_WEAPONS_DATA) { - const weapon = DEMO_WEAPONS_DATA[idx]; - array = this.concat(array, this.uint32ToByteArray(idx)); - array = this.appendString(array, weapon.category, 1); - array = this.appendUint8(array, weapon.alive, 2); - array = this.appendUint16(array, weapon.coalition, 5); - array = this.appendString(array, weapon.name, 7); - array = this.appendCoordinates(array, weapon.position, 13); - array = this.appendDouble(array, weapon.speed, 14); - array = this.appendDouble(array, weapon.heading, 15); - array = this.concat(array, this.uint8ToByteArray(255)); - } - res.end(Buffer.from(array, 'binary')); - }; - - concat(array1, array2) { - var mergedArray = new Uint8Array(array1.length + array2.length); - mergedArray.set(array1); - mergedArray.set(array2, array1.length); - return mergedArray; - } - - uint8ToByteArray(number) { - var buffer = new ArrayBuffer(1); - var longNum = new Uint8Array(buffer); - longNum[0] = number; - return Array.from(new Uint8Array(buffer)); - } - - uint16ToByteArray(number) { - var buffer = new ArrayBuffer(2); - var longNum = new Uint16Array(buffer); - longNum[0] = number; - return Array.from(new Uint8Array(buffer)); - } - - uint32ToByteArray(number) { - var buffer = new ArrayBuffer(4); - var longNum = new Uint32Array(buffer); - longNum[0] = number; - return Array.from(new Uint8Array(buffer)); - } - - uint64ToByteArray(number) { - var buffer = new ArrayBuffer(8); - var longNum = new BigUint64Array(buffer); - longNum[0] = number; - return Array.from(new Uint8Array(buffer)); - } - - doubleToByteArray(number) { - var buffer = new ArrayBuffer(8); - var longNum = new Float64Array(buffer); - longNum[0] = number; - return Array.from(new Uint8Array(buffer)); - } - - appendUint8(array, number, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint8ToByteArray(number)); - return array; - } - - appendUint16(array, number, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint16ToByteArray(number)); - return array; - } - - appendUint32(array, number, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint32ToByteArray(number)); - return array; - } - - appendDouble(array, number, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.doubleToByteArray(number)); - return array; - } - - appendCoordinates(array, coordinates, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.doubleToByteArray(coordinates.lat)); - array = this.concat(array, this.doubleToByteArray(coordinates.lng)); - array = this.concat(array, this.doubleToByteArray(coordinates.alt)); - return array; - } - - appendOffset(array, offset, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.doubleToByteArray(offset.x)); - array = this.concat(array, this.doubleToByteArray(offset.y)); - array = this.concat(array, this.doubleToByteArray(offset.z)); - return array; - } - - appendString(array, string, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint16ToByteArray(string.length)); - array = this.concat(array, enc.encode(string)); - return array; - } - - padString(string, length) { - while (string.length < length) - string += " "; - return string.substring(0, length); - } - - appendTACAN(array, TACAN, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint8ToByteArray(TACAN.isOn)); - array = this.concat(array, this.uint8ToByteArray(TACAN.channel)); - array = this.concat(array, enc.encode(TACAN.XY)); - array = this.concat(array, enc.encode(this.padString(TACAN.callsign, 4))); - return array; - } - - appendRadio(array, radio, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint32ToByteArray(radio.frequency)); - array = this.concat(array, this.uint8ToByteArray(radio.callsign)); - array = this.concat(array, this.uint8ToByteArray(radio.callsignNumber)); - return array; - } - - appendGeneralSettings(array, generalSettings, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint8ToByteArray(generalSettings.prohibitAA)); - array = this.concat(array, this.uint8ToByteArray(generalSettings.prohibitAfterburner)); - array = this.concat(array, this.uint8ToByteArray(generalSettings.prohibitAG)); - array = this.concat(array, this.uint8ToByteArray(generalSettings.prohibitAirWpn)); - array = this.concat(array, this.uint8ToByteArray(generalSettings.prohibitJettison)); - return array; - } - - appendAmmo(array, ammo, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint16ToByteArray(ammo.length)); - ammo.forEach((element) => { - array = this.concat(array, this.uint16ToByteArray(element.quantity)); - array = this.concat(array, enc.encode(this.padString(element.name, 33))); - array = this.concat(array, this.uint8ToByteArray(element.guidance)); - array = this.concat(array, this.uint8ToByteArray(element.category)); - array = this.concat(array, this.uint8ToByteArray(element.missileCategory)); - }) - return array; - } - - appendContacts(array, contacts, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint16ToByteArray(contacts.length)); - contacts.forEach((element) => { - array = this.concat(array, this.uint32ToByteArray(element.ID)); - array = this.concat(array, this.uint8ToByteArray(element.detectionMethod)); - }) - return array; - } - - appendActivePath(array, activePath, datumIndex) { - array = this.concat(array, this.uint8ToByteArray(datumIndex)); - array = this.concat(array, this.uint16ToByteArray(activePath.length)); - activePath.forEach((element) => { - array = this.concat(array, this.doubleToByteArray(element.lat)); - array = this.concat(array, this.doubleToByteArray(element.lng)); - array = this.concat(array, this.doubleToByteArray(element.alt)); - }) - return array; - } - - logs(req, res){ - var ret = {logs: {"1": "I'm a log!", "2": "I'm a different log!"}}; - ret.time = Date.now(); - ret.frameRate = 60; - ret.load = 0; - res.send(JSON.stringify(ret)); - }; - - airbases(req, res){ - var ret = {airbases: { - ["0"]: { - callsign: "Nellis", - latitude: 37.3, - longitude: -115.8, - coalition: "neutral" - }, - ["1"]: { - callsign: "Red", - latitude: 37.3, - longitude: -115.75, - coalition: "red" - }, - ["2"]: { - callsign: "Blue", - latitude: 37.3, - longitude: -115.7, - coalition: "blue" - } - }}; - ret.time = Date.now(); - res.send(JSON.stringify(ret)); - }; - - bullseyes(req, res){ - var ret = {bullseyes: { - "0": { - latitude: 37.25, - longitude: -115.8, - coalition: "neutral" - }, - "1": { - latitude: 37.25, - longitude: -115.75, - coalition: "red" - }, - "2": { - latitude: 37.25, - longitude: -115.7, - coalition: "blue" - } - }}; - ret.time = Date.now(); - res.send(JSON.stringify(ret)); - }; - - mission(req, res){ - var ret = {mission: {theatre: "Nevada"}}; - ret.time = Date.now(); - - ret.mission.dateAndTime = { - time: { h: 10, m: 15, s: 34 }, - date: "", - elapsedTime: (Date.now() - this.startTime) / 1000, - startTime: 0 - } - - ret.mission.coalitions = { - red: [ - 'RUSSIA', - 'CHINA' - ], - blue: [ - 'UK', - 'USA' - ], - neutral: [ - 'ITALY' - ] - } - - ret.mission.commandModeOptions = { - restrictSpawns: true, - restrictToCoalition: true, - setupTime: 0, - spawnPoints: { - red: 400, - blue: 400 - }, - eras: ["WW2", "Early Cold War", "Late Cold War", "Modern"] - } - - var auth = req.get("Authorization"); - if (auth) { - var username = Buffer.from(auth.replace("Basic ", ""), 'base64').toString('binary').split(":")[0]; - var password = Buffer.from(auth.replace("Basic ", ""), 'base64').toString('binary').split(":")[1]; - switch (password) { - case "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918": - ret.mission.commandModeOptions.commandMode = "Game master"; - break - case "16477688c0e00699c6cfa4497a3612d7e83c532062b64b250fed8908128ed548": - ret.mission.commandModeOptions.commandMode = "Blue commander"; - break; - case "b1f51a511f1da0cd348b8f8598db32e61cb963e5fc69e2b41485bf99590ed75a": - ret.mission.commandModeOptions.commandMode = "Red commander"; - break; - } - } - res.send(JSON.stringify(ret)); - } - - command(req, res) { - var ret = {commandExecuted: Math.random() > 0.5}; - res.send(JSON.stringify(ret)); - } - - put(req, res) { - var ret = {commandHash: Math.random().toString(36).slice(2, 19)} - res.send(JSON.stringify(ret)); - } - } - - var demoDataGenerator = new DemoDataGenerator(app, config); - - return app; -} diff --git a/frontend/server/package.json b/frontend/server/package.json index 54946d05..6e2b02f3 100644 --- a/frontend/server/package.json +++ b/frontend/server/package.json @@ -5,7 +5,8 @@ "scripts": { "build-release": "call ./scripts/build-release.bat", "server": "node ./bin/www", - "client": "electron ." + "client": "electron .", + "debug": "nodemon --watch src/**/*.ts --exec ts-node src/www.ts" }, "private": true, "dependencies": { @@ -26,9 +27,12 @@ "srtm-elevation": "^2.1.2", "tcp-ping-port": "^1.0.1", "uuid": "^9.0.1", + "ws": "^8.18.0", "yargs": "^17.7.2" }, "devDependencies": { - "cors": "^2.8.5" + "cors": "^2.8.5", + "ts-node": "^10.9.2", + "typescript": "^5.5.3" } } diff --git a/frontend/server/public/images/countries/ac.svg b/frontend/server/public/images/countries/ac.svg deleted file mode 100644 index 1a6d5080..00000000 --- a/frontend/server/public/images/countries/ac.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ad.svg b/frontend/server/public/images/countries/ad.svg deleted file mode 100644 index 302cb722..00000000 --- a/frontend/server/public/images/countries/ad.svg +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ae.svg b/frontend/server/public/images/countries/ae.svg deleted file mode 100644 index b7acdbdb..00000000 --- a/frontend/server/public/images/countries/ae.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/af.svg b/frontend/server/public/images/countries/af.svg deleted file mode 100644 index 417dd047..00000000 --- a/frontend/server/public/images/countries/af.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ag.svg b/frontend/server/public/images/countries/ag.svg deleted file mode 100644 index 250b5012..00000000 --- a/frontend/server/public/images/countries/ag.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ai.svg b/frontend/server/public/images/countries/ai.svg deleted file mode 100644 index cf91b39b..00000000 --- a/frontend/server/public/images/countries/ai.svg +++ /dev/null @@ -1,758 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/al.svg b/frontend/server/public/images/countries/al.svg deleted file mode 100644 index b69ae195..00000000 --- a/frontend/server/public/images/countries/al.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/am.svg b/frontend/server/public/images/countries/am.svg deleted file mode 100644 index 99fa4dc5..00000000 --- a/frontend/server/public/images/countries/am.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/ao.svg b/frontend/server/public/images/countries/ao.svg deleted file mode 100644 index 4dc39f6a..00000000 --- a/frontend/server/public/images/countries/ao.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/aq.svg b/frontend/server/public/images/countries/aq.svg deleted file mode 100644 index 53840ccc..00000000 --- a/frontend/server/public/images/countries/aq.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/ar.svg b/frontend/server/public/images/countries/ar.svg deleted file mode 100644 index 364fca8f..00000000 --- a/frontend/server/public/images/countries/ar.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/arab.svg b/frontend/server/public/images/countries/arab.svg deleted file mode 100644 index c45e3d20..00000000 --- a/frontend/server/public/images/countries/arab.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/as.svg b/frontend/server/public/images/countries/as.svg deleted file mode 100644 index b974013a..00000000 --- a/frontend/server/public/images/countries/as.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/at.svg b/frontend/server/public/images/countries/at.svg deleted file mode 100644 index c2825088..00000000 --- a/frontend/server/public/images/countries/at.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/au.svg b/frontend/server/public/images/countries/au.svg deleted file mode 100644 index 407fef43..00000000 --- a/frontend/server/public/images/countries/au.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/aw.svg b/frontend/server/public/images/countries/aw.svg deleted file mode 100644 index 32cabd54..00000000 --- a/frontend/server/public/images/countries/aw.svg +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ax.svg b/frontend/server/public/images/countries/ax.svg deleted file mode 100644 index 0584d713..00000000 --- a/frontend/server/public/images/countries/ax.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/az.svg b/frontend/server/public/images/countries/az.svg deleted file mode 100644 index 8e56ef53..00000000 --- a/frontend/server/public/images/countries/az.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/ba.svg b/frontend/server/public/images/countries/ba.svg deleted file mode 100644 index fcd18914..00000000 --- a/frontend/server/public/images/countries/ba.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bb.svg b/frontend/server/public/images/countries/bb.svg deleted file mode 100644 index 263bdec0..00000000 --- a/frontend/server/public/images/countries/bb.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/bd.svg b/frontend/server/public/images/countries/bd.svg deleted file mode 100644 index 16b794de..00000000 --- a/frontend/server/public/images/countries/bd.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/be.svg b/frontend/server/public/images/countries/be.svg deleted file mode 100644 index 327f28fa..00000000 --- a/frontend/server/public/images/countries/be.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/bf.svg b/frontend/server/public/images/countries/bf.svg deleted file mode 100644 index 47138225..00000000 --- a/frontend/server/public/images/countries/bf.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/bg.svg b/frontend/server/public/images/countries/bg.svg deleted file mode 100644 index b100dd0d..00000000 --- a/frontend/server/public/images/countries/bg.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/bh.svg b/frontend/server/public/images/countries/bh.svg deleted file mode 100644 index 7a2ea549..00000000 --- a/frontend/server/public/images/countries/bh.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/bi.svg b/frontend/server/public/images/countries/bi.svg deleted file mode 100644 index 1050838b..00000000 --- a/frontend/server/public/images/countries/bi.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bj.svg b/frontend/server/public/images/countries/bj.svg deleted file mode 100644 index 0846724d..00000000 --- a/frontend/server/public/images/countries/bj.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bl.svg b/frontend/server/public/images/countries/bl.svg deleted file mode 100644 index 819afc11..00000000 --- a/frontend/server/public/images/countries/bl.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/blue.svg b/frontend/server/public/images/countries/blue.svg deleted file mode 100644 index 2da7b7b3..00000000 --- a/frontend/server/public/images/countries/blue.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - diff --git a/frontend/server/public/images/countries/bm.svg b/frontend/server/public/images/countries/bm.svg deleted file mode 100644 index a4dbc728..00000000 --- a/frontend/server/public/images/countries/bm.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bn.svg b/frontend/server/public/images/countries/bn.svg deleted file mode 100644 index f906abfe..00000000 --- a/frontend/server/public/images/countries/bn.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bo.svg b/frontend/server/public/images/countries/bo.svg deleted file mode 100644 index 17a0a0c1..00000000 --- a/frontend/server/public/images/countries/bo.svg +++ /dev/null @@ -1,676 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bq.svg b/frontend/server/public/images/countries/bq.svg deleted file mode 100644 index 0e6bc76e..00000000 --- a/frontend/server/public/images/countries/bq.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/br.svg b/frontend/server/public/images/countries/br.svg deleted file mode 100644 index 354a7013..00000000 --- a/frontend/server/public/images/countries/br.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bs.svg b/frontend/server/public/images/countries/bs.svg deleted file mode 100644 index 513be43a..00000000 --- a/frontend/server/public/images/countries/bs.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bt.svg b/frontend/server/public/images/countries/bt.svg deleted file mode 100644 index cea6006c..00000000 --- a/frontend/server/public/images/countries/bt.svg +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bv.svg b/frontend/server/public/images/countries/bv.svg deleted file mode 100644 index 40e16d94..00000000 --- a/frontend/server/public/images/countries/bv.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bw.svg b/frontend/server/public/images/countries/bw.svg deleted file mode 100644 index a1c8db0a..00000000 --- a/frontend/server/public/images/countries/bw.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/by.svg b/frontend/server/public/images/countries/by.svg deleted file mode 100644 index 8d25ee3c..00000000 --- a/frontend/server/public/images/countries/by.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/bz.svg b/frontend/server/public/images/countries/bz.svg deleted file mode 100644 index 08d3579d..00000000 --- a/frontend/server/public/images/countries/bz.svg +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ca.svg b/frontend/server/public/images/countries/ca.svg deleted file mode 100644 index f1b2c968..00000000 --- a/frontend/server/public/images/countries/ca.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/cc.svg b/frontend/server/public/images/countries/cc.svg deleted file mode 100644 index 93025bd2..00000000 --- a/frontend/server/public/images/countries/cc.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cd.svg b/frontend/server/public/images/countries/cd.svg deleted file mode 100644 index e106ddd5..00000000 --- a/frontend/server/public/images/countries/cd.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/cefta.svg b/frontend/server/public/images/countries/cefta.svg deleted file mode 100644 index f748d08a..00000000 --- a/frontend/server/public/images/countries/cefta.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cf.svg b/frontend/server/public/images/countries/cf.svg deleted file mode 100644 index a6cd3670..00000000 --- a/frontend/server/public/images/countries/cf.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cg.svg b/frontend/server/public/images/countries/cg.svg deleted file mode 100644 index 9128715f..00000000 --- a/frontend/server/public/images/countries/cg.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ch.svg b/frontend/server/public/images/countries/ch.svg deleted file mode 100644 index b42d6709..00000000 --- a/frontend/server/public/images/countries/ch.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/ci.svg b/frontend/server/public/images/countries/ci.svg deleted file mode 100644 index e400f0c1..00000000 --- a/frontend/server/public/images/countries/ci.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/ck.svg b/frontend/server/public/images/countries/ck.svg deleted file mode 100644 index 18e547b1..00000000 --- a/frontend/server/public/images/countries/ck.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/cl.svg b/frontend/server/public/images/countries/cl.svg deleted file mode 100644 index 01766fef..00000000 --- a/frontend/server/public/images/countries/cl.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cm.svg b/frontend/server/public/images/countries/cm.svg deleted file mode 100644 index 389b6627..00000000 --- a/frontend/server/public/images/countries/cm.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cn.svg b/frontend/server/public/images/countries/cn.svg deleted file mode 100644 index 10d3489a..00000000 --- a/frontend/server/public/images/countries/cn.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/co.svg b/frontend/server/public/images/countries/co.svg deleted file mode 100644 index ebd0a0fb..00000000 --- a/frontend/server/public/images/countries/co.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/codes.json b/frontend/server/public/images/countries/codes.json deleted file mode 100644 index 98c54d89..00000000 --- a/frontend/server/public/images/countries/codes.json +++ /dev/null @@ -1,556 +0,0 @@ -{ - "AGGRESSORS": { - "flagCode": "RED", - "liveryCodes": [ - "RSO" - ] - }, - "INSURGENTS": { - "flagCode": "UNK", - "liveryCodes": [ - "INS" - ] - }, - "ALGERIA": { - "flagCode": "DZ", - "liveryCodes": [ - "DZA" - ] - }, - "ARGENTINA": { - "flagCode": "AR", - "liveryCodes": [ - "ARG" - ] - }, - "AUSTRALIA": { - "flagCode": "AU", - "liveryCodes": [ - "AUS", - "AUSAF" - ] - }, - "AUSTRIA": { - "flagCode": "AT", - "liveryCodes": [ - "AUT" - ] - }, - "BAHRAIN": { - "flagCode": "BH", - "liveryCodes": [ - "BHR" - ] - }, - "BELARUS": { - "flagCode": "BY", - "liveryCodes": [ - "BLR" - ] - }, - "BELGIUM": { - "flagCode": "BE", - "liveryCodes": [ - "BEL" - ] - }, - "BOLIVIA": { - "flagCode": "BO", - "liveryCodes": [ - "BOL" - ] - }, - "BRAZIL": { - "flagCode": "BR", - "liveryCodes": [ - "BRA" - ] - }, - "BULGARIA": { - "flagCode": "BG", - "liveryCodes": [ - "BGR" - ] - }, - "CANADA": { - "flagCode": "CA", - "liveryCodes": [ - "CAN" - ] - }, - "CHILE": { - "flagCode": "CL", - "liveryCodes": [ - "CHL" - ] - }, - "CHINA": { - "flagCode": "CN", - "liveryCodes": [ - "CHN" - ] - }, - "CROATIA": { - "flagCode": "HR", - "liveryCodes": [ - "HRV" - ] - }, - "CUBA": { - "flagCode": "CU", - "liveryCodes": [ - "CUB" - ] - }, - "CYPRUS": { - "flagCode": "CY", - "liveryCodes": [ - "CYP" - ] - }, - "CHEZH_REPUBLIC": { - "displayName": "Czech Republic", - "flagCode": "CZ", - "liveryCodes": [ - "CZE" - ] - }, - "DENMARK": { - "flagCode": "DK", - "liveryCodes": [ - "DEN" - ] - }, - "EGYPT": { - "flagCode": "EG", - "liveryCodes": [ - "EGY", - "EGP" - ] - }, - "ETHIOPIA": { - "flagCode": "ET", - "liveryCodes": [ - "ETH" - ] - }, - "FINLAND": { - "flagCode": "FI", - "liveryCodes": [ - "FIN" - ] - }, - "FRANCE": { - "flagCode": "FR", - "liveryCodes": [ - "FRA" - ] - }, - "GEORGIA": { - "flagCode": "GE", - "liveryCodes": [ - "GRG" - ] - }, - "GERMANY": { - "flagCode": "DE", - "liveryCodes": [ - "GER" - ] - }, - "GHANA": { - "flagCode": "GH", - "liveryCodes": [ - "GHA" - ] - }, - "GREECE": { - "flagCode": "GR", - "liveryCodes": [ - "GRC" - ] - }, - "HONDURAS": { - "flagCode": "HN", - "liveryCodes": [ - "HND" - ] - }, - "HUNGARY": { - "flagCode": "HU", - "liveryCodes": [ - "HUN" - ] - }, - "INDIA": { - "flagCode": "IN", - "liveryCodes": [ - "IND" - ] - }, - "INDONESIA": { - "flagCode": "ID", - "liveryCodes": [ - "IDN" - ] - }, - "IRAN": { - "flagCode": "IR", - "liveryCodes": [ - "IRN" - ] - }, - "IRAQ": { - "flagCode": "IQ", - "liveryCodes": [ - "IRQ" - ] - }, - "ISRAEL": { - "flagCode": "IL", - "liveryCodes": [ - "ISR" - ] - }, - "ITALY": { - "flagCode": "IT", - "liveryCodes": [ - "ITA" - ] - }, - "JAPAN": { - "flagCode": "JP", - "liveryCodes": [ - "JPN" - ] - }, - "JORDAN": { - "flagCode": "JO", - "liveryCodes": [ - "JOR" - ] - }, - "KAZAKHSTAN": { - "flagCode": "KZ", - "liveryCodes": [ - "KAZ" - ] - }, - "SOUTH_KOREA": { - "displayName": "South Korea", - "flagCode": "KR", - "liveryCodes": [ - "KOR" - ] - }, - "KUWAIT": { - "flagCode": "KW", - "liveryCodes": [ - "KWT" - ] - }, - "LEBANON": { - "flagCode": "LB", - "liveryCodes": [ - "LBN" - ] - }, - "MALAYSIA": { - "flagCode": "MY", - "liveryCodes": [ - "MYS" - ] - }, - "MEXICO": { - "flagCode": "MX", - "liveryCodes": [ - "MEX" - ] - }, - "MOROCCO": { - "flagCode": "MA", - "liveryCodes": [ - "MAR" - ] - }, - "THE_NETHERLANDS": { - "displayName": "The Netherlands", - "flagCode": "NL", - "liveryCodes": [ - "NETH" - ] - }, - "NIGERIA": { - "flagCode": "NG", - "liveryCodes": [ - "NGA" - ] - }, - "NORWAY": { - "flagCode": "NO", - "liveryCodes": [ - "NOR" - ] - }, - "OMAN": { - "flagCode": "OM", - "liveryCodes": [ - "OMN" - ] - }, - "PAKISTAN": { - "flagCode": "PK", - "liveryCodes": [ - "PAK" - ] - }, - "PERU": { - "flagCode": "PE", - "liveryCodes": [ - "PER" - ] - }, - "PHILIPPINES": { - "flagCode": "PH", - "liveryCodes": [ - "PHL" - ] - }, - "POLAND": { - "flagCode": "PL", - "liveryCodes": [ - "POL" - ] - }, - "PORTUGAL": { - "flagCode": "PT", - "liveryCodes": [ - "PRT" - ] - }, - "QATAR": { - "flagCode": "QA", - "liveryCodes": [ - "QAT" - ] - }, - "ROMANIA": { - "flagCode": "RO", - "liveryCodes": [ - "ROU" - ] - }, - "RUSSIA": { - "flagCode": "RU", - "liveryCodes": [ - "RUS" - ] - }, - "SAUDI_ARABIA": { - "displayName": "Saudi Arabia", - "flagCode": "SA", - "liveryCodes": [ - "SAU" - ] - }, - "SERBIA": { - "flagCode": "RS", - "liveryCodes": [ - "SRB" - ] - }, - "SLOVAKIA": { - "flagCode": "SK", - "liveryCodes": [ - "SVK" - ] - }, - "SLOVENIA": { - "flagCode": "SI", - "liveryCodes": [ - "SVN" - ] - }, - "SOUTH_AFRICA": { - "displayName": "South Africa", - "flagCode": "ZA", - "liveryCodes": [] - }, - "SPAIN": { - "flagCode": "ES", - "liveryCodes": [ - "SPN", - "SPA" - ] - }, - "SUDAN": { - "flagCode": "SD", - "liveryCodes": [ - "SDN", - "SUN" - ] - }, - "SWEDEN": { - "flagCode": "SE", - "liveryCodes": [ - "SWE" - ] - }, - "SWITZERLAND": { - "flagCode": "CH", - "liveryCodes": [ - "SUI" - ] - }, - "SYRIA": { - "flagCode": "SY", - "liveryCodes": [ - "SYR" - ] - }, - "THAILAND": { - "flagCode": "TH", - "liveryCodes": [ - "THA" - ] - }, - "TUNISIA": { - "flagCode": "TN", - "liveryCodes": [ - "TUN" - ] - }, - "TURKEY": { - "flagCode": "TR", - "liveryCodes": [ - "TUR" - ] - }, - "UKRAINE": { - "flagCode": "UA", - "liveryCodes": [ - "UKR" - ] - }, - "UNITED_ARAB_EMIRATES": { - "displayName": "United Arab Emirates", - "flagCode": "AE", - "liveryCodes": [ - "ARE" - ] - }, - "UK": { - "displayName": "United Kingdom", - "flagCode": "GB", - "liveryCodes": [ - "UK" - ] - }, - "USA": { - "displayName": "United States of America", - "flagCode": "US", - "liveryCodes": [ - "USA", - "USAF" - ] - }, - "VENEZUELA": { - "flagCode": "VE", - "liveryCodes": [ - "VEN" - ] - }, - "VIETNAM": { - "flagCode": "VN", - "liveryCodes": [ - "VNM" - ] - }, - "YEMEN": { - "flagCode": "YE", - "liveryCodes": [ - "YEM" - ] - }, - "CJTF_BLUE": { - "displayName": "Combined Joint Task Force Blue", - "flagCode": "BLUE", - "liveryCodes": [ - "BLUE" - ] - }, - "SOUTH_OSETIA": { - "displayName": "South Ossetia", - "flagCode": "UNK", - "liveryCodes": [] - }, - "NORTH_KOREA": { - "displayName": "Democratic People's Republic of Korea", - "flagCode": "KP", - "liveryCodes": [ - "PRK" - ] - }, - "CJTF_RED": { - "displayName": "Combined Joint Task Force Red", - "flagCode": "RED", - "liveryCodes": [ - "RED" - ] - }, - "ABKHAZIA": { - "flagCode": "UNK", - "liveryCodes": [ - "ABH" - ] - }, - "ITALIAN_SOCIAL_REPUBLIC": { - "displayName": "Italian Social Republic", - "flagCode": "SOCIAL", - "liveryCodes": [ - "RSI" - ] - }, - "USSR": { - "displayName": "USSR", - "flagCode": "USSR", - "liveryCodes": [] - }, - "ECUADOR": { - "flagCode": "EC", - "liveryCodes": [ - "ECU" - ] - }, - "LIBYA": { - "flagCode": "LY", - "liveryCodes": [ - "LBY", - "LIB" - ] - }, - "UN_PEACEKEEPERS": { - "displayName": "United Nations", - "flagCode": "UNK", - "liveryCodes": [ - "UN" - ] - }, - "GDR": { - "flagCode": "UNK", - "liveryCodes": [ - "GDR" - ] - }, - "YUGOSLAVIA": { - "flagCode": "YUG", - "liveryCodes": [ - "YUG" - ] - }, - "THIRDREICH": { - "displayName": "Third Reich", - "flagCode": "THIRD", - "liveryCodes": [] - } -} \ No newline at end of file diff --git a/frontend/server/public/images/countries/cp.svg b/frontend/server/public/images/countries/cp.svg deleted file mode 100644 index b3efb074..00000000 --- a/frontend/server/public/images/countries/cp.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/cr.svg b/frontend/server/public/images/countries/cr.svg deleted file mode 100644 index 5a409eeb..00000000 --- a/frontend/server/public/images/countries/cr.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/cu.svg b/frontend/server/public/images/countries/cu.svg deleted file mode 100644 index 6464f8eb..00000000 --- a/frontend/server/public/images/countries/cu.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cv.svg b/frontend/server/public/images/countries/cv.svg deleted file mode 100644 index 5c251da2..00000000 --- a/frontend/server/public/images/countries/cv.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cw.svg b/frontend/server/public/images/countries/cw.svg deleted file mode 100644 index bb0ece22..00000000 --- a/frontend/server/public/images/countries/cw.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cx.svg b/frontend/server/public/images/countries/cx.svg deleted file mode 100644 index 6803b3b6..00000000 --- a/frontend/server/public/images/countries/cx.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/cy.svg b/frontend/server/public/images/countries/cy.svg deleted file mode 100644 index 2f69bf79..00000000 --- a/frontend/server/public/images/countries/cy.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/cz.svg b/frontend/server/public/images/countries/cz.svg deleted file mode 100644 index 7913de38..00000000 --- a/frontend/server/public/images/countries/cz.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/de.svg b/frontend/server/public/images/countries/de.svg deleted file mode 100644 index b08334b6..00000000 --- a/frontend/server/public/images/countries/de.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/dg.svg b/frontend/server/public/images/countries/dg.svg deleted file mode 100644 index b9f99a99..00000000 --- a/frontend/server/public/images/countries/dg.svg +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/dj.svg b/frontend/server/public/images/countries/dj.svg deleted file mode 100644 index ebf2fc66..00000000 --- a/frontend/server/public/images/countries/dj.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/dk.svg b/frontend/server/public/images/countries/dk.svg deleted file mode 100644 index 563277f8..00000000 --- a/frontend/server/public/images/countries/dk.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/dm.svg b/frontend/server/public/images/countries/dm.svg deleted file mode 100644 index 60457b79..00000000 --- a/frontend/server/public/images/countries/dm.svg +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/do.svg b/frontend/server/public/images/countries/do.svg deleted file mode 100644 index 9c1becc6..00000000 --- a/frontend/server/public/images/countries/do.svg +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/dz.svg b/frontend/server/public/images/countries/dz.svg deleted file mode 100644 index 5ff29a74..00000000 --- a/frontend/server/public/images/countries/dz.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/eac.svg b/frontend/server/public/images/countries/eac.svg deleted file mode 100644 index 613099cc..00000000 --- a/frontend/server/public/images/countries/eac.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ec.svg b/frontend/server/public/images/countries/ec.svg deleted file mode 100644 index 65b78858..00000000 --- a/frontend/server/public/images/countries/ec.svg +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ee.svg b/frontend/server/public/images/countries/ee.svg deleted file mode 100644 index 36ea288c..00000000 --- a/frontend/server/public/images/countries/ee.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/eg.svg b/frontend/server/public/images/countries/eg.svg deleted file mode 100644 index 58c943c2..00000000 --- a/frontend/server/public/images/countries/eg.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/eh.svg b/frontend/server/public/images/countries/eh.svg deleted file mode 100644 index 2c9525bd..00000000 --- a/frontend/server/public/images/countries/eh.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/er.svg b/frontend/server/public/images/countries/er.svg deleted file mode 100644 index 2705295f..00000000 --- a/frontend/server/public/images/countries/er.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/es-ct.svg b/frontend/server/public/images/countries/es-ct.svg deleted file mode 100644 index 4d859114..00000000 --- a/frontend/server/public/images/countries/es-ct.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/es-ga.svg b/frontend/server/public/images/countries/es-ga.svg deleted file mode 100644 index a91ffed0..00000000 --- a/frontend/server/public/images/countries/es-ga.svg +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/es-pv.svg b/frontend/server/public/images/countries/es-pv.svg deleted file mode 100644 index 21c8759e..00000000 --- a/frontend/server/public/images/countries/es-pv.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/es.svg b/frontend/server/public/images/countries/es.svg deleted file mode 100644 index 815e0f84..00000000 --- a/frontend/server/public/images/countries/es.svg +++ /dev/null @@ -1,544 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/et.svg b/frontend/server/public/images/countries/et.svg deleted file mode 100644 index a3378fd9..00000000 --- a/frontend/server/public/images/countries/et.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/eu.svg b/frontend/server/public/images/countries/eu.svg deleted file mode 100644 index bbfefd6b..00000000 --- a/frontend/server/public/images/countries/eu.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/fi.svg b/frontend/server/public/images/countries/fi.svg deleted file mode 100644 index 470be2d0..00000000 --- a/frontend/server/public/images/countries/fi.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/fj.svg b/frontend/server/public/images/countries/fj.svg deleted file mode 100644 index 2d7cd980..00000000 --- a/frontend/server/public/images/countries/fj.svg +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/fk.svg b/frontend/server/public/images/countries/fk.svg deleted file mode 100644 index b4935a55..00000000 --- a/frontend/server/public/images/countries/fk.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/fm.svg b/frontend/server/public/images/countries/fm.svg deleted file mode 100644 index 85f4f47e..00000000 --- a/frontend/server/public/images/countries/fm.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/fo.svg b/frontend/server/public/images/countries/fo.svg deleted file mode 100644 index 717ee20b..00000000 --- a/frontend/server/public/images/countries/fo.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/fr.svg b/frontend/server/public/images/countries/fr.svg deleted file mode 100644 index 79689fe9..00000000 --- a/frontend/server/public/images/countries/fr.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/ga.svg b/frontend/server/public/images/countries/ga.svg deleted file mode 100644 index 76edab42..00000000 --- a/frontend/server/public/images/countries/ga.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/gb-eng.svg b/frontend/server/public/images/countries/gb-eng.svg deleted file mode 100644 index 12e3b67d..00000000 --- a/frontend/server/public/images/countries/gb-eng.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/gb-nir.svg b/frontend/server/public/images/countries/gb-nir.svg deleted file mode 100644 index c9510f30..00000000 --- a/frontend/server/public/images/countries/gb-nir.svg +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gb-sct.svg b/frontend/server/public/images/countries/gb-sct.svg deleted file mode 100644 index f50cd322..00000000 --- a/frontend/server/public/images/countries/gb-sct.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/gb-wls.svg b/frontend/server/public/images/countries/gb-wls.svg deleted file mode 100644 index 6e15fd01..00000000 --- a/frontend/server/public/images/countries/gb-wls.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/gb.svg b/frontend/server/public/images/countries/gb.svg deleted file mode 100644 index dbac25ea..00000000 --- a/frontend/server/public/images/countries/gb.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/gd.svg b/frontend/server/public/images/countries/gd.svg deleted file mode 100644 index f44e8391..00000000 --- a/frontend/server/public/images/countries/gd.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ge.svg b/frontend/server/public/images/countries/ge.svg deleted file mode 100644 index d8126ec8..00000000 --- a/frontend/server/public/images/countries/ge.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/gf.svg b/frontend/server/public/images/countries/gf.svg deleted file mode 100644 index 73493426..00000000 --- a/frontend/server/public/images/countries/gf.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/gg.svg b/frontend/server/public/images/countries/gg.svg deleted file mode 100644 index f8216c8b..00000000 --- a/frontend/server/public/images/countries/gg.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/gh.svg b/frontend/server/public/images/countries/gh.svg deleted file mode 100644 index a6497de8..00000000 --- a/frontend/server/public/images/countries/gh.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/gi.svg b/frontend/server/public/images/countries/gi.svg deleted file mode 100644 index 92496be6..00000000 --- a/frontend/server/public/images/countries/gi.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gl.svg b/frontend/server/public/images/countries/gl.svg deleted file mode 100644 index eb5a52e9..00000000 --- a/frontend/server/public/images/countries/gl.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/gm.svg b/frontend/server/public/images/countries/gm.svg deleted file mode 100644 index 8fe9d669..00000000 --- a/frontend/server/public/images/countries/gm.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gn.svg b/frontend/server/public/images/countries/gn.svg deleted file mode 100644 index 40d6ad4f..00000000 --- a/frontend/server/public/images/countries/gn.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/gp.svg b/frontend/server/public/images/countries/gp.svg deleted file mode 100644 index 528e554f..00000000 --- a/frontend/server/public/images/countries/gp.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/gq.svg b/frontend/server/public/images/countries/gq.svg deleted file mode 100644 index ba2acf28..00000000 --- a/frontend/server/public/images/countries/gq.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gr.svg b/frontend/server/public/images/countries/gr.svg deleted file mode 100644 index 599741ee..00000000 --- a/frontend/server/public/images/countries/gr.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gs.svg b/frontend/server/public/images/countries/gs.svg deleted file mode 100644 index 2e045dfd..00000000 --- a/frontend/server/public/images/countries/gs.svg +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gt.svg b/frontend/server/public/images/countries/gt.svg deleted file mode 100644 index 9b347124..00000000 --- a/frontend/server/public/images/countries/gt.svg +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gu.svg b/frontend/server/public/images/countries/gu.svg deleted file mode 100644 index a5584ffd..00000000 --- a/frontend/server/public/images/countries/gu.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - G - U - A - M - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gw.svg b/frontend/server/public/images/countries/gw.svg deleted file mode 100644 index b8d566a2..00000000 --- a/frontend/server/public/images/countries/gw.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/gy.svg b/frontend/server/public/images/countries/gy.svg deleted file mode 100644 index f4d9b8ab..00000000 --- a/frontend/server/public/images/countries/gy.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/hk.svg b/frontend/server/public/images/countries/hk.svg deleted file mode 100644 index ec40b5fe..00000000 --- a/frontend/server/public/images/countries/hk.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/hm.svg b/frontend/server/public/images/countries/hm.svg deleted file mode 100644 index c0748d3b..00000000 --- a/frontend/server/public/images/countries/hm.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/hn.svg b/frontend/server/public/images/countries/hn.svg deleted file mode 100644 index 1c166dc4..00000000 --- a/frontend/server/public/images/countries/hn.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/hr.svg b/frontend/server/public/images/countries/hr.svg deleted file mode 100644 index febbc240..00000000 --- a/frontend/server/public/images/countries/hr.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ht.svg b/frontend/server/public/images/countries/ht.svg deleted file mode 100644 index 4cd4470f..00000000 --- a/frontend/server/public/images/countries/ht.svg +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/hu.svg b/frontend/server/public/images/countries/hu.svg deleted file mode 100644 index baddf7f5..00000000 --- a/frontend/server/public/images/countries/hu.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/ic.svg b/frontend/server/public/images/countries/ic.svg deleted file mode 100644 index 81e6ee2e..00000000 --- a/frontend/server/public/images/countries/ic.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/id.svg b/frontend/server/public/images/countries/id.svg deleted file mode 100644 index 3b7c8fcf..00000000 --- a/frontend/server/public/images/countries/id.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/ie.svg b/frontend/server/public/images/countries/ie.svg deleted file mode 100644 index 049be14d..00000000 --- a/frontend/server/public/images/countries/ie.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/il.svg b/frontend/server/public/images/countries/il.svg deleted file mode 100644 index 724cf8bf..00000000 --- a/frontend/server/public/images/countries/il.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/im.svg b/frontend/server/public/images/countries/im.svg deleted file mode 100644 index 3d597a14..00000000 --- a/frontend/server/public/images/countries/im.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/in.svg b/frontend/server/public/images/countries/in.svg deleted file mode 100644 index c634f68a..00000000 --- a/frontend/server/public/images/countries/in.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/io.svg b/frontend/server/public/images/countries/io.svg deleted file mode 100644 index b04c46f5..00000000 --- a/frontend/server/public/images/countries/io.svg +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/iq.svg b/frontend/server/public/images/countries/iq.svg deleted file mode 100644 index 68917853..00000000 --- a/frontend/server/public/images/countries/iq.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ir.svg b/frontend/server/public/images/countries/ir.svg deleted file mode 100644 index 5c9609ef..00000000 --- a/frontend/server/public/images/countries/ir.svg +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/is.svg b/frontend/server/public/images/countries/is.svg deleted file mode 100644 index 56cc9778..00000000 --- a/frontend/server/public/images/countries/is.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/it.svg b/frontend/server/public/images/countries/it.svg deleted file mode 100644 index 20a8bfdc..00000000 --- a/frontend/server/public/images/countries/it.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/je.svg b/frontend/server/public/images/countries/je.svg deleted file mode 100644 index e69e4f46..00000000 --- a/frontend/server/public/images/countries/je.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/jm.svg b/frontend/server/public/images/countries/jm.svg deleted file mode 100644 index e03a3422..00000000 --- a/frontend/server/public/images/countries/jm.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/jo.svg b/frontend/server/public/images/countries/jo.svg deleted file mode 100644 index 50802915..00000000 --- a/frontend/server/public/images/countries/jo.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/jp.svg b/frontend/server/public/images/countries/jp.svg deleted file mode 100644 index cd03a339..00000000 --- a/frontend/server/public/images/countries/jp.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ke.svg b/frontend/server/public/images/countries/ke.svg deleted file mode 100644 index 5b377937..00000000 --- a/frontend/server/public/images/countries/ke.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/kg.svg b/frontend/server/public/images/countries/kg.svg deleted file mode 100644 index 626af14d..00000000 --- a/frontend/server/public/images/countries/kg.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/kh.svg b/frontend/server/public/images/countries/kh.svg deleted file mode 100644 index c658838f..00000000 --- a/frontend/server/public/images/countries/kh.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ki.svg b/frontend/server/public/images/countries/ki.svg deleted file mode 100644 index 1697ffe8..00000000 --- a/frontend/server/public/images/countries/ki.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/km.svg b/frontend/server/public/images/countries/km.svg deleted file mode 100644 index 56d62c32..00000000 --- a/frontend/server/public/images/countries/km.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/kn.svg b/frontend/server/public/images/countries/kn.svg deleted file mode 100644 index 01a3a0a2..00000000 --- a/frontend/server/public/images/countries/kn.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/kp.svg b/frontend/server/public/images/countries/kp.svg deleted file mode 100644 index 94bc8e1e..00000000 --- a/frontend/server/public/images/countries/kp.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/kr.svg b/frontend/server/public/images/countries/kr.svg deleted file mode 100644 index 44b51e25..00000000 --- a/frontend/server/public/images/countries/kr.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/kw.svg b/frontend/server/public/images/countries/kw.svg deleted file mode 100644 index 7ff91a84..00000000 --- a/frontend/server/public/images/countries/kw.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ky.svg b/frontend/server/public/images/countries/ky.svg deleted file mode 100644 index d6e567b5..00000000 --- a/frontend/server/public/images/countries/ky.svg +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/kz.svg b/frontend/server/public/images/countries/kz.svg deleted file mode 100644 index a69ba7a3..00000000 --- a/frontend/server/public/images/countries/kz.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/la.svg b/frontend/server/public/images/countries/la.svg deleted file mode 100644 index 9723a781..00000000 --- a/frontend/server/public/images/countries/la.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/lb.svg b/frontend/server/public/images/countries/lb.svg deleted file mode 100644 index 49650ad8..00000000 --- a/frontend/server/public/images/countries/lb.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/lc.svg b/frontend/server/public/images/countries/lc.svg deleted file mode 100644 index 46bbc6cc..00000000 --- a/frontend/server/public/images/countries/lc.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/li.svg b/frontend/server/public/images/countries/li.svg deleted file mode 100644 index a08a05ac..00000000 --- a/frontend/server/public/images/countries/li.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/lk.svg b/frontend/server/public/images/countries/lk.svg deleted file mode 100644 index 24c6559b..00000000 --- a/frontend/server/public/images/countries/lk.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/lr.svg b/frontend/server/public/images/countries/lr.svg deleted file mode 100644 index a31377f9..00000000 --- a/frontend/server/public/images/countries/lr.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ls.svg b/frontend/server/public/images/countries/ls.svg deleted file mode 100644 index e7016502..00000000 --- a/frontend/server/public/images/countries/ls.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/lt.svg b/frontend/server/public/images/countries/lt.svg deleted file mode 100644 index 90ec5d24..00000000 --- a/frontend/server/public/images/countries/lt.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/lu.svg b/frontend/server/public/images/countries/lu.svg deleted file mode 100644 index c31d2bfa..00000000 --- a/frontend/server/public/images/countries/lu.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/lv.svg b/frontend/server/public/images/countries/lv.svg deleted file mode 100644 index 6a9e75ec..00000000 --- a/frontend/server/public/images/countries/lv.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/ly.svg b/frontend/server/public/images/countries/ly.svg deleted file mode 100644 index 14abcb24..00000000 --- a/frontend/server/public/images/countries/ly.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ma.svg b/frontend/server/public/images/countries/ma.svg deleted file mode 100644 index 7ce56eff..00000000 --- a/frontend/server/public/images/countries/ma.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/mc.svg b/frontend/server/public/images/countries/mc.svg deleted file mode 100644 index 9cb6c9e8..00000000 --- a/frontend/server/public/images/countries/mc.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/md.svg b/frontend/server/public/images/countries/md.svg deleted file mode 100644 index a806572c..00000000 --- a/frontend/server/public/images/countries/md.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/me.svg b/frontend/server/public/images/countries/me.svg deleted file mode 100644 index b56cce09..00000000 --- a/frontend/server/public/images/countries/me.svg +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/mf.svg b/frontend/server/public/images/countries/mf.svg deleted file mode 100644 index a53ce501..00000000 --- a/frontend/server/public/images/countries/mf.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/mg.svg b/frontend/server/public/images/countries/mg.svg deleted file mode 100644 index 5fa2d244..00000000 --- a/frontend/server/public/images/countries/mg.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/mh.svg b/frontend/server/public/images/countries/mh.svg deleted file mode 100644 index 46351e54..00000000 --- a/frontend/server/public/images/countries/mh.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/mk.svg b/frontend/server/public/images/countries/mk.svg deleted file mode 100644 index 4f5cae77..00000000 --- a/frontend/server/public/images/countries/mk.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/ml.svg b/frontend/server/public/images/countries/ml.svg deleted file mode 100644 index 6f6b7169..00000000 --- a/frontend/server/public/images/countries/ml.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/mm.svg b/frontend/server/public/images/countries/mm.svg deleted file mode 100644 index 8ed5e6ac..00000000 --- a/frontend/server/public/images/countries/mm.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/mn.svg b/frontend/server/public/images/countries/mn.svg deleted file mode 100644 index 56cb0729..00000000 --- a/frontend/server/public/images/countries/mn.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/mo.svg b/frontend/server/public/images/countries/mo.svg deleted file mode 100644 index 257faed6..00000000 --- a/frontend/server/public/images/countries/mo.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/mp.svg b/frontend/server/public/images/countries/mp.svg deleted file mode 100644 index 6696fdb8..00000000 --- a/frontend/server/public/images/countries/mp.svg +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/mq.svg b/frontend/server/public/images/countries/mq.svg deleted file mode 100644 index 9be3452e..00000000 --- a/frontend/server/public/images/countries/mq.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/mr.svg b/frontend/server/public/images/countries/mr.svg deleted file mode 100644 index 3f0a6264..00000000 --- a/frontend/server/public/images/countries/mr.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/ms.svg b/frontend/server/public/images/countries/ms.svg deleted file mode 100644 index 2e6d4c5c..00000000 --- a/frontend/server/public/images/countries/ms.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/mt.svg b/frontend/server/public/images/countries/mt.svg deleted file mode 100644 index 676e801c..00000000 --- a/frontend/server/public/images/countries/mt.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/mu.svg b/frontend/server/public/images/countries/mu.svg deleted file mode 100644 index 82d7a3be..00000000 --- a/frontend/server/public/images/countries/mu.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/mv.svg b/frontend/server/public/images/countries/mv.svg deleted file mode 100644 index 10450f98..00000000 --- a/frontend/server/public/images/countries/mv.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/mw.svg b/frontend/server/public/images/countries/mw.svg deleted file mode 100644 index 113aae54..00000000 --- a/frontend/server/public/images/countries/mw.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/frontend/server/public/images/countries/mx.svg b/frontend/server/public/images/countries/mx.svg deleted file mode 100644 index bb305b8d..00000000 --- a/frontend/server/public/images/countries/mx.svg +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/my.svg b/frontend/server/public/images/countries/my.svg deleted file mode 100644 index 264f48ae..00000000 --- a/frontend/server/public/images/countries/my.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/mz.svg b/frontend/server/public/images/countries/mz.svg deleted file mode 100644 index eb020058..00000000 --- a/frontend/server/public/images/countries/mz.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/na.svg b/frontend/server/public/images/countries/na.svg deleted file mode 100644 index 799702e8..00000000 --- a/frontend/server/public/images/countries/na.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/nc.svg b/frontend/server/public/images/countries/nc.svg deleted file mode 100644 index 96795408..00000000 --- a/frontend/server/public/images/countries/nc.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ne.svg b/frontend/server/public/images/countries/ne.svg deleted file mode 100644 index 39a82b82..00000000 --- a/frontend/server/public/images/countries/ne.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/nf.svg b/frontend/server/public/images/countries/nf.svg deleted file mode 100644 index ecdb4a3b..00000000 --- a/frontend/server/public/images/countries/nf.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/ng.svg b/frontend/server/public/images/countries/ng.svg deleted file mode 100644 index 81eb35f7..00000000 --- a/frontend/server/public/images/countries/ng.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/ni.svg b/frontend/server/public/images/countries/ni.svg deleted file mode 100644 index e16e77ae..00000000 --- a/frontend/server/public/images/countries/ni.svg +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/nl.svg b/frontend/server/public/images/countries/nl.svg deleted file mode 100644 index 4faaf498..00000000 --- a/frontend/server/public/images/countries/nl.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/no.svg b/frontend/server/public/images/countries/no.svg deleted file mode 100644 index a5f2a152..00000000 --- a/frontend/server/public/images/countries/no.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/np.svg b/frontend/server/public/images/countries/np.svg deleted file mode 100644 index fead9402..00000000 --- a/frontend/server/public/images/countries/np.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/nr.svg b/frontend/server/public/images/countries/nr.svg deleted file mode 100644 index e71ddcd8..00000000 --- a/frontend/server/public/images/countries/nr.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/nu.svg b/frontend/server/public/images/countries/nu.svg deleted file mode 100644 index 4067baff..00000000 --- a/frontend/server/public/images/countries/nu.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/frontend/server/public/images/countries/nz.svg b/frontend/server/public/images/countries/nz.svg deleted file mode 100644 index 04d08dcc..00000000 --- a/frontend/server/public/images/countries/nz.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/om.svg b/frontend/server/public/images/countries/om.svg deleted file mode 100644 index 1c762179..00000000 --- a/frontend/server/public/images/countries/om.svg +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/pa.svg b/frontend/server/public/images/countries/pa.svg deleted file mode 100644 index 8dc03bc6..00000000 --- a/frontend/server/public/images/countries/pa.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/pe.svg b/frontend/server/public/images/countries/pe.svg deleted file mode 100644 index f0a4b77d..00000000 --- a/frontend/server/public/images/countries/pe.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/pf.svg b/frontend/server/public/images/countries/pf.svg deleted file mode 100644 index 16374f36..00000000 --- a/frontend/server/public/images/countries/pf.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/pg.svg b/frontend/server/public/images/countries/pg.svg deleted file mode 100644 index 1080add5..00000000 --- a/frontend/server/public/images/countries/pg.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/ph.svg b/frontend/server/public/images/countries/ph.svg deleted file mode 100644 index 65489e1c..00000000 --- a/frontend/server/public/images/countries/ph.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/pk.svg b/frontend/server/public/images/countries/pk.svg deleted file mode 100644 index fa02f6a8..00000000 --- a/frontend/server/public/images/countries/pk.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/pl.svg b/frontend/server/public/images/countries/pl.svg deleted file mode 100644 index 0fa51452..00000000 --- a/frontend/server/public/images/countries/pl.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/pm.svg b/frontend/server/public/images/countries/pm.svg deleted file mode 100644 index 401139f7..00000000 --- a/frontend/server/public/images/countries/pm.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/pn.svg b/frontend/server/public/images/countries/pn.svg deleted file mode 100644 index 9788c9cc..00000000 --- a/frontend/server/public/images/countries/pn.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/pr.svg b/frontend/server/public/images/countries/pr.svg deleted file mode 100644 index 3cb403b5..00000000 --- a/frontend/server/public/images/countries/pr.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ps.svg b/frontend/server/public/images/countries/ps.svg deleted file mode 100644 index 82031486..00000000 --- a/frontend/server/public/images/countries/ps.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/pt.svg b/frontend/server/public/images/countries/pt.svg deleted file mode 100644 index 2f36b7ee..00000000 --- a/frontend/server/public/images/countries/pt.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/pw.svg b/frontend/server/public/images/countries/pw.svg deleted file mode 100644 index 089cbcee..00000000 --- a/frontend/server/public/images/countries/pw.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/py.svg b/frontend/server/public/images/countries/py.svg deleted file mode 100644 index bfbf01f1..00000000 --- a/frontend/server/public/images/countries/py.svg +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/qa.svg b/frontend/server/public/images/countries/qa.svg deleted file mode 100644 index bd493c38..00000000 --- a/frontend/server/public/images/countries/qa.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/re.svg b/frontend/server/public/images/countries/re.svg deleted file mode 100644 index 3225dddf..00000000 --- a/frontend/server/public/images/countries/re.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/red.svg b/frontend/server/public/images/countries/red.svg deleted file mode 100644 index b1ca1b64..00000000 --- a/frontend/server/public/images/countries/red.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - diff --git a/frontend/server/public/images/countries/ro.svg b/frontend/server/public/images/countries/ro.svg deleted file mode 100644 index fda0f7be..00000000 --- a/frontend/server/public/images/countries/ro.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/rs.svg b/frontend/server/public/images/countries/rs.svg deleted file mode 100644 index 120293ab..00000000 --- a/frontend/server/public/images/countries/rs.svg +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ru.svg b/frontend/server/public/images/countries/ru.svg deleted file mode 100644 index f4d27efc..00000000 --- a/frontend/server/public/images/countries/ru.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/rw.svg b/frontend/server/public/images/countries/rw.svg deleted file mode 100644 index 6cc669ed..00000000 --- a/frontend/server/public/images/countries/rw.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sa.svg b/frontend/server/public/images/countries/sa.svg deleted file mode 100644 index 660396a7..00000000 --- a/frontend/server/public/images/countries/sa.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sb.svg b/frontend/server/public/images/countries/sb.svg deleted file mode 100644 index a011360d..00000000 --- a/frontend/server/public/images/countries/sb.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sc.svg b/frontend/server/public/images/countries/sc.svg deleted file mode 100644 index 9a46b369..00000000 --- a/frontend/server/public/images/countries/sc.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/sd.svg b/frontend/server/public/images/countries/sd.svg deleted file mode 100644 index b8e4b973..00000000 --- a/frontend/server/public/images/countries/sd.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/se.svg b/frontend/server/public/images/countries/se.svg deleted file mode 100644 index 0e41780e..00000000 --- a/frontend/server/public/images/countries/se.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/sg.svg b/frontend/server/public/images/countries/sg.svg deleted file mode 100644 index c4dd4ac9..00000000 --- a/frontend/server/public/images/countries/sg.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sh.svg b/frontend/server/public/images/countries/sh.svg deleted file mode 100644 index 131b069a..00000000 --- a/frontend/server/public/images/countries/sh.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/si.svg b/frontend/server/public/images/countries/si.svg deleted file mode 100644 index f2aea016..00000000 --- a/frontend/server/public/images/countries/si.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sj.svg b/frontend/server/public/images/countries/sj.svg deleted file mode 100644 index bb2799ce..00000000 --- a/frontend/server/public/images/countries/sj.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/sk.svg b/frontend/server/public/images/countries/sk.svg deleted file mode 100644 index a1953fa6..00000000 --- a/frontend/server/public/images/countries/sk.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/sl.svg b/frontend/server/public/images/countries/sl.svg deleted file mode 100644 index a07baf75..00000000 --- a/frontend/server/public/images/countries/sl.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/sm.svg b/frontend/server/public/images/countries/sm.svg deleted file mode 100644 index 0892990b..00000000 --- a/frontend/server/public/images/countries/sm.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sn.svg b/frontend/server/public/images/countries/sn.svg deleted file mode 100644 index 7c0673d6..00000000 --- a/frontend/server/public/images/countries/sn.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/so.svg b/frontend/server/public/images/countries/so.svg deleted file mode 100644 index ae582f19..00000000 --- a/frontend/server/public/images/countries/so.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/social.svg b/frontend/server/public/images/countries/social.svg deleted file mode 100644 index 726892e5..00000000 --- a/frontend/server/public/images/countries/social.svg +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sr.svg b/frontend/server/public/images/countries/sr.svg deleted file mode 100644 index 5e71c400..00000000 --- a/frontend/server/public/images/countries/sr.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/ss.svg b/frontend/server/public/images/countries/ss.svg deleted file mode 100644 index 73804d80..00000000 --- a/frontend/server/public/images/countries/ss.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/st.svg b/frontend/server/public/images/countries/st.svg deleted file mode 100644 index f2e75c14..00000000 --- a/frontend/server/public/images/countries/st.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sv.svg b/frontend/server/public/images/countries/sv.svg deleted file mode 100644 index 3a63913d..00000000 --- a/frontend/server/public/images/countries/sv.svg +++ /dev/null @@ -1,594 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sx.svg b/frontend/server/public/images/countries/sx.svg deleted file mode 100644 index 84844e0f..00000000 --- a/frontend/server/public/images/countries/sx.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/sy.svg b/frontend/server/public/images/countries/sy.svg deleted file mode 100644 index 29636ae0..00000000 --- a/frontend/server/public/images/countries/sy.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/sz.svg b/frontend/server/public/images/countries/sz.svg deleted file mode 100644 index 5eef6914..00000000 --- a/frontend/server/public/images/countries/sz.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ta.svg b/frontend/server/public/images/countries/ta.svg deleted file mode 100644 index b68ad23c..00000000 --- a/frontend/server/public/images/countries/ta.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/tc.svg b/frontend/server/public/images/countries/tc.svg deleted file mode 100644 index 89d29bbf..00000000 --- a/frontend/server/public/images/countries/tc.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/td.svg b/frontend/server/public/images/countries/td.svg deleted file mode 100644 index 9fadf85a..00000000 --- a/frontend/server/public/images/countries/td.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/tf.svg b/frontend/server/public/images/countries/tf.svg deleted file mode 100644 index 88323d2c..00000000 --- a/frontend/server/public/images/countries/tf.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/tg.svg b/frontend/server/public/images/countries/tg.svg deleted file mode 100644 index e20f40d8..00000000 --- a/frontend/server/public/images/countries/tg.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/th.svg b/frontend/server/public/images/countries/th.svg deleted file mode 100644 index 1e93a61e..00000000 --- a/frontend/server/public/images/countries/th.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/third.svg b/frontend/server/public/images/countries/third.svg deleted file mode 100644 index 5ab93c67..00000000 --- a/frontend/server/public/images/countries/third.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/tj.svg b/frontend/server/public/images/countries/tj.svg deleted file mode 100644 index d2ba7333..00000000 --- a/frontend/server/public/images/countries/tj.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/tk.svg b/frontend/server/public/images/countries/tk.svg deleted file mode 100644 index 65bab137..00000000 --- a/frontend/server/public/images/countries/tk.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/tl.svg b/frontend/server/public/images/countries/tl.svg deleted file mode 100644 index bcfc1612..00000000 --- a/frontend/server/public/images/countries/tl.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/tm.svg b/frontend/server/public/images/countries/tm.svg deleted file mode 100644 index 08792a77..00000000 --- a/frontend/server/public/images/countries/tm.svg +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/tn.svg b/frontend/server/public/images/countries/tn.svg deleted file mode 100644 index 6a1989b4..00000000 --- a/frontend/server/public/images/countries/tn.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/to.svg b/frontend/server/public/images/countries/to.svg deleted file mode 100644 index d0723370..00000000 --- a/frontend/server/public/images/countries/to.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/frontend/server/public/images/countries/tr.svg b/frontend/server/public/images/countries/tr.svg deleted file mode 100644 index a92804f8..00000000 --- a/frontend/server/public/images/countries/tr.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/tt.svg b/frontend/server/public/images/countries/tt.svg deleted file mode 100644 index 14adbe04..00000000 --- a/frontend/server/public/images/countries/tt.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/tv.svg b/frontend/server/public/images/countries/tv.svg deleted file mode 100644 index 675210ec..00000000 --- a/frontend/server/public/images/countries/tv.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/tw.svg b/frontend/server/public/images/countries/tw.svg deleted file mode 100644 index 57fd98b4..00000000 --- a/frontend/server/public/images/countries/tw.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/tz.svg b/frontend/server/public/images/countries/tz.svg deleted file mode 100644 index 751c1672..00000000 --- a/frontend/server/public/images/countries/tz.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/ua.svg b/frontend/server/public/images/countries/ua.svg deleted file mode 100644 index a339eb1b..00000000 --- a/frontend/server/public/images/countries/ua.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/images/countries/ug.svg b/frontend/server/public/images/countries/ug.svg deleted file mode 100644 index 78252a42..00000000 --- a/frontend/server/public/images/countries/ug.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/um.svg b/frontend/server/public/images/countries/um.svg deleted file mode 100644 index 5f2822d5..00000000 --- a/frontend/server/public/images/countries/um.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/un.svg b/frontend/server/public/images/countries/un.svg deleted file mode 100644 index e4753370..00000000 --- a/frontend/server/public/images/countries/un.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/unk.svg b/frontend/server/public/images/countries/unk.svg deleted file mode 100644 index 7e2030d1..00000000 --- a/frontend/server/public/images/countries/unk.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - ? - diff --git a/frontend/server/public/images/countries/us.svg b/frontend/server/public/images/countries/us.svg deleted file mode 100644 index 615946d4..00000000 --- a/frontend/server/public/images/countries/us.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/images/countries/ussr.svg b/frontend/server/public/images/countries/ussr.svg deleted file mode 100644 index cdb3d270..00000000 --- a/frontend/server/public/images/countries/ussr.svg +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/uy.svg b/frontend/server/public/images/countries/uy.svg deleted file mode 100644 index 4a54b857..00000000 --- a/frontend/server/public/images/countries/uy.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/uz.svg b/frontend/server/public/images/countries/uz.svg deleted file mode 100644 index aaf9382a..00000000 --- a/frontend/server/public/images/countries/uz.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/va.svg b/frontend/server/public/images/countries/va.svg deleted file mode 100644 index c7d87916..00000000 --- a/frontend/server/public/images/countries/va.svg +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/vc.svg b/frontend/server/public/images/countries/vc.svg deleted file mode 100644 index 450f6f0a..00000000 --- a/frontend/server/public/images/countries/vc.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/ve.svg b/frontend/server/public/images/countries/ve.svg deleted file mode 100644 index 314e7f5f..00000000 --- a/frontend/server/public/images/countries/ve.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/vg.svg b/frontend/server/public/images/countries/vg.svg deleted file mode 100644 index 4d2c3976..00000000 --- a/frontend/server/public/images/countries/vg.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/vi.svg b/frontend/server/public/images/countries/vi.svg deleted file mode 100644 index 3a64338e..00000000 --- a/frontend/server/public/images/countries/vi.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/vn.svg b/frontend/server/public/images/countries/vn.svg deleted file mode 100644 index 24bedc50..00000000 --- a/frontend/server/public/images/countries/vn.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/vu.svg b/frontend/server/public/images/countries/vu.svg deleted file mode 100644 index efcff895..00000000 --- a/frontend/server/public/images/countries/vu.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/wf.svg b/frontend/server/public/images/countries/wf.svg deleted file mode 100644 index 57feb3a5..00000000 --- a/frontend/server/public/images/countries/wf.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/ws.svg b/frontend/server/public/images/countries/ws.svg deleted file mode 100644 index 0e758a7a..00000000 --- a/frontend/server/public/images/countries/ws.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/xk.svg b/frontend/server/public/images/countries/xk.svg deleted file mode 100644 index de6ef4da..00000000 --- a/frontend/server/public/images/countries/xk.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/xx.svg b/frontend/server/public/images/countries/xx.svg deleted file mode 100644 index 9333be36..00000000 --- a/frontend/server/public/images/countries/xx.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/images/countries/ye.svg b/frontend/server/public/images/countries/ye.svg deleted file mode 100644 index 61f0ed61..00000000 --- a/frontend/server/public/images/countries/ye.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/images/countries/yt.svg b/frontend/server/public/images/countries/yt.svg deleted file mode 100644 index 5ea2f648..00000000 --- a/frontend/server/public/images/countries/yt.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/images/countries/yug.svg b/frontend/server/public/images/countries/yug.svg deleted file mode 100644 index 657cc1b5..00000000 --- a/frontend/server/public/images/countries/yug.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/images/countries/za.svg b/frontend/server/public/images/countries/za.svg deleted file mode 100644 index aa54beb8..00000000 --- a/frontend/server/public/images/countries/za.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/zm.svg b/frontend/server/public/images/countries/zm.svg deleted file mode 100644 index b8fdd63c..00000000 --- a/frontend/server/public/images/countries/zm.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/countries/zw.svg b/frontend/server/public/images/countries/zw.svg deleted file mode 100644 index 5c197469..00000000 --- a/frontend/server/public/images/countries/zw.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/images/favicons/android-chrome-192x192.png b/frontend/server/public/images/favicons/android-chrome-192x192.png deleted file mode 100644 index 94156476..00000000 Binary files a/frontend/server/public/images/favicons/android-chrome-192x192.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/android-chrome-512x512.png b/frontend/server/public/images/favicons/android-chrome-512x512.png deleted file mode 100644 index 1b1a4c17..00000000 Binary files a/frontend/server/public/images/favicons/android-chrome-512x512.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/apple-touch-icon.png b/frontend/server/public/images/favicons/apple-touch-icon.png deleted file mode 100644 index 8aa1651e..00000000 Binary files a/frontend/server/public/images/favicons/apple-touch-icon.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/favicon-16x16.png b/frontend/server/public/images/favicons/favicon-16x16.png deleted file mode 100644 index 01d279f2..00000000 Binary files a/frontend/server/public/images/favicons/favicon-16x16.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/favicon-32x32.png b/frontend/server/public/images/favicons/favicon-32x32.png deleted file mode 100644 index 63c55bd2..00000000 Binary files a/frontend/server/public/images/favicons/favicon-32x32.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/favicon.ico b/frontend/server/public/images/favicons/favicon.ico deleted file mode 100644 index 5bb88640..00000000 Binary files a/frontend/server/public/images/favicons/favicon.ico and /dev/null differ diff --git a/frontend/server/public/images/favicons/site.webmanifest b/frontend/server/public/images/favicons/site.webmanifest deleted file mode 100644 index 44c84eb7..00000000 --- a/frontend/server/public/images/favicons/site.webmanifest +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "DCS Olympus", - "short_name": "DCS Olympus", - "icons": [{ - "src": "/images/favicons/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, { - "src": "/images/favicons/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - }], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} \ No newline at end of file diff --git a/frontend/server/public/images/icon-round.png b/frontend/server/public/images/icon-round.png deleted file mode 100644 index 0244ffa7..00000000 Binary files a/frontend/server/public/images/icon-round.png and /dev/null differ diff --git a/frontend/server/public/images/icon.png b/frontend/server/public/images/icon.png deleted file mode 100644 index dc5c994e..00000000 Binary files a/frontend/server/public/images/icon.png and /dev/null differ diff --git a/frontend/server/public/images/olympus-4112x4112.png b/frontend/server/public/images/olympus-4112x4112.png deleted file mode 100644 index fedbfca1..00000000 Binary files a/frontend/server/public/images/olympus-4112x4112.png and /dev/null differ diff --git a/frontend/server/public/images/olympus-500x500.png b/frontend/server/public/images/olympus-500x500.png deleted file mode 100644 index 42c1b326..00000000 Binary files a/frontend/server/public/images/olympus-500x500.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-10.png b/frontend/server/public/images/units/a-10.png deleted file mode 100644 index 748be4cb..00000000 Binary files a/frontend/server/public/images/units/a-10.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-20.png b/frontend/server/public/images/units/a-20.png deleted file mode 100644 index d0fb8a0c..00000000 Binary files a/frontend/server/public/images/units/a-20.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-29.png b/frontend/server/public/images/units/a-29.png deleted file mode 100644 index 8f2ead6e..00000000 Binary files a/frontend/server/public/images/units/a-29.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-4.png b/frontend/server/public/images/units/a-4.png deleted file mode 100644 index dadcb05c..00000000 Binary files a/frontend/server/public/images/units/a-4.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-400.png b/frontend/server/public/images/units/a-400.png deleted file mode 100644 index 71863ac1..00000000 Binary files a/frontend/server/public/images/units/a-400.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-50.png b/frontend/server/public/images/units/a-50.png deleted file mode 100644 index a14b837a..00000000 Binary files a/frontend/server/public/images/units/a-50.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-6.png b/frontend/server/public/images/units/a-6.png deleted file mode 100644 index 8c198a7e..00000000 Binary files a/frontend/server/public/images/units/a-6.png and /dev/null differ diff --git a/frontend/server/public/images/units/ah-1.png b/frontend/server/public/images/units/ah-1.png deleted file mode 100644 index 4d1b3b40..00000000 Binary files a/frontend/server/public/images/units/ah-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/ah-64.png b/frontend/server/public/images/units/ah-64.png deleted file mode 100644 index ba5f43b6..00000000 Binary files a/frontend/server/public/images/units/ah-64.png and /dev/null differ diff --git a/frontend/server/public/images/units/airUnit.png b/frontend/server/public/images/units/airUnit.png deleted file mode 100644 index 6578221b..00000000 Binary files a/frontend/server/public/images/units/airUnit.png and /dev/null differ diff --git a/frontend/server/public/images/units/airliner2engine.png b/frontend/server/public/images/units/airliner2engine.png deleted file mode 100644 index ae27a626..00000000 Binary files a/frontend/server/public/images/units/airliner2engine.png and /dev/null differ diff --git a/frontend/server/public/images/units/an-26.png b/frontend/server/public/images/units/an-26.png deleted file mode 100644 index 2976fdee..00000000 Binary files a/frontend/server/public/images/units/an-26.png and /dev/null differ diff --git a/frontend/server/public/images/units/av8bna.png b/frontend/server/public/images/units/av8bna.png deleted file mode 100644 index bb3fc845..00000000 Binary files a/frontend/server/public/images/units/av8bna.png and /dev/null differ diff --git a/frontend/server/public/images/units/b-1.png b/frontend/server/public/images/units/b-1.png deleted file mode 100644 index dda58612..00000000 Binary files a/frontend/server/public/images/units/b-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/b-17.png b/frontend/server/public/images/units/b-17.png deleted file mode 100644 index a1515b20..00000000 Binary files a/frontend/server/public/images/units/b-17.png and /dev/null differ diff --git a/frontend/server/public/images/units/b-2.png b/frontend/server/public/images/units/b-2.png deleted file mode 100644 index e68ac71f..00000000 Binary files a/frontend/server/public/images/units/b-2.png and /dev/null differ diff --git a/frontend/server/public/images/units/b-52.png b/frontend/server/public/images/units/b-52.png deleted file mode 100644 index ebc22079..00000000 Binary files a/frontend/server/public/images/units/b-52.png and /dev/null differ diff --git a/frontend/server/public/images/units/b707.png b/frontend/server/public/images/units/b707.png deleted file mode 100644 index f8496dd2..00000000 Binary files a/frontend/server/public/images/units/b707.png and /dev/null differ diff --git a/frontend/server/public/images/units/bf109.png b/frontend/server/public/images/units/bf109.png deleted file mode 100644 index e0d3691c..00000000 Binary files a/frontend/server/public/images/units/bf109.png and /dev/null differ diff --git a/frontend/server/public/images/units/c-101.png b/frontend/server/public/images/units/c-101.png deleted file mode 100644 index e4372e90..00000000 Binary files a/frontend/server/public/images/units/c-101.png and /dev/null differ diff --git a/frontend/server/public/images/units/c-130.png b/frontend/server/public/images/units/c-130.png deleted file mode 100644 index 74f98897..00000000 Binary files a/frontend/server/public/images/units/c-130.png and /dev/null differ diff --git a/frontend/server/public/images/units/c-17.png b/frontend/server/public/images/units/c-17.png deleted file mode 100644 index 4339ab18..00000000 Binary files a/frontend/server/public/images/units/c-17.png and /dev/null differ diff --git a/frontend/server/public/images/units/c-5.png b/frontend/server/public/images/units/c-5.png deleted file mode 100644 index 00fccd57..00000000 Binary files a/frontend/server/public/images/units/c-5.png and /dev/null differ diff --git a/frontend/server/public/images/units/ch-47.png b/frontend/server/public/images/units/ch-47.png deleted file mode 100644 index 9a1ecd22..00000000 Binary files a/frontend/server/public/images/units/ch-47.png and /dev/null differ diff --git a/frontend/server/public/images/units/ch-53.png b/frontend/server/public/images/units/ch-53.png deleted file mode 100644 index 64a2b083..00000000 Binary files a/frontend/server/public/images/units/ch-53.png and /dev/null differ diff --git a/frontend/server/public/images/units/e-2.png b/frontend/server/public/images/units/e-2.png deleted file mode 100644 index fc797e9e..00000000 Binary files a/frontend/server/public/images/units/e-2.png and /dev/null differ diff --git a/frontend/server/public/images/units/e-3.png b/frontend/server/public/images/units/e-3.png deleted file mode 100644 index 1967a347..00000000 Binary files a/frontend/server/public/images/units/e-3.png and /dev/null differ diff --git a/frontend/server/public/images/units/eurofighter.png b/frontend/server/public/images/units/eurofighter.png deleted file mode 100644 index f18076e1..00000000 Binary files a/frontend/server/public/images/units/eurofighter.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-1.png b/frontend/server/public/images/units/f-1.png deleted file mode 100644 index c61eb2ad..00000000 Binary files a/frontend/server/public/images/units/f-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-111.png b/frontend/server/public/images/units/f-111.png deleted file mode 100644 index c424ad6b..00000000 Binary files a/frontend/server/public/images/units/f-111.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-117.png b/frontend/server/public/images/units/f-117.png deleted file mode 100644 index 306133d4..00000000 Binary files a/frontend/server/public/images/units/f-117.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-14.png b/frontend/server/public/images/units/f-14.png deleted file mode 100644 index d7af7621..00000000 Binary files a/frontend/server/public/images/units/f-14.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-15.png b/frontend/server/public/images/units/f-15.png deleted file mode 100644 index 60e26c1b..00000000 Binary files a/frontend/server/public/images/units/f-15.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-16c.png b/frontend/server/public/images/units/f-16c.png deleted file mode 100644 index a74de3c0..00000000 Binary files a/frontend/server/public/images/units/f-16c.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-22.png b/frontend/server/public/images/units/f-22.png deleted file mode 100644 index 5f210d30..00000000 Binary files a/frontend/server/public/images/units/f-22.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-35.png b/frontend/server/public/images/units/f-35.png deleted file mode 100644 index 196283fc..00000000 Binary files a/frontend/server/public/images/units/f-35.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-4.png b/frontend/server/public/images/units/f-4.png deleted file mode 100644 index 21784012..00000000 Binary files a/frontend/server/public/images/units/f-4.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-5.png b/frontend/server/public/images/units/f-5.png deleted file mode 100644 index 087bff8c..00000000 Binary files a/frontend/server/public/images/units/f-5.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-86.png b/frontend/server/public/images/units/f-86.png deleted file mode 100644 index ce576340..00000000 Binary files a/frontend/server/public/images/units/f-86.png and /dev/null differ diff --git a/frontend/server/public/images/units/fa-18c.png b/frontend/server/public/images/units/fa-18c.png deleted file mode 100644 index d6856033..00000000 Binary files a/frontend/server/public/images/units/fa-18c.png and /dev/null differ diff --git a/frontend/server/public/images/units/fw190.png b/frontend/server/public/images/units/fw190.png deleted file mode 100644 index 8bc95546..00000000 Binary files a/frontend/server/public/images/units/fw190.png and /dev/null differ diff --git a/frontend/server/public/images/units/general1.png b/frontend/server/public/images/units/general1.png deleted file mode 100644 index bf0bc2bd..00000000 Binary files a/frontend/server/public/images/units/general1.png and /dev/null differ diff --git a/frontend/server/public/images/units/gripen.png b/frontend/server/public/images/units/gripen.png deleted file mode 100644 index 0d5812b2..00000000 Binary files a/frontend/server/public/images/units/gripen.png and /dev/null differ diff --git a/frontend/server/public/images/units/h-6.png b/frontend/server/public/images/units/h-6.png deleted file mode 100644 index 9fb48950..00000000 Binary files a/frontend/server/public/images/units/h-6.png and /dev/null differ diff --git a/frontend/server/public/images/units/hawk.png b/frontend/server/public/images/units/hawk.png deleted file mode 100644 index 5cd07de5..00000000 Binary files a/frontend/server/public/images/units/hawk.png and /dev/null differ diff --git a/frontend/server/public/images/units/helicopter1.png b/frontend/server/public/images/units/helicopter1.png deleted file mode 100644 index 454152ff..00000000 Binary files a/frontend/server/public/images/units/helicopter1.png and /dev/null differ diff --git a/frontend/server/public/images/units/i-16.png b/frontend/server/public/images/units/i-16.png deleted file mode 100644 index eea45594..00000000 Binary files a/frontend/server/public/images/units/i-16.png and /dev/null differ diff --git a/frontend/server/public/images/units/il-76.png b/frontend/server/public/images/units/il-76.png deleted file mode 100644 index d0a3cf55..00000000 Binary files a/frontend/server/public/images/units/il-76.png and /dev/null differ diff --git a/frontend/server/public/images/units/j-10.png b/frontend/server/public/images/units/j-10.png deleted file mode 100644 index 6fa2dd21..00000000 Binary files a/frontend/server/public/images/units/j-10.png and /dev/null differ diff --git a/frontend/server/public/images/units/j-20.png b/frontend/server/public/images/units/j-20.png deleted file mode 100644 index 7e5b34f4..00000000 Binary files a/frontend/server/public/images/units/j-20.png and /dev/null differ diff --git a/frontend/server/public/images/units/j-7.png b/frontend/server/public/images/units/j-7.png deleted file mode 100644 index f1bcfd95..00000000 Binary files a/frontend/server/public/images/units/j-7.png and /dev/null differ diff --git a/frontend/server/public/images/units/jf-17.png b/frontend/server/public/images/units/jf-17.png deleted file mode 100644 index 2bfde2f3..00000000 Binary files a/frontend/server/public/images/units/jf-17.png and /dev/null differ diff --git a/frontend/server/public/images/units/ju-88.png b/frontend/server/public/images/units/ju-88.png deleted file mode 100644 index 59768856..00000000 Binary files a/frontend/server/public/images/units/ju-88.png and /dev/null differ diff --git a/frontend/server/public/images/units/ka-27.png b/frontend/server/public/images/units/ka-27.png deleted file mode 100644 index be2b243d..00000000 Binary files a/frontend/server/public/images/units/ka-27.png and /dev/null differ diff --git a/frontend/server/public/images/units/ka-50.png b/frontend/server/public/images/units/ka-50.png deleted file mode 100644 index 71a3b4b4..00000000 Binary files a/frontend/server/public/images/units/ka-50.png and /dev/null differ diff --git a/frontend/server/public/images/units/kc-10.png b/frontend/server/public/images/units/kc-10.png deleted file mode 100644 index 94868685..00000000 Binary files a/frontend/server/public/images/units/kc-10.png and /dev/null differ diff --git a/frontend/server/public/images/units/kc-135.png b/frontend/server/public/images/units/kc-135.png deleted file mode 100644 index 64014a04..00000000 Binary files a/frontend/server/public/images/units/kc-135.png and /dev/null differ diff --git a/frontend/server/public/images/units/l-159.png b/frontend/server/public/images/units/l-159.png deleted file mode 100644 index e80c6259..00000000 Binary files a/frontend/server/public/images/units/l-159.png and /dev/null differ diff --git a/frontend/server/public/images/units/l-39.png b/frontend/server/public/images/units/l-39.png deleted file mode 100644 index 0a9558be..00000000 Binary files a/frontend/server/public/images/units/l-39.png and /dev/null differ diff --git a/frontend/server/public/images/units/m2000.png b/frontend/server/public/images/units/m2000.png deleted file mode 100644 index 03e618f9..00000000 Binary files a/frontend/server/public/images/units/m2000.png and /dev/null differ diff --git a/frontend/server/public/images/units/mb-339.png b/frontend/server/public/images/units/mb-339.png deleted file mode 100644 index 907ff302..00000000 Binary files a/frontend/server/public/images/units/mb-339.png and /dev/null differ diff --git a/frontend/server/public/images/units/mi-24.png b/frontend/server/public/images/units/mi-24.png deleted file mode 100644 index 8708f4a7..00000000 Binary files a/frontend/server/public/images/units/mi-24.png and /dev/null differ diff --git a/frontend/server/public/images/units/mi-26.png b/frontend/server/public/images/units/mi-26.png deleted file mode 100644 index 4ad1cfd8..00000000 Binary files a/frontend/server/public/images/units/mi-26.png and /dev/null differ diff --git a/frontend/server/public/images/units/mi-28.png b/frontend/server/public/images/units/mi-28.png deleted file mode 100644 index 9e5aefff..00000000 Binary files a/frontend/server/public/images/units/mi-28.png and /dev/null differ diff --git a/frontend/server/public/images/units/mi-8.png b/frontend/server/public/images/units/mi-8.png deleted file mode 100644 index 6cb33921..00000000 Binary files a/frontend/server/public/images/units/mi-8.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-15.png b/frontend/server/public/images/units/mig-15.png deleted file mode 100644 index 1f34bc37..00000000 Binary files a/frontend/server/public/images/units/mig-15.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-19.png b/frontend/server/public/images/units/mig-19.png deleted file mode 100644 index e3ad0cb7..00000000 Binary files a/frontend/server/public/images/units/mig-19.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-21.png b/frontend/server/public/images/units/mig-21.png deleted file mode 100644 index 09c98941..00000000 Binary files a/frontend/server/public/images/units/mig-21.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-23.png b/frontend/server/public/images/units/mig-23.png deleted file mode 100644 index d1d70ccf..00000000 Binary files a/frontend/server/public/images/units/mig-23.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-25.png b/frontend/server/public/images/units/mig-25.png deleted file mode 100644 index 48448104..00000000 Binary files a/frontend/server/public/images/units/mig-25.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-29.png b/frontend/server/public/images/units/mig-29.png deleted file mode 100644 index 1e16dfa0..00000000 Binary files a/frontend/server/public/images/units/mig-29.png and /dev/null differ diff --git a/frontend/server/public/images/units/mosquito.png b/frontend/server/public/images/units/mosquito.png deleted file mode 100644 index eba239e5..00000000 Binary files a/frontend/server/public/images/units/mosquito.png and /dev/null differ diff --git a/frontend/server/public/images/units/oh-58.png b/frontend/server/public/images/units/oh-58.png deleted file mode 100644 index e9747103..00000000 Binary files a/frontend/server/public/images/units/oh-58.png and /dev/null differ diff --git a/frontend/server/public/images/units/p-47.png b/frontend/server/public/images/units/p-47.png deleted file mode 100644 index 72fc236e..00000000 Binary files a/frontend/server/public/images/units/p-47.png and /dev/null differ diff --git a/frontend/server/public/images/units/p-51.png b/frontend/server/public/images/units/p-51.png deleted file mode 100644 index cc67b897..00000000 Binary files a/frontend/server/public/images/units/p-51.png and /dev/null differ diff --git a/frontend/server/public/images/units/rafale.png b/frontend/server/public/images/units/rafale.png deleted file mode 100644 index b2370ad4..00000000 Binary files a/frontend/server/public/images/units/rafale.png and /dev/null differ diff --git a/frontend/server/public/images/units/rq-1.png b/frontend/server/public/images/units/rq-1.png deleted file mode 100644 index cf3b0ad4..00000000 Binary files a/frontend/server/public/images/units/rq-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/rq-4.png b/frontend/server/public/images/units/rq-4.png deleted file mode 100644 index 090074de..00000000 Binary files a/frontend/server/public/images/units/rq-4.png and /dev/null differ diff --git a/frontend/server/public/images/units/s-3.png b/frontend/server/public/images/units/s-3.png deleted file mode 100644 index ec65bb2e..00000000 Binary files a/frontend/server/public/images/units/s-3.png and /dev/null differ diff --git a/frontend/server/public/images/units/sa-342.png b/frontend/server/public/images/units/sa-342.png deleted file mode 100644 index fe846183..00000000 Binary files a/frontend/server/public/images/units/sa-342.png and /dev/null differ diff --git a/frontend/server/public/images/units/spitfire.png b/frontend/server/public/images/units/spitfire.png deleted file mode 100644 index d6b9d2ab..00000000 Binary files a/frontend/server/public/images/units/spitfire.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-17.png b/frontend/server/public/images/units/su-17.png deleted file mode 100644 index 32d8aa37..00000000 Binary files a/frontend/server/public/images/units/su-17.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-24.png b/frontend/server/public/images/units/su-24.png deleted file mode 100644 index d94b7af7..00000000 Binary files a/frontend/server/public/images/units/su-24.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-25.png b/frontend/server/public/images/units/su-25.png deleted file mode 100644 index fa85f62f..00000000 Binary files a/frontend/server/public/images/units/su-25.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-27.png b/frontend/server/public/images/units/su-27.png deleted file mode 100644 index cc2ce07a..00000000 Binary files a/frontend/server/public/images/units/su-27.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-34.png b/frontend/server/public/images/units/su-34.png deleted file mode 100644 index 110a3c60..00000000 Binary files a/frontend/server/public/images/units/su-34.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-57.png b/frontend/server/public/images/units/su-57.png deleted file mode 100644 index c4e83c98..00000000 Binary files a/frontend/server/public/images/units/su-57.png and /dev/null differ diff --git a/frontend/server/public/images/units/tornado.png b/frontend/server/public/images/units/tornado.png deleted file mode 100644 index c66219ea..00000000 Binary files a/frontend/server/public/images/units/tornado.png and /dev/null differ diff --git a/frontend/server/public/images/units/tu-160.png b/frontend/server/public/images/units/tu-160.png deleted file mode 100644 index 0391ce41..00000000 Binary files a/frontend/server/public/images/units/tu-160.png and /dev/null differ diff --git a/frontend/server/public/images/units/tu-22.png b/frontend/server/public/images/units/tu-22.png deleted file mode 100644 index cb43ca76..00000000 Binary files a/frontend/server/public/images/units/tu-22.png and /dev/null differ diff --git a/frontend/server/public/images/units/tu-95.png b/frontend/server/public/images/units/tu-95.png deleted file mode 100644 index cfa72a60..00000000 Binary files a/frontend/server/public/images/units/tu-95.png and /dev/null differ diff --git a/frontend/server/public/images/units/u-28.png b/frontend/server/public/images/units/u-28.png deleted file mode 100644 index 6e194456..00000000 Binary files a/frontend/server/public/images/units/u-28.png and /dev/null differ diff --git a/frontend/server/public/images/units/uh-1.png b/frontend/server/public/images/units/uh-1.png deleted file mode 100644 index 0d1102a4..00000000 Binary files a/frontend/server/public/images/units/uh-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/uh-60.png b/frontend/server/public/images/units/uh-60.png deleted file mode 100644 index 145fa141..00000000 Binary files a/frontend/server/public/images/units/uh-60.png and /dev/null differ diff --git a/frontend/server/public/images/units/viggen.png b/frontend/server/public/images/units/viggen.png deleted file mode 100644 index 76c5eda0..00000000 Binary files a/frontend/server/public/images/units/viggen.png and /dev/null differ diff --git a/frontend/server/public/images/units/yak-40.png b/frontend/server/public/images/units/yak-40.png deleted file mode 100644 index 42a56792..00000000 Binary files a/frontend/server/public/images/units/yak-40.png and /dev/null differ diff --git a/frontend/server/public/images/units/yak-52.png b/frontend/server/public/images/units/yak-52.png deleted file mode 100644 index 1201b6d0..00000000 Binary files a/frontend/server/public/images/units/yak-52.png and /dev/null differ diff --git a/frontend/server/public/stylesheets/layout/layout.css b/frontend/server/public/stylesheets/layout/layout.css deleted file mode 100644 index 8df67322..00000000 --- a/frontend/server/public/stylesheets/layout/layout.css +++ /dev/null @@ -1,106 +0,0 @@ -/* Page style */ -#map-container { - height: 100%; - min-width: 820px; - width: 100%; -} - -#toolbar-container { - align-items: center; - display: flex; - left: 10px; - position: absolute; - top: 10px; - z-index: 99999; - column-gap: 10px; - row-gap: 10px; - margin-right: 320px; - height: fit-content; - flex-wrap: wrap; -} - -#connection-status-panel { - bottom: 20px; - font-size: 12px; - position: absolute; - right: 10px; - width: 190px; - z-index: 9999; -} - -#mouse-info-panel { - bottom: 60px; - display: flex; - flex-direction: column; - height: fit-content; - position: absolute; - right: 10px; - row-gap: 10px; - width: 190px; - z-index: 9999; -} - -#unit-control-panel { - height: fit-content; - width: fit-content; - left: 10px; - position: absolute; - z-index: 9999; -} - -#unit-info-panel { - bottom: 20px; - font-size: 12px; - position: absolute; - width: fit-content; - z-index: 9999; - padding: 24px 30px; - display: flex; - flex-direction: row; - justify-content: space-evenly; - right: 210px; - height: 180px; -} - -#hotgroup-panel { - bottom: 40px; - column-gap: 10px; - display: flex; - left: 50%; - position: absolute; - translate: -50%; - z-index: 9998; -} - -#info-popup { - position: absolute; - width: fit-content; - height: fit-content; - top: 100px; - left: 50%; - translate: -50% 0%; - z-index: 9999999999; - display: flex; - align-items: center; -} - -#slow-delete-popup { - align-self: center; - display:flex; - justify-self: center; - position: absolute; - width: fit-content; - height: fit-content; - z-index: 9999999999; -} - -#log-panel { - position: absolute; - right: 0px; - top: 170px; - width: 310px; - height: fit-content; - z-index: 9990; - overflow: hidden; - padding: 10px; -} diff --git a/frontend/server/public/stylesheets/markers/airbase.css b/frontend/server/public/stylesheets/markers/airbase.css deleted file mode 100644 index 2faa2a02..00000000 --- a/frontend/server/public/stylesheets/markers/airbase.css +++ /dev/null @@ -1,27 +0,0 @@ -.airbase-icon { - align-items: center; - cursor: pointer; - display: flex; - justify-content: center; - position: relative; - width: 40px; - height: 40px; -} - -.airbase-icon svg { - width: 40px; - height: 40px; -} - -.airbase-icon[data-coalition="red"] svg * { - stroke: var(--unit-background-red); -} - -.airbase-icon[data-coalition="blue"] svg * { - stroke: var(--unit-background-blue); -} - -.airbase-icon[data-coalition="neutral"] svg * { - stroke: var(--unit-background-neutral); -} - diff --git a/frontend/server/public/stylesheets/markers/bullseye.css b/frontend/server/public/stylesheets/markers/bullseye.css deleted file mode 100644 index e75f0441..00000000 --- a/frontend/server/public/stylesheets/markers/bullseye.css +++ /dev/null @@ -1,24 +0,0 @@ -.bullseye-icon { - align-items: center; - cursor: pointer; - display: flex; - justify-content: center; - position: relative; - width: 100%; - height: 100%; -} - -.bullseye-icon[data-coalition="red"] svg * { - stroke: var(--unit-background-red); - fill: var(--unit-background-red); -} - -.bullseye-icon[data-coalition="blue"] svg * { - stroke: var(--unit-background-blue); - fill: var(--unit-background-blue); -} - -.bullseye-icon[data-coalition="neutral"] svg * { - stroke: var(--unit-background-neutral); - fill: var(--unit-background-neutral); -} diff --git a/frontend/server/public/stylesheets/markers/units.css b/frontend/server/public/stylesheets/markers/units.css deleted file mode 100644 index e2cba54d..00000000 --- a/frontend/server/public/stylesheets/markers/units.css +++ /dev/null @@ -1,383 +0,0 @@ -/*** Unit marker elements ***/ -[data-object|="unit"] { - align-items: center; - cursor: pointer; - display: flex; - height: 100%; - justify-content: center; - position: relative; - width: 100%; -} - -.unit-vvi { - align-self: center; - background: var(--secondary-gunmetal-grey); - display: flex; - justify-self: center; - padding-bottom: calc((var(--unit-width) / 2) + var(--unit-stroke-width)); - position: absolute; - transform-origin: bottom; - translate: 0 -50%; - width: var(--unit-vvi-width); -} - -.unit-hotgroup { - align-content: center; - background-color: var(--background-steel); - border-radius: var(--border-radius-xs); - display: none; - height: 15px; - justify-content: center; - position: absolute; - transform: rotate(-45deg); - translate: 0 -200%; - width: 15px; -} - -.unit-hotgroup-id { - background-color: transparent; - color: white; - font-size: 9px; - font-weight: bolder; - transform: rotate(45deg); - translate: -1px 1px; -} - -.unit-icon { - height: var(--unit-height); - position: absolute; - transform-origin: center; - width: var(--unit-width); -} - -.unit-icon svg { - height: 100%; - width: 100%; -} - -[data-is-selected] .unit-icon::before { - background-color: var(--unit-spotlight-fill); - border-radius: 50%; - content: ""; - height: 100%; - position: absolute; - width: 100%; - z-index: -1; -} - -/*** Basic colours ***/ -[data-coalition="blue"] .unit-icon svg>*:first-child { - fill: var(--unit-background-blue); -} - -[data-coalition="red"] .unit-icon svg>*:first-child { - fill: var(--unit-background-red); -} - -[data-coalition="neutral"] .unit-icon svg>*:first-child { - fill: var(--unit-background-neutral); -} - -[data-is-selected] .unit-icon svg>*:first-child { - fill: white; -} - -[data-is-highlighted] .unit-icon svg>*:first-child { - stroke: white; -} - -/*** Cursors ***/ -[data-is-dead], -[data-object|="unit-missile"], -[data-object|="unit-bomb"] { - cursor: default; -} - -/*** Labels ***/ -[data-object|="unit"] .unit-short-label { - color: var(--secondary-gunmetal-grey); - font-size: var(--unit-font-size); - font-weight: var(--unit-font-weight); - line-height: normal; - position: absolute; -} - -[data-object|="unit-groundunit"] .unit-short-label { - transform: translateY(7px); -} - -/*** Health indicator ***/ -[data-object|="unit"] .unit-health { - background: white; - border: var(--unit-health-border-width) solid var(--secondary-dark-steel); - border-radius: var(--border-radius-sm); - display: none; - height: var(--unit-health-height); - position: absolute; - translate: var(--unit-health-x) var(--unit-health-y); - width: var(--unit-health-width); -} - -/*** Fuel indicator ***/ -[data-object|="unit"] .unit-fuel { - background: white; - border: var(--unit-fuel-border-width) solid var(--secondary-dark-steel); - border-radius: var(--border-radius-sm); - display: none; - height: var(--unit-fuel-height); - position: absolute; - translate: var(--unit-fuel-x) var(--unit-fuel-y); - width: var(--unit-fuel-width); -} - -[data-object|="unit"] .unit-fuel-level, -[data-object|="unit"] .unit-health-level { - background-color: var(--secondary-light-grey); - height: 100%; - width: 100%; -} - -/*** Ammo indicator ***/ -[data-object|="unit"] .unit-ammo { - column-gap: var(--unit-ammo-spacing); - display: none; - height: fit-content; - position: absolute; - translate: var(--unit-ammo-x) var(--unit-ammo-y); - width: fit-content; -} - -[data-object|="unit"] .unit-ammo>* { - background-color: white; - border: var(--unit-ammo-border-width) solid var(--secondary-dark-steel); - border-radius: 50%; - padding: var(--unit-ammo-radius); -} - -/*** Unit summary ***/ -[data-object|="unit"] .unit-summary { - color: white; - column-gap: 6px; - display: flex; - flex-wrap: wrap; - font-size: 11px; - font-weight: bold; - justify-content: right; - line-height: 12px; - pointer-events: none; - position: absolute; - row-gap: 1px; - text-shadow: - -1px -1px 0 #000, - 1px -1px 0 #000, - -1px 1px 0 #000, - 1px 1px 0 #000; - right: 100%; - width: fit-content; -} - -[data-hide-labels] [data-object|="unit"] .unit-summary { - display: none; -} - -[data-object|="unit"] .unit-summary>* { - padding: 1px; -} - -[data-object|="unit"] .unit-summary .unit-callsign { - color: white; - overflow: hidden; - text-align: right; - transform-origin: right; - white-space: nowrap; - width: 80px; -} - -[data-object|="unit"]:hover .unit-summary .unit-callsign{ - direction: rtl; - overflow: visible; -} - -/*** Common ***/ -[data-object|="unit"]:hover .unit-ammo, -[data-object|="unit"]:hover .unit-health , -[data-object|="unit"]:hover .unit-fuel { - display: flex; -} - -[data-object|="unit"][data-has-low-fuel] .unit-fuel, [data-object|="unit"][data-has-low-health] .unit-health { - animation: pulse 1.5s linear infinite; -} - -[data-object|="unit"][data-is-in-hotgroup] .unit-hotgroup, -[data-object|="unit"][data-is-selected] .unit-ammo, -[data-object|="unit"][data-is-selected] .unit-fuel, -[data-object|="unit"][data-is-selected] .unit-health, -[data-object|="unit"][data-is-selected] .unit-selected-spotlight { - display: flex; -} - -[data-object|="unit"][data-has-fox-1] .unit-ammo>div:nth-child(1), -[data-object|="unit"][data-has-fox-2] .unit-ammo>div:nth-child(2), -[data-object|="unit"][data-has-fox-3] .unit-ammo>div:nth-child(3), -[data-object|="unit"][data-has-other-ammo] .unit-ammo>div:nth-child(4) { - background-color: var(--secondary-gunmetal-grey); -} - -[data-object|="unit"][data-coalition="blue"][data-is-selected] .unit-short-label { - color: var(--secondary-blue-text); -} - -[data-object|="unit"][data-coalition="blue"] .unit-fuel-level, -[data-object|="unit"][data-coalition="blue"] .unit-health-level, -[data-object|="unit"][data-coalition="blue"][data-has-fox-1] .unit-ammo>div:nth-child(1), -[data-object|="unit"][data-coalition="blue"][data-has-fox-2] .unit-ammo>div:nth-child(2), -[data-object|="unit"][data-coalition="blue"][data-has-fox-3] .unit-ammo>div:nth-child(3), -[data-object|="unit"][data-coalition="blue"][data-has-other-ammo] .unit-ammo>div:nth-child(4) { - background-color: var(--primary-blue); -} - -[data-object|="unit"][data-coalition="blue"] .unit-vvi { - background-color: var(--secondary-blue-outline); -} - -[data-object|="unit"][data-coalition="red"][data-is-selected] .unit-short-label { - color: var(--secondary-red-text); -} - -[data-object|="unit"][data-coalition="red"] .unit-fuel-level, -[data-object|="unit"][data-coalition="red"] .unit-health-level, -[data-object|="unit"][data-coalition="red"][data-has-fox-1] .unit-ammo>div:nth-child(1), -[data-object|="unit"][data-coalition="red"][data-has-fox-2] .unit-ammo>div:nth-child(2), -[data-object|="unit"][data-coalition="red"][data-has-fox-3] .unit-ammo>div:nth-child(3), -[data-object|="unit"][data-coalition="red"][data-has-other-ammo] .unit-ammo>div:nth-child(4) { - background-color: var(--primary-red); -} - -[data-object|="unit"][data-coalition="blue"] .unit-vvi { - background-color: var(--secondary-red-outline); -} - -/*** Unit state ***/ -[data-object|="unit"] .unit-state { - background-repeat: no-repeat; - height: 20px; - position: absolute; - width: 20px; - left: 0px; - top: 0px; -} - -[data-object|="unit"][data-state="rtb"] .unit-state { - background-image: url("/resources/theme/images/states/rtb.svg"); -} - -[data-object|="unit"][data-state="land"] .unit-state { - background-image: url("/resources/theme/images/states/rtb.svg"); -} - -[data-object|="unit"][data-state="idle"] .unit-state { - background-image: url("/resources/theme/images/states/idle.svg"); -} - -[data-object*="groundunit"][data-state="idle"] .unit-state, -[data-object*="navyunit"][data-state="idle"] .unit-state { - background-image: url(""); /* To avoid clutter, dont show the idle state for non flying units */ -} - -[data-object|="unit"][data-state="attack"] .unit-state, -[data-object|="unit"][data-state="bomb-point"] .unit-state, -[data-object|="unit"][data-state="carpet-bombing"] .unit-state, -[data-object|="unit"][data-state="fire-at-area"] .unit-state { - background-image: url("/resources/theme/images/states/attack.svg"); -} - -[data-object|="unit"][data-state="follow"] .unit-state { - background-image: url("/resources/theme/images/states/follow.svg"); -} - -[data-object|="unit"][data-state="refuel"] .unit-state { - background-image: url("/resources/theme/images/states/refuel.svg"); -} - -[data-object|="unit"][data-state="human"] .unit-state { - background-image: url("/resources/theme/images/states/human.svg"); -} - -[data-object|="unit"][data-state="dcs"] .unit-state { - background-image: url("/resources/theme/images/states/dcs.svg"); -} - -[data-object|="unit"][data-state="land-at-point"] .unit-state { - background-image: url("/resources/theme/images/states/land-at-point.svg"); -} - -[data-object|="unit"][data-state="no-task"] .unit-state { - background-image: url("/resources/theme/images/states/no-task.svg"); -} - -[data-object|="unit"][data-state="off"] .unit-state { - background-image: url("/resources/theme/images/states/off.svg"); -} - -[data-object|="unit"][data-state="tanker"] .unit-state { - background-image: url("/resources/theme/images/states/tanker.svg"); -} - -[data-object|="unit"][data-state="AWACS"] .unit-state { - background-image: url("/resources/theme/images/states/awacs.svg"); -} - -[data-object|="unit"][data-state="miss-on-purpose"] .unit-state { - background-image: url("/resources/theme/images/states/miss-on-purpose.svg"); -} - -[data-object|="unit"][data-state="scenic-aaa"] .unit-state { - background-image: url("/resources/theme/images/states/scenic-aaa.svg"); -} - -[data-object|="unit"][data-state="simulate-fire-fight"] .unit-state { - background-image: url("/resources/theme/images/states/simulate-fire-fight.svg"); -} - - -[data-object|="unit"] .unit-health::before { - background-image: url("/resources/theme/images/icons/health.svg"); - background-repeat: no-repeat; - background-size: contain; - content: " "; - height: 6px; - left: 0; - position: absolute; - top: 0; - translate: -10px -2px; - width: 6px; -} - - -/*** Dead unit ***/ -[data-object|="unit"][data-is-dead] .unit-selected-spotlight, -[data-object|="unit"][data-is-dead] .unit-short-label, -[data-object|="unit"][data-is-dead] .unit-vvi, -[data-object|="unit"][data-is-dead] .unit-hotgroup, -[data-object|="unit"][data-is-dead] .unit-hotgroup-id, -[data-object|="unit"][data-is-dead] .unit-state, -[data-object|="unit"][data-is-dead] .unit-fuel, -[data-object|="unit"][data-is-dead] .unit-health, -[data-object|="unit"][data-is-dead] .unit-ammo, -[data-object|="unit"][data-is-dead]:hover .unit-fuel, -[data-object|="unit"][data-is-dead]:hover .unit-ammo { - display: none; -} - -[data-object|="unit"][data-is-dead] .unit-summary>* { - display: none; -} - -[data-object|="unit"][data-is-dead] .unit-summary .unit-callsign { - display: block; -} - -.ol-temporary-marker { - opacity: 0.5; -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/olympus.css b/frontend/server/public/stylesheets/olympus.css deleted file mode 100644 index aa3c4808..00000000 --- a/frontend/server/public/stylesheets/olympus.css +++ /dev/null @@ -1,19 +0,0 @@ -@import url("layout/layout.css"); -@import url("style/style.css"); - -@import url("panels/connectionstatus.css"); -@import url("panels/serverstatus.css"); -@import url("panels/mouseinfo.css"); -@import url("panels/unitcontrol.css"); -@import url("panels/unitinfo.css"); -@import url("panels/logpanel.css"); -@import url("panels/unitlist.css"); - -@import url("other/contextmenus.css"); -@import url("other/popup.css"); -@import url("other/toolbar.css"); - - -@import url("markers/airbase.css"); -@import url("markers/bullseye.css"); -@import url("markers/units.css"); diff --git a/frontend/server/public/stylesheets/other/contextmenus.css b/frontend/server/public/stylesheets/other/contextmenus.css deleted file mode 100644 index fd816bb7..00000000 --- a/frontend/server/public/stylesheets/other/contextmenus.css +++ /dev/null @@ -1,824 +0,0 @@ -#map-contextmenu { - display: flex; - flex-direction: column; - height: fit-content; - position: absolute; - row-gap: 5px; - width: 300px; - z-index: 9999; -} - - - -/* #map-contextmenu>div:nth-child(n+4)>div { - width: 100%; -} */ - -#map-contextmenu .spawn-mode { - display: flex; - flex-direction: column; - justify-content: space-between; - row-gap: 5px; -} - -.ol-context-menu-panel { - display: flex; - flex-direction: column; - justify-content: space-between; - row-gap: 5px; - padding: 20px; -} - -.contextmenu-advanced-options, -.contextmenu-metadata { - align-items: center; - display: flex; - flex-direction: column; - justify-content: space-between; - row-gap: 5px; - width: 100%; - padding: 5px; -} - -.contextmenu-advanced-options-toggle, -.contextmenu-metadata-toggle { - display: flex; - align-content: center; - text-align: left; - width: 100%; - margin: 5px; - column-gap: 5px; - cursor: pointer; -} - -.contextmenu-advanced-options-toggle:after, -.contextmenu-metadata-toggle:after { - content: ""; - margin-left: auto; - margin-top: auto; - background-image: url(/resources/theme/images/icons/chevron-down.svg); - background-size: 100% 100%; - width: 15px; - height: 15px; -} - -.contextmenu-advanced-options-toggle.is-open:after, -.contextmenu-metadata-toggle.is-open:after { - transform: rotate(180deg); -} - -.contextmenu-advanced-options-toggle div:first-child, -.contextmenu-metadata-toggle div:first-child { - width: fit-content; - white-space: nowrap; -} - -.contextmenu-advanced-options>*, -.contextmenu-metadata>* { - width: 100%; -} - -.contextmenu-metadata { - display: flex; - flex-direction: row; - flex-wrap: wrap; - padding: 0px 10px 10px 10px; -} - -.contextmenu-metadata>div:nth-child(1) { - margin-bottom: 5px; - width: 100%; -} - -.contextmenu-metadata>div:nth-child(2) { - display: flex; - flex-direction: row; - flex-wrap: wrap; - row-gap: 5px; - column-gap: 5px; - width: 100%; - margin-top: 10px; -} - -.unit-spawn-menu { - height: fit-content; -} - -#active-coalition-label { - border-radius: 999px; - color: var(--nav-text); - font-size: 12px; - font-weight: 600; - height: fit-content; - padding: 3px 10px; - padding-bottom: 3px; - position: absolute; - top: -28px; - width: fit-content; -} - -#coalition-switch { - margin-right: 10px; - height: 25px; - width: 50px; -} - -.unit-spawn-menu .ol-select.is-open .ol-select-options { - max-height: 300px; -} - -.ol-tag { - background-color: #FFFFFF11; - color: #FFFFFFDD; - border: 1px solid #FFFFFF55; - font-weight: normal; - padding: 2px 5px; -} - -.unit-loadout-list { - min-width: 0; -} - -.unit-loadout-list div { - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - background-color: var(--background-steel); - padding: 2px 5px 2px 5px; -} - -.unit-loadout-list div:hover { - overflow: visible; - white-space: nowrap; - background-color: var(--background-steel); - width: fit-content; - border-radius: var(--border-radius-sm); -} - -.deploy-unit-button { - margin-top: 5px; - text-align: center; - width: 100%; -} - -.deploy-unit-button[data-points]:not([data-points='']):not([data-points='0']):not([data-points='Infinity'])::after { - content: " (" attr(data-points) " points)"; -} - -#spawn-mode-tabs { - align-items: center; - column-gap: 6px; - display: flex; - position: absolute; - right: 0; - top:0; - translate: -6px -100%; - z-index: 9998; -} - -#spawn-mode-tabs button { - align-items: center; - border-bottom:2px solid transparent; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - border-top-left-radius: var(--border-radius-sm); - border-top-right-radius: var(--border-radius-sm); - display: flex; - height:32px; - justify-content: center; - margin:0; - width:38px; -} - -#spawn-mode-tabs button:hover { - background-color: var(--background-steel); -} - -[data-coalition="blue"] + #spawn-mode-tabs button { - border-bottom-color: var(--primary-blue); -} - - -[data-coalition="red"] + #spawn-mode-tabs button { - border-bottom-color: var(--primary-red); -} - - -[data-coalition="neutral"] + #spawn-mode-tabs button { - border-bottom-color: var(--primary-neutral); -} - -#spawn-mode-tabs button svg { - height:24px; - margin:6px; - width:24px; -} - -.upper-bar { - align-items: center; - display: flex; - flex-direction: row; - justify-content: space-between; - padding-right: 0px; -} - -.upper-bar svg>*, -#spawn-mode-tabs button svg * { - fill: white; -} - -.upper-bar svg { - width: 22px; - margin: 0px 5px; -} - -.upper-bar button:first-of-type { - margin-left: auto; -} - -#spawn-history-menu { - align-items: center; - flex-direction: column; - max-height: 300px; - row-gap: 6px; -} - -#spawn-history-menu button { - align-items: center; - column-gap: 6px; - display:flex; - height:32px; - text-align: left; - padding:0; - width:100%; -} - -#spawn-history-menu button span { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#spawn-history-menu button svg { - border-radius: var(--border-radius-sm); - height:24px; - padding:4px; - width:24px; -} - -#spawn-history-menu button:hover { - background-color: transparent; - text-decoration: underline; -} - -#spawn-history-menu button:hover svg * { - fill:white !important; -} - -#spawn-history-menu button[data-spawned-coalition="blue"] svg { - background-color: var(--primary-blue); -} - -#spawn-history-menu button[data-spawned-coalition="red"] svg { - background-color: var(--primary-red); -} - -#spawn-history-menu button[data-spawned-coalition="neutral"] svg { - background-color: var(--primary-neutral); -} - -[data-coalition="blue"]#active-coalition-label, -[data-coalition="blue"].deploy-unit-button, -[data-coalition="blue"]#spawn-airbase-aircraft-button, -[data-coalition="blue"].create-iads-button, -[data-coalition="blue"] + #spawn-mode-tabs button.selected { - background-color: var(--primary-blue) -} - -[data-coalition="red"]#active-coalition-label, -[data-coalition="red"].deploy-unit-button, -[data-coalition="red"]#spawn-airbase-aircraft-button, -[data-coalition="red"].create-iads-button, -[data-coalition="red"] + #spawn-mode-tabs button.selected { - background-color: var(--primary-red) -} - -[data-coalition="neutral"]#active-coalition-label, -[data-coalition="neutral"].deploy-unit-button, -[data-coalition="neutral"]#spawn-airbase-aircraft-button, -[data-coalition="neutral"].create-iads-button, -[data-coalition="neutral"] + #spawn-mode-tabs button.selected { - background-color: var(--primary-neutral) -} - -[data-coalition="blue"].deploy-unit-button:disabled { - background-color: transparent; - border: 1px solid var(--primary-blue); - cursor: default; -} - -[data-coalition="red"].deploy-unit-button:disabled { - background-color: transparent; - border: 1px solid var(--primary-red); - cursor: default; -} - -[data-coalition="neutral"].deploy-unit-button:disabled { - background-color: transparent; - border: 1px solid var(--primary-neutral); - cursor: default; -} - -[data-coalition="blue"]#active-coalition-label::after { - content: "Create blue unit"; -} - -[data-coalition="red"]#active-coalition-label::after { - content: "Create red unit"; -} - -[data-coalition="neutral"]#active-coalition-label::after { - content: "Create neutral unit"; -} - -.unit-label-count-container { - display: grid; - grid-template-columns: 187px 1fr 1fr; - align-items: center; - column-gap: 5px; -} - -.unit-label-count-container>*:first-child { - width: 100%; -} - -.unit-label-count-container button { - display: flex !important; - flex-direction: row; - align-items: center; -} - -.unit-label-count-container button>*:nth-child(1) { - margin-left: auto; -} - -.unit-loadout-preview { - align-content: space-between; - align-items: center; - column-gap: 10px; - display: flex; - flex-direction: row; - width: 100%; -} - -.unit-loadout-list { - align-content: center; - display: flex; - flex-direction: column; - height: 100%; - padding: 5px; -} - -.unit-image { - filter: invert(100%); - width: 25%; - aspect-ratio: 1/1; - margin: 5px 0px; -} - -#smoke-spawn-menu { - align-items: center; - display: flex; - flex-direction: column; - text-align: center; -} - -#explosion-menu>button, -#smoke-spawn-menu>button { - align-items: center; - column-gap: 10px; - display: flex; - flex-wrap: wrap; - text-align: left; - width: 100%; -} - -#smoke-spawn-menu>button::before { - border-radius: 999px; - content: ""; - display: block; - height: 10px; - width: 10px; -} - -[data-smoke-color="red"]::before { - background-color: red; -} - -[data-smoke-color="white"]::before { - background-color: white; -} - -[data-smoke-color="blue"]::before { - background-color: blue; -} - -[data-smoke-color="green"]::before { - background-color: green; -} - -[data-smoke-color="orange"]::before { - background-color: orange; -} - -.ol-context-menu .ol-slider-value { - color: var(--accent-light-blue); - cursor: pointer; - font-size: 14px; - font-weight: bold; -} - -.ol-context-menu .ol-slider-container { - padding: 0px 10px; -} - -.contextmenu-options-container { - display: flex; - align-items: center; - justify-content: space-between; - padding-left: 10px; -} - -.contextmenu-options-container>*:nth-child(2) { - width: 120px; -} - -/* Unit context menu */ -#unit-contextmenu { - display: flex; - flex-direction: column; - height: fit-content; - padding: 15px; - position: absolute; - row-gap: 5px; - width: fit-content; - z-index: 9999; -} - -#unit-contextmenu button { - border: 1px solid var(--background-offwhite); - border-radius: var(--border-radius-sm); - font-weight: normal; - padding: 12px; -} - -#unit-contextmenu div { - align-content: center; - display: flex; - flex-direction: row; -} - -#unit-contextmenu div:before { - display: inline-block; - filter: invert(100%); - height: 20px; - margin-right: 15px; - width: 20px; -} - -.ol-select>.ol-select-options>div button.country-dropdown-element { - display: flex; - flex-direction: row; - align-content: center; - column-gap: 10px; - width: 100%; -} - -.country-dropdown-element img { - height: 20px; - aspect-ratio: initial; -} - -/* Buttons */ -#center-map::before { - background-image: url("/resources/theme/images/icons/arrows-to-eye-solid.svg"); - content: ""; - background-size: 20px 20px; -} - -#refuel::before { - background-image: url("/resources/theme/images/icons/fuel.svg"); - content: ""; - background-size: 20px 20px; -} - -#attack::before { - background-image: url("/resources/theme/images/icons/sword.svg"); - content: ""; - background-size: 20px 20px; -} - -#bomb::before { - background-image: url("/resources/theme/images/icons/crosshairs-solid.svg"); - content: ""; - background-size: 20px 20px; -} - -#carpet-bomb::before { - background-image: url("/resources/theme/images/icons/explosion-solid.svg"); - content: ""; - background-size: 20px 20px; -} - -#fire-at-area::before { - background-image: url("/resources/theme/images/icons/crosshairs-solid.svg"); - content: ""; - background-size: 20px 20px; -} - -#simulate-fire-fight::before { - background-image: url("/resources/theme/images/icons/crosshairs-solid.svg"); - content: ""; - background-size: 20px 20px; -} - -#follow::before { - background-image: url("/resources/theme/images/icons/follow.svg"); - content: ""; - background-size: 20px 20px; -} - -#scenic-aaa::before { - background-image: url("/resources/theme/images/icons/scenic.svg"); - content: ""; - background-size: 20px 20px; -} - -#miss-aaa::before { - background-image: url("/resources/theme/images/icons/miss.svg"); - content: ""; - background-size: 20px 20px; -} - -#group-ground::before { - background-image: url("/resources/theme/images/icons/group-ground.svg"); - content: ""; - background-size: 20px 20px; -} - -#group-navy::before { - background-image: url("/resources/theme/images/icons/group-navy.svg"); - content: ""; - background-size: 20px 20px; -} - -#land-at-point::before { - background-image: url("/resources/theme/images/icons/land-at-point.svg"); - content: ""; - background-size: 20px 20px; -} - -#trail::before { - background-image: url("/resources/theme/images/icons/trail.svg"); - content: ""; - background-size: 20px 20px; -} - -#echelon-lh::before { - background-image: url("/resources/theme/images/icons/echelon-lh.svg"); - content: ""; - background-size: 20px 20px; -} - -#echelon-rh::before { - background-image: url("/resources/theme/images/icons/echelon-rh.svg"); - content: ""; - background-size: 20px 20px; -} - -#line-abreast-rh::before, -#line-abreast-lh::before { - background-image: url("/resources/theme/images/icons/line-abreast.svg"); - content: ""; - background-size: 20px 20px; -} - -#front::before { - background-image: url("/resources/theme/images/icons/front.svg"); - content: ""; - background-size: 20px 20px; -} - -#diamond::before { - background-image: url("/resources/theme/images/icons/diamond.svg"); - content: ""; - background-size: 20px 20px; -} - -#custom::before { - background-image: url("/resources/theme/images/icons/custom.svg"); - content: ""; - background-size: 20px 20px; -} - -#custom-formation-dialog { - width: 250px; -} - -#custom-formation-dialog>.ol-dialog-content { - align-items: center; - display: flex; - flex-direction: column; - flex-wrap: nowrap; - margin-bottom: 10px; - margin-top: 10px; - row-gap: 10px; -} - -#custom-formation-dialog>.ol-dialog-content>.ol-group { - justify-content: space-between; - width: 100%; -} - -#reference-system { - content: url("/images/reference-system.svg"); - display: inline-block; - filter: invert(100%); - position: absolute; - transform: translate(-50%, -50%); - width: 50px; -} - -.formation-position-clock { - height: 100px; - margin: 15px; - position: relative; - width: 100px; -} - -.formation-position-clock>.clock-hand { - align-items: center; - display: flex; - height: 20px; - justify-content: center; - position: absolute; - transform: translate(-50%, -50%); - width: 20px; -} - -/* Airbase context menu */ -#airbase-contextmenu { - display: flex; - flex-direction: column; - height: fit-content; - position: absolute; - row-gap: 5px; - width: 180px; - z-index: 9999; -} - -/* Coalition area context menu */ -#coalition-area-contextmenu { - display: flex; - flex-direction: column; - height: fit-content; - position: absolute; - row-gap: 5px; - width: 300px; - z-index: 9999; -} - -#coalition-area-switch { - margin-right: 10px; - height: 25px; - width: 50px; -} - -#coalition-area-contextmenu .ol-checkbox { - align-self: flex-start; -} - -#coalition-units-checkbox { - padding: 10px 10px; -} - -#iads-menu .ol-select-options>* { - padding-top: 8px; - padding-bottom: 8px; -} - -#iads-menu .ol-select-options>*:first-child { - padding-top: 15px; -} - -#iads-menu .ol-select-options>*:last-child { - padding-bottom: 15px; -} - -#iads-menu .ol-select { - width: 100%; -} - -#iads-menu { - row-gap: 10px; - padding: 10px; -} - -#coalition-area-contextmenu>div:nth-child(2) { - align-items: center; - display: flex; - flex-direction: row; - justify-content: space-between; - padding-right: 0px; -} - -#coalition-area-contextmenu>div:nth-child(n+3) { - align-items: center; - display: flex; - flex-direction: column; - justify-content: space-between; - row-gap: 5px; - padding: 20px; -} - -.create-iads-button { - margin-top: 5px; - text-align: center; - width: 100%; -} - -/* Airbase context menu */ -#airbase-chart-data dd { - width: 60%; - font-weight: bold; -} - -#airbase-runways { - display: flex; - flex-direction: column; - row-gap: 4px; -} - -#airbase-runways>.runway { - border: 1px solid #ccc; - display: flex; - flex-direction: row; - justify-content: space-between; -} - -#airbase-runways>.runway abbr { - cursor: help; - text-decoration: none; -} - -#airbase-runways>.runway>.heading { - align-items: center; - column-gap: 4px; - display: flex; - flex-direction: row; -} - -#airbase-runways>.runway>.heading>abbr { - font-weight: var(--font-weight-bolder); - padding: 4px; -} - -#airbase-runways>.runway>.heading:last-of-type { - flex-direction: row-reverse; -} - -/* Airbase spawn menu */ -#airbase-spawn-contextmenu { - display: flex; - flex-direction: column; - height: fit-content; - position: absolute; - row-gap: 5px; - width: 300px; - z-index: 9999; -} - -#airbase-spawn-contextmenu>div:nth-child(2) { - align-items: center; - display: flex; - flex-direction: row; - justify-content: space-evenly; - padding-right: 0px; -} - -#airbase-spawn-contextmenu >div:nth-child(n+3) { - align-items: center; - display: flex; - flex-direction: column; - justify-content: space-between; - row-gap: 5px; - padding: 20px; -} - -#airbase-spawn-contextmenu>div:nth-child(n+3)>div { - width: 100%; -} - -#force-coalition { - padding: 10px; -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/other/popup.css b/frontend/server/public/stylesheets/other/popup.css deleted file mode 100644 index 0a2c9cdd..00000000 --- a/frontend/server/public/stylesheets/other/popup.css +++ /dev/null @@ -1,33 +0,0 @@ -.ol-popup { - display: flex; - flex-direction: column; - row-gap: 5px; -} - -.ol-popup > div { - background-color: var(--background-steel); - border-radius: var(--border-radius-md); - box-shadow: 0px 2px 5px #000A; - color: white; - font-size: 12px; - height: fit-content; - width: fit-content; - padding-top: 5px; - padding-bottom: 5px; - padding-left: 15px; - padding-right: 15px; -} - -.ol-popup-stack { - margin-bottom: -20px; - z-index: -1; -} - -.visible { - opacity: 1; -} - -.invisible { - opacity: 0; - transition: opacity 2s linear; -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/other/toolbar.css b/frontend/server/public/stylesheets/other/toolbar.css deleted file mode 100644 index 5fdf1490..00000000 --- a/frontend/server/public/stylesheets/other/toolbar.css +++ /dev/null @@ -1,125 +0,0 @@ - -#primary-toolbar { - align-items: center; - display: flex; - height: fit-content; -} - -#command-mode-toolbar { - align-items: center; - display: flex; -} - -#app-icon>.ol-select-options { - width: fit-content; -} - -#app-icon>.ol-select-value { - box-shadow: none; -} - -#toolbar-summary { - background-image: url("/images/icon-round.png"); - background-position: 20px 22px; - background-repeat: no-repeat; - background-size: 45px 45px; - display: flex; - flex-direction: column; - padding: 20px; - text-indent: 60px; -} - -#toolbar-summary { - white-space: nowrap; -} - -.ol-panel-tab { - align-items: center; - display:flex; - flex-direction: row; - margin-right:6px; -} - -.ol-panel-tab svg { - height:24; - width:24px; -} - -.ol-panel-tab svg * { - fill:white; -} - -.ol-panel-tab span { - font-size:13px; - font-weight:400; - padding:0 6px; -} - -#view-label { - margin-left: 5px; -} - -#view-label svg { - height: 20px; - width: 20px; -} - -#command-mode-toolbar>svg { - display: none; -} - -#unit-visibility-control > div:nth-child(4) { - border-left: 2px solid white; - padding-left: 12px; -} - -#unit-visibility-control > div:last-child { - border-right: 2px solid white; - padding-right: 12px; -} - -@media (max-width: 1145px) { - #toolbar-container { - flex-direction: column; - align-items: start; - } - - #toolbar-container .ol-panel .ol-panel-tab { - margin-right:0; - } - - #toolbar-container .ol-panel:hover .ol-panel-tab { - display:none; - } - - #toolbar-container .ol-panel-tab span { - display:none; - } - - #toolbar-container>*:nth-child(1):not(:hover) { - width: fit-content; - height: fit-content; - } - - #toolbar-container>*:nth-child(1):not(:hover)>*:not(:first-child) { - display: none; - } - - #toolbar-container>*:not(:first-child):not(:hover) { - height: 52px; - align-items: center; - justify-content: center; - aspect-ratio: 1/1; - } - - #toolbar-container>*:not(:first-child):not(:hover)>svg { - display: block; - filter: invert(); - height: 24px; - width: 24px; - } - - #toolbar-container>*:not(:first-child):not(:hover)>*:not(:first-child) { - display: none; - } -} diff --git a/frontend/server/public/stylesheets/panels/connectionstatus.css b/frontend/server/public/stylesheets/panels/connectionstatus.css deleted file mode 100644 index 7245357f..00000000 --- a/frontend/server/public/stylesheets/panels/connectionstatus.css +++ /dev/null @@ -1,55 +0,0 @@ -#connection-status-panel { - align-items: center; - display:flex; - flex-direction: row; - justify-content: space-between; -} - -#connection-status-panel #connection-status-message::before { - content: "No connection"; -} - -#connection-status-light { - border-radius: 50%; - background: red; - content: " "; - height: 12px; - width: 12px; -} - -#connection-status-panel[data-is-connected] #connection-status-message::before { - content: ""; -} - -#connection-status-panel .time-display { - cursor:pointer; - display:none; - font-weight: bold; - text-decoration: none; -} - -#connection-status-panel[data-is-connected] .mission-elapsed-time, -#connection-status-panel[data-is-connected]:not([data-mission-time]) .mission-time { - display:none; -} - -#connection-status-panel[data-is-connected]:not([data-mission-time]) .mission-elapsed-time, -#connection-status-panel[data-is-connected][data-mission-time] .mission-time { - display:block; -} - -#connection-status-panel[data-is-connected] #connection-status-light { - background: var(--accent-green); -} - -#connection-status-panel[data-is-paused] #connection-status-message::before { - content: "Server paused"; -} - -#connection-status-panel[data-is-paused] #connection-status-light { - animation: pulse 1s infinite; -} - -#connection-status-panel[data-is-paused] #connection-status-light { - background: var(--accent-amber); -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/panels/logpanel.css b/frontend/server/public/stylesheets/panels/logpanel.css deleted file mode 100644 index 00adcaff..00000000 --- a/frontend/server/public/stylesheets/panels/logpanel.css +++ /dev/null @@ -1,84 +0,0 @@ -#log-panel>div:first-child { - width: 100%; - height: 38px; - display: flex; - justify-content: space-between; - align-items: center; - cursor: pointer; -} - -#log-panel svg { - pointer-events: none; -} - -#log-panel>div:nth-child(2) { - display: none; - margin-top: 5px; - width: 100%; - height: calc(100% - 40px); - background-color: #00000055; -} - -#log-panel.open { - height: 505px; -} - -#log-panel.open>div:nth-child(2) { - display: block; -} - -#log-panel-header-right { - align-items: center; - column-gap: 16px; - display:flex; - flex-flow: row nowrap; -} - -#log-panel-header-right svg { - width: 15px; - height: 15px; -} - -#server-status-panel abbr { - text-decoration: none; -} - -#server-status-panel dl { - column-gap: 4px; - display:flex; - flex-direction: row; - width:fit-content; -} - -#server-status-panel dl > * { - margin:0; - width:fit-content; -} - -#server-status-panel dd { - font-weight: bold; -} - -.fps-low { - color: red; -} - -.fps-medium { - color: orange; -} - -.fps-high { - color: lightgreen; -} - -.load-low { - color: lightgreen; -} - -.load-medium { - color: orange; -} - -.load-high { - color: red; -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/panels/mouseinfo.css b/frontend/server/public/stylesheets/panels/mouseinfo.css deleted file mode 100644 index c82b25e4..00000000 --- a/frontend/server/public/stylesheets/panels/mouseinfo.css +++ /dev/null @@ -1,110 +0,0 @@ -#mouse-info-panel .mouse-tool { - background-color: var(--background-grey); - border-radius: var(--border-radius-sm); - display:flex; - flex-flow:column wrap; - row-gap: 4px; - padding: 6px; -} - -#mouse-info-panel .mouse-tool .mouse-tool-item { - align-items: center; - display:flex; - flex-flow: row nowrap; - justify-content: space-between; -} - - -#mouse-info-panel svg { - padding: 3px; - height: 100%; - width: 100%; -} - -#mouse-info-panel svg > * { - fill: black; - stroke: black; -} - -#mouse-info-panel .mouse-tool .mouse-tool-item > * { - width:fit-content; -} - -#mouse-info-panel .mouse-tool .mouse-tool-item > *:last-child { - text-align: right; - width:100%; -} - -#mouse-info-panel .svg-icon, #mouse-info-panel .mouse-tool .mouse-tool-item :first-child { - align-items: center; - background-color: white; - border-radius: var(--border-radius-sm); - color: var(--background-steel); - display: flex; - font-size: 15.6px; - font-weight: bolder; - height: 22px; - justify-content: center; - text-transform: uppercase; - width: 22px; -} - -#mouse-info-panel .mouse-tool .mouse-tool-item [data-label]::after { - border-radius: var(--border-radius-sm); - content: attr(data-label); -} - - -#mouse-info-panel .mouse-tool .mouse-tool-item :last-child { - color: var(--background-offwhite); - font-weight: bold; - font-size: 13px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - width:fit-content; -} - - -/* Bullseye info */ - -#mouse-info-panel .mouse-tool .mouse-tool-item [data-label][data-coalition="blue"] { - background-color: var(--primary-blue); -} - -#mouse-info-panel .mouse-tool .mouse-tool-item [data-label][data-coalition="red"] { - background-color: var(--primary-red); -} - -.br-info::after { - content: attr(data-bearing) '\00B0 / ' attr(data-distance) " " attr(data-distance-units); -} - -.br-info[data-coalition="blue"]::after { - color: var(--primary-blue) -} - -.br-info[data-coalition="red"]::after { - color: var(--primary-red) -} - -.br-info[data-message]::after { - content: attr(data-message); -} - - -/* Coordinates */ -#coordinates-tool .elevation::after { - content: attr(data-value) -} - -#coordinates-tool[data-location-system] [data-location-system] { - cursor:pointer; - display:none; -} - -#coordinates-tool[data-location-system="LatLng"] [data-location-system="LatLng"], -#coordinates-tool[data-location-system="MGRS"] [data-location-system="MGRS"], -#coordinates-tool[data-location-system="UTM"] [data-location-system="UTM"] { - display:flex; -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/panels/serverstatus.css b/frontend/server/public/stylesheets/panels/serverstatus.css deleted file mode 100644 index 7afc8feb..00000000 --- a/frontend/server/public/stylesheets/panels/serverstatus.css +++ /dev/null @@ -1,54 +0,0 @@ -#server-status-panel { - display: flex; - flex-direction: row; - justify-content: space-between; - column-gap: 10px; -} - - -#log-panel-header-right { - align-items: center; - column-gap: 16px; - display:flex; - flex-flow: row nowrap; -} - -#server-status-panel dl { - column-gap: 4px; - display:flex; - flex-direction: row; - width:fit-content; -} - -#server-status-panel dl > * { - margin:0; - width:fit-content; -} - -#server-status-panel dd { - font-weight: bold; -} - -.fps-low { - color: red; -} - -.fps-medium { - color: orange; -} - -.fps-high { - color: lightgreen; -} - -.load-low { - color: lightgreen; -} - -.load-medium { - color: orange; -} - -.load-high { - color: red; -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/panels/unitcontrol.css b/frontend/server/public/stylesheets/panels/unitcontrol.css deleted file mode 100644 index a5f41c02..00000000 --- a/frontend/server/public/stylesheets/panels/unitcontrol.css +++ /dev/null @@ -1,417 +0,0 @@ -body.feature-forceShowUnitControlPanel #unit-control-panel { - display: block !important; -} - - -#roe-buttons-container button, -#reaction-to-threat-buttons-container button, -#emissions-countermeasures-buttons-container button, -#shots-scatter-buttons-container button #shots-intensity-buttons-container button { - align-items: center; - background-color: transparent; - border: 1px solid var(--accent-light-blue); - display: flex; - height: 30px; - justify-content: center; - width: 30px; -} - -#reaction-to-threat-buttons-container button:not(:first-child) svg { - width: 150%; - margin: -5px; -} - -#unit-control-panel h3 .num-selected-units { - margin-left:6px; -} - -#unit-control-panel h3 .num-selected-units::before { - content:"("; -} -#unit-control-panel h3 .num-selected-units::after { - content:")"; -} - -#unit-control-panel .ol-option-button button { - width: 30px; - height: 30px; -} - -#unit-control-panel .ol-option-button svg { - width: 100%; - height: 100%; -} - -#unit-control-panel .ol-option-button button.selected { - background-color: white; - border-color: white; -} - -#unit-control-panel .ol-option-button button.selected svg * { - fill: var(--background-steel); - stroke: var(--background-steel); -} - -#rapid-controls { - display: flex; - flex-direction: column; - height: fit-content; - position: absolute; - right:-10px; - row-gap: 5px; - top:0; - translate: 100% 0; - width: fit-content; -} - -#rapid-controls button { - padding: 4px; -} - -#rapid-controls button.pulse { - animation: pulse 1.5s linear infinite; -} - -#rapid-controls svg { - height: 20px; - width: 20px; - fill: white; - stroke: white; -} - -#rapid-controls button:before { - display: inline-block; - filter: invert(100%); - height: 20px; - width: 20px; -} - -#unit-control-panel { - display: flex; - flex-direction: row; - column-gap: 10px; - row-gap: 10px; -} - -#unit-control-panel>div:nth-child(2), -#unit-controls { - display: flex; - flex-direction: column; - row-gap: 10px; -} - -#unit-controls { - padding-right: 10px; -} - -#unit-control-panel>div:nth-child(2) { - width: 330px; -} - -#unit-control-panel>*:nth-child(1) { - display: none; - padding: 14px; -} - -@media (max-width: 1145px) { - #unit-control-panel>*:nth-child(1) { - display: flex; - } - - #unit-control-panel>*:nth-child(1) svg { - display: flex; - width: 24px; - height: 24px; - filter: invert(100%); - } - - #unit-control-panel:hover>*:nth-child(1) { - display: none; - } - - #unit-control-panel:not(:hover) { - width: fit-content; - } - - #unit-control-panel:not(:hover)>*:nth-child(2), - #unit-control-panel:not(:hover)>*:nth-child(3) { - display: none; - } -} - -#unit-control-panel #selected-units-container { - align-items: left; - border-radius: var(--border-radius-md); - display: flex; - flex-direction: column; - max-height: 215px; - overflow-x: hidden; - overflow-y: auto; - row-gap: 4px; -} - -#unit-control-panel #selected-units-container button { - align-items: center; - border-radius: 20px; - display: flex; - font-size: 13px; - height: 32px; - justify-content: space-between; - margin-right: 5px; - position: relative; - width: calc(100% - 5px); -} - -#unit-control-panel #selected-units-container button::after { - border-radius: 999px; - color: var(--secondary-semitransparent-white); - content: attr(data-label); - font-size: 10px; - padding: 4px 6px; - padding-right: 7px; - white-space: nowrap; - width: fit-content; -} - -#unit-control-panel #selected-units-container button:hover::after { - max-width: 100%; - text-overflow: unset; -} - -#unit-control-panel #selected-units-container button::before { - border-radius: var(--border-radius-sm); - content: attr(data-callsign); - display: block; - overflow: hidden; - padding: 4px; - padding-left: 7px; - text-align: left; - text-overflow: ellipsis; - white-space: nowrap; - width: fit-content; -} - -#unit-control-panel h4 { - margin-bottom: 8px; -} - -#advanced-settings-dialog { - width: 400px; -} - -#advanced-settings-dialog>.ol-dialog-content { - display: flex; - flex-direction: column; - flex-wrap: nowrap; - margin-bottom: 10px; - margin-top: 10px; - row-gap: 10px; -} - -#advanced-settings-dialog>.ol-dialog-content>div { - display: flex; - flex-direction: column; - flex-wrap: nowrap; - row-gap: 10px; -} - -#advanced-settings-dialog>.ol-dialog-content>div>.ol-group { - justify-content: space-between; -} - -#advanced-settings-dialog>.ol-dialog-content>div input[type="number"] { - width: 60px; -} - -#advanced-settings-dialog hr { - margin-bottom: 10px; - margin-top: 15px; -} - -#advanced-settings-dialog .ol-text-input input { - height: 40px; - width: fit-content; -} - -#advanced-settings-dialog h4 { - width: fit-content; - text-wrap: nowrap; -} - -#general-settings-grid { - display: grid; - grid-template-columns: 1fr 1fr; - row-gap: 10px; -} - -#general-settings-grid>div { - width: 49%; -} - -#flight-data .ol-slider { - margin: 20px 0px; -} - -.ol-slider-container dd { - column-gap: 5px; -} - -#flight-data .ol-switch { - height: 20px; - width: 50px; -} - -#flight-data .ol-switch-fill { - background-color: var(--accent-light-blue); -} - -#flight-data .ol-switch-fill::after { - background-color: white; -} - -#altitude-type-switch[data-value="true"]>.ol-switch-fill::before { - content: "ASL"; -} - -#altitude-type-switch[data-value="false"]>.ol-switch-fill::before { - content: "AGL"; -} - -#speed-type-switch[data-value="true"]>.ol-switch-fill::before { - content: "CAS"; -} - -#speed-type-switch[data-value="false"]>.ol-switch-fill::before { - content: "GS"; -} - -.switch-control .ol-switch { - height: 23px; - width: 40px; -} - -.ol-slider-value { - color: var(--accent-light-blue); - cursor: pointer; - font-size: 14px; - font-weight: bold; -} - -.switch-control { - align-items: center; - align-content: center; - display: flex; - width: 100%; - justify-content: space-between; -} - -.switch-control h4 { - margin: 0px !important; - padding: 0px; - display: flex; - align-items: center; -} - -.switch-control h4 img { - height: 15px; - margin-left: 10px; - cursor: pointer; - filter: invert(100%); - opacity: 80%; -} - -#advanced-settings-div { - align-items: center; - column-gap: 8px; - display: flex; - height: fit-content; - position: relative; -} - -#advanced-settings-div>button { - background-color: var(--background-grey); - /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);*/ - font-size: 13px; - height: 40px; - padding: 0 20px; -} - -#delete-options { - font-size: 13px; -} - -#delete-options.ol-select>.ol-select-value:after { - content: ""; -} - -#delete-options.ol-select>.ol-select-value svg { - background-color: transparent; - position: absolute; - right: 2px; - translate: 0 1px; -} - -#delete-options.ol-select>.ol-select-value svg * { - fill: var(--primary-red); -} - -#delete-options * { - background-color: var(--background-steel); -} - -#delete-options.ol-select>.ol-select-value:hover, -#delete-options .ol-select-options>div:not(.hr):hover, -#delete-options .ol-select-options>div:not(.hr):hover button, -#delete-options .ol-select-options>div hr { - background-color: var(--background-grey); -} - -#delete-options .ol-select-options>div:first-of-type { - margin-top: 12px; - padding-top: 0; -} - -#delete-options .ol-select-options>div:last-of-type { - margin-bottom: 12px; - padding-bottom: 0; -} - -#delete-options button { - display: flex; - flex-direction: row; - align-content: center; -} - -#delete-options button svg { - background-color: transparent; - margin-right: 10px; - width: 18px; - max-height: 18px; -} - -#delete-options button svg * { - stroke: red; -} - -/* Element visibility control */ -#unit-control-panel:not([data-show-categories-tooltip]) #categories-tooltip, -#unit-control-panel:not([data-show-speed-slider]) #speed-slider, -#unit-control-panel:not([data-show-altitude-slider]) #altitude-slider, -#unit-control-panel:not([data-show-roe]) #roe, -#unit-control-panel:not([data-show-threat]) #threat, -#unit-control-panel:not([data-show-emissions-countermeasures]) #emissions-countermeasures, -#unit-control-panel:not([data-show-shots-scatter]) #shots-scatter, -#unit-control-panel:not([data-show-shots-intensity]) #shots-intensity, -#unit-control-panel:not([data-show-tanker-button]) #tanker-on, -#unit-control-panel:not([data-show-AWACS-button]) #AWACS-on, -#unit-control-panel:not([data-show-on-off]) #ai-on-off, -#unit-control-panel:not([data-show-follow-roads]) #follow-roads, -#unit-control-panel:not([data-show-operate-as]) #operate-as, -#unit-control-panel:not([data-show-advanced-settings-button]) #advanced-settings-button, -#advanced-settings-dialog:not([data-show-settings]) #general-settings, -#advanced-settings-dialog:not([data-show-tasking]) #tasking, -#advanced-settings-dialog:not([data-show-TACAN]) #TACAN-options, -#advanced-settings-dialog:not([data-show-radio]) #radio-options, -#advanced-settings-dialog:not([data-show-air-unit-checkboxes]) .air-unit-checkbox { - display: none; -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/panels/unitinfo.css b/frontend/server/public/stylesheets/panels/unitinfo.css deleted file mode 100644 index 0b925aaf..00000000 --- a/frontend/server/public/stylesheets/panels/unitinfo.css +++ /dev/null @@ -1,184 +0,0 @@ -#unit-info-panel>* { - position: relative; - bottom: 0px; -} - -#unit-info-panel>*:nth-child(1) { - display: flex; - width: 24px; - height: 24px; - margin: 6px; - filter: invert(100%); -} - -#unit-info-panel:hover>*:nth-child(1) { - display: none; -} - -#unit-info-panel:not(:hover) { - width: fit-content; - height: fit-content; - padding: 10px; - margin: 0px; -} - -#unit-info-panel:not(:hover)>*:not(:first-child) { - display: none; -} - -#unit-info-panel>.panel-section { - border-right: 1px solid #555; - padding: 0 30px; -} - -#unit-info-panel>.panel-section:first-of-type { - padding-left: 0px; -} - -#unit-info-panel>.panel-section:last-of-type{ - padding-right: 0px; -} - -#unit-info-panel>.panel-section:last-of-type { - border-right-width: 0; -} - -#general { - display: flex; - flex-direction: column; - justify-content: space-between; - row-gap: 4px; - position: relative; - width: 300px; -} - -#unit-label { - font-weight: bold; -} - -#unit-group { - border-radius: var(--border-radius-md); - margin-top: auto; - padding: 6px 16px; - background-color: var(--secondary-light-grey); -} - -#unit-group::after { - content: attr(data-group-name); - display: block; -} - -#unit-control { - color: var(--secondary-lighter-grey); - font-weight: bold; -} - -#unit-name { - margin-bottom: 4px; - padding: 0px 0; - width: 100%; - text-overflow: ellipsis; - text-wrap: nowrap; - overflow: hidden; -} - -#current-task { - border-radius: var(--border-radius-md); - margin-top: auto; - padding: 6px 16px; -} - -#current-task::after { - content: attr(data-current-task); - display: block; -} - -#loadout { - display: flex; - overflow: visible; - width: 100%; - min-width: 125px; -} - -#loadout-container { - display: flex; - flex-direction: column; - justify-content: space-between; - width: 300px; -} - -#loadout-silhouette { - filter: invert(100%); - height: 75px; - margin-right: 25px; - width: 75px; -} - -#loadout-items { - align-self: center; - column-gap: 8px; - display: flex; - flex-flow: column nowrap; - height: 100px; - row-gap: 6px; - padding-right: 10px; -} - -#loadout-items>* { - align-items: center; - column-gap: 8px; - display: flex; - white-space: nowrap; -} - -#loadout-items>*::before { - align-items: center; - background-color: var(--secondary-light-grey); - border-radius: 999px; - content: attr(data-qty); - display: flex; - font-size: 11px; - font-weight: bold; - padding: 3px 4px; -} - -#loadout-items>*::after { - content: attr(data-item); - max-width: 125px; - overflow: hidden; - position: relative; - text-overflow: ellipsis; - width: 100%; -} - -#fuel-percentage { - align-items: center; - display: flex; - margin-top: 8px; -} - -#fuel-percentage::before { - content: ""; - background-image: url("/resources/theme/images/icons/fuel.svg"); - background-size: 16px 16px; - display: inline-block; - filter: invert(100%); - margin-right: 6px; -} - -#fuel-percentage::after { - content: attr(data-percentage) "%"; -} - -#fuel-display { - background-color: var(--background-grey); - border-radius: var(--border-radius-md); - height: 6px; - margin-top: 4px; - overflow: hidden; -} - -#fuel-display #fuel-bar { - border-radius: var(--border-radius-md); - height: 100%; -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/panels/unitlist.css b/frontend/server/public/stylesheets/panels/unitlist.css deleted file mode 100644 index b4077469..00000000 --- a/frontend/server/public/stylesheets/panels/unitlist.css +++ /dev/null @@ -1,91 +0,0 @@ -#unit-list-panel { - bottom:20px; - display:flex; - flex-direction: column; - justify-self:center; - position: absolute; - z-index:999; -} - -#unit-list-panel h3 { - margin-bottom:4px; -} - -#unit-list-panel-content { - display:flex; - flex-flow: column nowrap; - max-height: 200px; - row-gap: 4px; -} - -.unit-list-unit { - border-radius: var( --border-radius-sm ); - column-gap: 2px; - display:flex; - flex-flow: row nowrap; - justify-content: space-between; -} - -.unit-list-unit:nth-of-type(even) { - background:#ffffff10; - overflow:visible; -} - -.unit-list-unit.headers { - margin-bottom:3px; - margin-right:10px; - overflow: hidden; -} - -.unit-list-unit.headers [data-sort-field] { - cursor:pointer; -} - -.unit-list-unit.headers > * { - background-color: var( --background-grey ); - text-align: center; -} - -.unit-list-unit > * { - font-size:13px; - overflow: hidden; - padding:2px; - width:80px; -} - -.unit-list-unit :first-child { - overflow-x: hidden; - text-overflow: ellipsis; - white-space: nowrap; - width:150px; -} - -.unit-list-unit :first-child:hover { - overflow:visible; -} - -.unit-list-unit :first-child:hover span { - position:relative; - z-index:9999; -} - -.unit-list-unit :first-child:hover span:hover { - background-color: white; - color: var( --background-steel ); -} - -.unit-list-unit :nth-child(2) { - width:120px; -} - -.unit-list-unit > [data-unit-id] { - cursor:pointer; -} - -#unit-list-panel-content > * { - cursor:pointer; -} - -#unit-list-panel-content > .unit-list-unit:hover { - background-color: var( --background-grey ); -} \ No newline at end of file diff --git a/frontend/server/public/stylesheets/style/style.css b/frontend/server/public/stylesheets/style/style.css deleted file mode 100644 index b11b094c..00000000 --- a/frontend/server/public/stylesheets/style/style.css +++ /dev/null @@ -1,1775 +0,0 @@ -* { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -html * { - font-family: 'Open Sans', sans-serif !important; - user-select: none; -} - -body { - display: grid; - margin: 0; - padding: 0; - position: fixed; -} - -html, -body { - height: 100%; - width: 100%; -} - -.hidden-cursor { - /*cursor: none !important;*/ -} - -.hidden-cursor * { - cursor: none !important; - pointer-events: none !important; -} - -a { - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -button { - background-color: var(--background-steel); - border: 1px solid var(--background-steel); - border-radius: var(--border-radius-sm); - color: whitesmoke; - cursor: pointer; - font-weight: var(--font-weight-bolder); - padding: 6px; - column-gap: 5px; -} - -button:hover { - background-color: var(--background-hover); -} - -button[disabled="disabled"] { - color: var(--highlight-color); - cursor: not-allowed; -} - -button>svg:first-child, -button>img:first-child { - position: relative; - aspect-ratio: initial; - height: 100%; - pointer-events: none; -} - -form { - margin: 0; - padding: 0; -} - -button svg.fill-coalition * { - fill: var(--primary-neutral) !important; -} - -button svg.fill-coalition[data-coalition="blue"] * { - fill: var(--primary-blue) !important; -} - -button svg.fill-coalition[data-coalition="red"] * { - fill: var(--primary-red) !important; -} - -.pill { - background-color: var(--background-steel); - border-radius: 999px; - padding: 4px 8px; - width: fit-content; - font-weight: bold; -} - -.pill-light { - background-color: var(--background-grey); - border-radius: var(--border-radius-md); - padding: 3px 6px; - width: fit-content; -} - -.ol-scrollable { - overflow-y: auto; - scrollbar-color: white transparent; - scrollbar-width: thin; -} - -.ol-scrollable::-webkit-scrollbar { - width: var(--border-radius-md); -} - -.ol-scrollable::-webkit-scrollbar-track { - background-color: transparent; - border-bottom-right-radius: 10px; - border-top-right-radius: 10px; - margin-top: 0px; -} - -.ol-select .ol-scrollable { - scrollbar-color: white var(--background-grey); -} - -.ol-select .ol-scrollable::-webkit-scrollbar-track { - background-color: var(--background-grey); -} - -.ol-scrollable::-webkit-scrollbar-thumb { - background-color: white; - border-radius: 100px; - margin-top: 10px; - opacity: 0.8; -} - -.ol-panel { - background-color: var(--background-steel); - border-radius: var(--border-radius-md); - box-shadow: 0px 2px 5px #000A; - color: white; - font-size: 12px; - height: fit-content; - padding: 10px; - width: fit-content; -} - -.ol-panel hr { - background-color: var(--secondary-transparent-white); - border: none; - height: 1px; - margin: 10px 0; - width: 100%; -} - -.ol-panel-padding-lg { - padding: 24px 30px; -} - -.ol-select-container { - width: 100%; -} - -.ol-ellipsed { - display: inline-block; - overflow: hidden; - text-align: left; - text-overflow: ellipsis; - width: calc(100%); -} - -.ol-select { - color: var(--nav-text); - position: relative; -} - -.ol-select[disabled] { - color: var(--ol-dialog-disabled-text-color); -} - -.ol-select>.ol-select-value { - align-content: center; - /*box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);*/ - cursor: pointer; - display: flex; - justify-content: left; - min-width: 0; - text-align: center; - white-space: nowrap; - width: 100%; -} - -.ol-select:not(.ol-select-image)>.ol-select-value { - align-items: center; - background-color: var(--background-grey); - border-radius: var(--border-radius-sm); - height: 40px; - overflow: hidden; - padding-left: 20px; - padding-right: 30px; - text-overflow: ellipsis; - - width: calc(100%); -} - -.ol-select.narrow:not(.ol-select-image)>.ol-select-value { - opacity: .9; - padding: 4px 30px 4px 15px; -} - -.ol-select:not(.ol-select-image)>.ol-select-value svg { - margin-right: 10px; -} - -.ol-select:not(.ol-select-image)>.ol-select-value:after { - background-image: url("/resources/theme/images/icons/chevron-down.svg"); - content: ""; - position: absolute; - right: 10px; - width: 15px; - height: 15px; - background-size: 100% 100%; -} - -.ol-select[disabled]:not(.ol-select-image)>.ol-select-value:after { - opacity: 15%; -} - -.ol-select:not(.ol-select-image)>.ol-select-value.ol-select-warning:after { - background-image: url("/resources/theme/images/icons/chevron-down-warning.svg") !important; -} - -.ol-select.is-open:not(.ol-select-image)>.ol-select-value:after { - transform: rotate(180deg); -} - -.ol-select>.ol-select-options { - border-radius: var(--border-radius-md); - max-height: 0; - overflow: hidden; - position: absolute; - z-index: 99999; -} - -.ol-select-options.scrollbar-visible { - border-bottom-right-radius: 0px !important; - border-top-right-radius: 0px !important; -} - -.ol-select.ol-select-image>.ol-select-options { - position: absolute; -} - -.ol-select.is-open>.ol-select-options { - max-height: 382px; - min-width: 100%; - overflow: visible; - overflow-y: auto; - translate: 0px 5px; - z-index: 99999; -} - -.ol-select.is-open[data-position="top"]>.ol-select-options { - top: 0; - translate: 0 -100%; -} - -.ol-select>.ol-select-options>div { - background-color: var(--background-grey); - display: flex; - justify-content: left; - padding: 2px 15px; - width: 100%; -} - -.ol-select>.ol-select-options>div:first-of-type { - padding-top: 12px; -} - -.ol-select>.ol-select-options>div:last-of-type { - padding-bottom: 12px; -} - -.ol-select>.ol-select-options div hr { - background-color: var(--background-hover); - height: 1px; - width: 100%; -} - -.ol-select>.ol-select-options>div a, -.ol-select>.ol-select-options>div button { - background-color: transparent; - border: none; - border-radius: 0; - border-radius: var(--border-radius-sm); - color: white; - display: block; - font-size: 13px; - font-weight: normal; - height: 32px; - padding: 6px 2px; - padding: 5px; - text-align: left; - white-space: nowrap; - width: 100%; -} - -.ol-select>.ol-select-options>div a:hover, -.ol-select>.ol-select-options>div button:hover { - background-color: #FFF3; - text-decoration: none; -} - -.ol-panel-list { - border-radius: var(--border-radius-sm); - display: flex; - flex-direction: column; - height: fit-content; - row-gap: 5px; - text-align: center; - width: fit-content; -} - -.ol-panel-list .list-item { - border-radius: var(--border-radius-md); - display: flex; - justify-content: space-between; - padding: 6px 10px; -} - -.ol-panel-list.sortable>.sortable-item { - align-items: center; - column-gap: 5px; - display: flex; - flex-direction: row; -} - -.ol-panel-list.sortable>.sortable-item>.handle { - cursor: grab; - filter: invert(100); -} - -.ol-panel-list.sortable>.sortable-item>.handle img { - max-width: 16px; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0px; -} - -h1 { - font-size: 36px; - font-weight: 800; -} - -h2 { - font-size: 24px; - font-weight: bold; -} - -h3 { - font-size: 18px; - font-weight: bold; -} - -h4 { - font-size: 14px; - font-weight: normal; -} - -button.ol-button-white { - border: 1px solid white; - color: white; - font-weight: bold; -} - -button.ol-button-white>svg:first-child { - stroke: white; - fill: white; -} - -.ol-select-warning { - border: 1px solid var(--primary-red); - color: var(--primary-red) !important; - font-weight: bold !important; -} - -.ol-select-warning::after { - stroke: var(--primary-red); - fill: var(--primary-red); -} - -button.ol-button-warning { - border: 1px solid var(--primary-red); - color: var(--primary-red) !important; - font-weight: bold !important; -} - -button.ol-button-warning>svg:first-child { - stroke: var(--primary-red); - fill: var(--primary-red); -} - -nav.ol-panel { - column-gap: 10px; - display: flex; - flex-direction: row; - height: 58px; - padding-left: 15px; - padding-right: 15px; -} - -.ol-panel .ol-group { - align-items: center; - column-gap: 12px; - display: flex; - flex-direction: row; - flex-wrap: nowrap; - row-gap: 4px; -} - -.ol-group-header { - text-align: center; - width: 100%; -} - -.ol-panel .ol-group.wrap { - flex-wrap: wrap; -} - -.ol-panel .ol-group-button-toggle { - align-items: center; - display: flex; - flex-wrap: nowrap; - white-space: nowrap; - width: fit-content; -} - -.ol-panel .ol-group-button-toggle button { - background-position: 5px 50%; - background-repeat: no-repeat; - border: 0; - display: flex; - justify-items: left; - text-indent: 2px; -} - -.ol-panel .ol-group-button-toggle button::before { - background-image: url("/resources/theme/images/icons/square-check-solid.svg"); - background-repeat: no-repeat; - content: ""; - filter: invert(100%); - -webkit-filter: invert(100%); - height: 16px; - width: 16px; - background-size: 100% 100%; -} - -.ol-panel .ol-group-button-toggle button.off::before { - background-image: url("/resources/theme/images/icons/square-regular.svg"); -} - -.highlight-primary { - background-color: var(--secondary-light-grey); -} - -.highlight-coalition, -.highlight-neutral { - background-color: var(--primary-neutral); - color: var(--secondary-gunmetal-grey) -} - -.highlight-coalition[data-coalition="blue"], -.highlight-bluefor { - background-color: var(--primary-blue); - color: white; -} - -.highlight-coalition[data-coalition="red"], -.highlight-redfor { - background-color: var(--primary-red); - color: white; -} - -.accent-green { - color: var(--accent-green); - font-weight: var(--font-weight-bolder); -} - -.accent-light-blue { - color: var(--accent-light-blue); - font-weight: var(--font-weight-bolder); -} - -.accent-bluefor { - color: var(--primary-blue); - font-weight: var(--font-weight-bolder); -} - -.accent-redfor { - color: var(--primary-red); - font-weight: var(--font-weight-bolder); -} - -.accent-neutral { - color: var(--primary-neutral); - font-weight: var(--font-weight-bolder); -} - -.hide { - display: none !important; -} - -.icon-small { - filter: invert(100%); - padding: 2px; - width: 20px; -} - -.ol-data-grid { - display: flex; - flex-direction: column; -} - -.ol-slider-container { - width: 100%; -} - -.ol-slider-container:not(:first-of-type) { - margin-top: 10px; - width: 100%; -} - -.ol-slider { - -webkit-appearance: none; - appearance: none; - background: #d3d3d3; - height: 2px; - margin-bottom: 10px; - margin-top: 15px; - opacity: 0.7; - outline: none; - -webkit-transition: .2s; - transition: opacity .2s; - width: 100%; -} - -.ol-slider:hover { - opacity: 1; -} - -.ol-slider::-webkit-slider-thumb { - -webkit-appearance: none; - appearance: none; - background: var(--background-grey); - border-radius: 999px; - cursor: pointer; - height: 25px; - width: 25px; -} - -.active .ol-slider::-webkit-slider-thumb { - background: radial-gradient(circle at center, var(--accent-light-blue), var(--accent-light-blue) 40%, var(--transparent-accent-light-blue) 50%); -} - -.ol-slider::-moz-range-thumb { - -moz-appearance: none; - border: 0px solid transparent; - background: var(--background-grey); - border-radius: 999px; - cursor: pointer; - height: 25px; - width: 25px; -} - -.active .ol-slider::-moz-range-thumb { - -moz-appearance: none; - background: radial-gradient(circle at center, var(--accent-light-blue), var(--accent-light-blue) 40%, var(--transparent-accent-light-blue) 50%); -} - -.ol-slider-min-max { - display: flex; - justify-content: space-between; - color: var(--secondary-light-grey); -} - -.ol-slider-min-max::before { - content: attr(data-min-value); -} - -.ol-slider-min-max::after { - content: attr(data-max-value); -} - -.main-logo { - height: 40px; - width: 40px; -} - -.ol-measure-box { - background-color: var(--background-steel); - border-radius: 999px; - color: var(--background-offwhite); - font-size: 12px; - font-weight: bolder; - height: fit-content; - padding-bottom: 0.2em; - padding-left: 0.5em; - padding-right: 0.5em; - padding-top: 0.2em; - position: absolute; - text-align: center; - width: fit-content; - z-index: 2000; - pointer-events: none; -} - -.ol-sortable .handle { - background-image: url("/resources/theme/images/icons/grip-lines-solid.svg"); - cursor: ns-resize; - filter: invert(); - height: 12px; - width: 12px; -} - -#unit-selection { - display: flex; - flex-direction: column; -} - -#unit-selection #unit-identification { - align-items: center; - display: flex; - margin-bottom: 11px; -} - -#unit-selection #unit-identification [data-object|="unit"] { - height: 28px; - margin-right: 6px; - width: 28px; -} - -#unit-selection #unit-identification [data-object|="unit"] .unit-icon { - background-size: 28px 28px; - height: 28px; - width: 28px; -} - -.ol-navbar-buttons-group { - align-items: center; -} - -.ol-navbar-buttons-group>div { - align-items: center; - display: flex; - flex-direction: row; -} - -.ol-navbar-buttons-group button { - border: none; - height: 32px; - padding: 0px; - width: 32px; -} - -.ol-navbar-buttons-group button svg { - height: 16px; - pointer-events: none; - width: 16px; -} - -.ol-navbar-buttons-group button { - background-color: white; - border: 1px solid transparent; -} - -.ol-navbar-buttons-group button.off { - background-color: transparent; - border: 1px solid white; -} - -.ol-navbar-buttons-group button.off svg *[fill="black"] { - fill: white !important; -} - -.ol-navbar-buttons-group button.off svg *[stroke="black"] { - stroke: white !important; -} - -.ol-navbar-buttons-group button.red svg *[fill="black"] { - fill: red !important; -} - -.ol-navbar-buttons-group button svg * { - fill: var(--background-steel); - stroke: var(--background-steel); -} - -.ol-navbar-buttons-group .protectable button:first-of-type { - border-bottom-right-radius: 0; - border-top-right-radius: 0; - width: 28px; -} - -.ol-navbar-buttons-group>.protectable>button.lock { - align-items: center; - background-color: var(--primary-red); - border-bottom-left-radius: 0; - border-top-left-radius: 0; - display: flex; - justify-content: center; - width: 18px; -} - -.ol-navbar-buttons-group>.protectable>button[data-protected].lock { - background-color: var(--background-grey); -} - -.ol-navbar-buttons-group>.protectable>button.lock svg { - height: 10px; - width: 10px; -} - -@keyframes lock-prompt { - 100% { - opacity: 1; - } - - 0% { - opacity: 0; - } -} - -.ol-navbar-buttons-group>.protectable>button[data-protected].lock.prompt svg { - animation: lock-prompt .25s alternate infinite; -} - -.ol-navbar-buttons-group>.protectable>button.lock svg.locked * { - fill: white !important; -} - -.ol-navbar-buttons-group>.protectable>button:not([data-protected]).lock svg.unlocked, -.ol-navbar-buttons-group>.protectable>button[data-protected].lock svg.locked { - display: flex; -} - -.ol-navbar-buttons-group>.protectable>button[data-protected].lock svg.unlocked, -.ol-navbar-buttons-group>.protectable>button:not([data-protected]).lock svg.locked { - display: none; -} - - - -#roe-buttons-container button, -#reaction-to-threat-buttons-container button, -#emissions-countermeasures-buttons-container button, -#shots-scatter-buttons-container button #shots-intensity-buttons-container button { - align-items: center; - background-color: transparent; - border: 1px solid var(--accent-light-blue); - display: flex; - height: 30px; - justify-content: center; - width: 30px; -} - -#reaction-to-threat-buttons-container button:not(:first-child) svg { - width: 150%; - margin: -5px; -} - -#unit-control-panel .ol-option-button button.selected { - background-color: white; - border-color: white; -} - -#unit-control-panel .ol-option-button button.selected svg * { - fill: var(--background-steel); - stroke: var(--background-steel); -} - -#rapid-controls { - display: flex; - flex-direction: column; - row-gap: 5px; - height: fit-content; - width: fit-content; -} - -#rapid-controls button { - padding: 4px; -} - -#rapid-controls svg { - height: 20px; - width: 20px; - fill: white; - stroke: white; -} - -#rapid-controls button:before { - display: inline-block; - filter: invert(100%); - height: 20px; - width: 20px; -} - -/****************************************************************************************/ -#splash-screen { - border-radius: var(--border-radius-md); - overflow: hidden; - width: 70%; - max-width: 1200px; - z-index: 999999; - min-width: 500px; -} - -@media (min-width: 1700px) { - #splash-screen { - background-position: 100% 50%; - background-size: contain; - } -} - -#splash-content { - background-color: var(--background-steel); - display: flex; - flex-direction: column; - padding: 30px; - position: relative; - row-gap: 10px; - width: 50%; -} - -@media (max-width: 1700px) { - #splash-content { - width: auto; - } -} - -#splash-content::after { - background-color: var(--background-steel); - content: ""; - display: block; - height: 800px; - position: absolute; - right: 0; - top: 0; - transform: rotate(-23deg); - transform-origin: top right; - width: 300px; - z-index: -1; -} - -#splash-content #app-summary { - background-image: url("/images/olympus-500x500.png"); - background-position: 0 50%; - background-repeat: no-repeat; - background-size: 75px 75px; - content: ""; - display: flex; - flex-direction: column; - justify-content: space-between; - min-height: 75px; - text-indent: 85px; - row-gap: 5px; -} - -#splash-content #app-summary>* { - height: fit-content; - padding: 2px; - white-space: nowrap; - width: fit-content; -} - -#splash-content .app-version { - font-size: 11px; - padding: 0px; -} - -#splash-content .new-version { - animation: pulse 1.5s linear infinite; -} - -#splash-content .app-version:first-of-type { - margin-top: auto; -} - -#splash-content #legal-stuff { - width: 120%; - text-wrap: wrap; - max-height: 250px; - overflow-x: hidden; - padding-right: 10px; -} - -#splash-content #legal-stuff h5 { - text-transform: uppercase; -} - -#splash-content #legal-stuff p { - color: #FFF7; - font-size: 10px; - width: 100%; -} - -@media (max-width: 1700px) { - #splash-content #legal-stuff { - width: 100%; - } -} - -#splash-content.ol-dialog-content { - margin: 0px; -} - -#gray-out { - background-color: #000A; - height: 100%; - left: 0px; - position: fixed; - top: 0px; - width: 100%; - z-index: 99999; -} - -#loading-screen { - display: flex; - background-image: linear-gradient(var(--background-steel), var(--background-grey)); - height: 100%; - left: 0px; - position: fixed; - top: 0px; - width: 100%; - z-index: 999999; - justify-content: center; - align-items: center; - flex-direction: column; - row-gap: 20px; -} - -#loading-screen img { - height: 300px; - width: 300px; -} - -#loading-screen div { - color: white; - font-size: 18px; - animation: pulse 3s linear infinite; -} - -.fade-out { - opacity: 0%; - transition: opacity 1s; -} - -#authentication-form { - align-items: end; - column-gap: 10px; - display: flex; - flex-direction: row; - margin: 20px 0px; - flex-wrap: wrap; - width: 100%; - row-gap: 10px; -} - -#authentication-form>div { - align-items: start; - display: flex; - flex-direction: column; - row-gap: 4px; -} - -#authentication-form>div>input { - border: 0px solid transparent; - border-radius: var(--border-radius-sm); - height: 35px; - width: 200px; -} - -#splash-content a { - color: #FFFB; - font-weight: bold; -} - -#login-status { - margin-bottom: 5px; -} - -#login-status[data-status="connecting"]::before { - animation: blinker 1s linear infinite; - content: "Connecting..."; -} - -#login-status[data-status="failed"]::before { - color: var(--primary-red); - content: "Incorrect password!"; -} - -@keyframes blinker { - 50% { - opacity: 0; - } -} - -#hotgroup-panel>div { - align-items: center; - background-color: var(--background-steel); - border: 0px solid transparent; - border-radius: var(--border-radius-sm); - color: white; - display: flex; - font-weight: bold; - height: 50px; - justify-content: center; - width: 50px; -} - -#hotgroup-panel>div:hover { - border: 2px solid white; - cursor: pointer; -} - -.hotgroup-selector>.unit-hotgroup { - display: flex; - translate: 0% -300%; -} - -#command-mode { - display: flex; - font-size: 14px; - font-weight: bolder; - padding-left: 10px; - margin-left: -16px; - margin-top: -0px; - margin-bottom: -0px; - height: 58px; - padding: 10px; - border-top-left-radius: var(--border-radius-md); - border-bottom-left-radius: var(--border-radius-md); - align-items: center; -} - -#command-mode[data-mode="Game master"] { - background-color: lightgray; - color: var(--secondary-gunmetal-grey); -} - -#command-mode[data-mode="Blue commander"] { - background-color: var(--primary-blue); -} - -#command-mode[data-mode="Red commander"] { - background-color: var(--primary-red); -} - -#spawn-points-container { - font-size: 14px; -} - -#spawn-points { - background-color: var(--background-grey); - padding: 5px 15px; - margin-left: 15px; - border: 1px white solid; - font-size: 14px; - border-radius: var(--border-radius-md); -} - -#spawn-points-container { - height: 100%; - display: flex; - align-items: center; -} - -#command-mode-phase.setup-phase::after { - color: orange; - border: 1px solid orange; - border-radius: 999px; - padding: 5px 10px; - background-color: var(--background-grey); - content: attr(data-remaining-time); - font-size: 14px; -} - -#command-mode-phase.game-commenced { - background-color: var(--background-grey); - color: lightgreen; - border: 1px solid lightgreen; - padding: 5px 15px; - border-radius: var(--border-radius-md); - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - height: 100%; -} - -#command-mode-phase.game-commenced::after { - content: "Spawn restrictions on"; - font-size: 12px; -} - -#command-mode-phase.no-restrictions::after { - content: "Spawn restrictions on"; - font-size: 10px; -} - -#command-mode-toolbar { - min-width: fit-content; -} - -#command-mode-toolbar .ol-button { - border: 1px solid white; -} - -#command-mode-toolbar .ol-button>svg { - width: 20px; - height: 20px; - fill: white; -} - -#command-mode-settings-dialog { - width: 400px; -} - -#command-mode-settings-dialog>.ol-dialog-content { - display: flex; - flex-direction: column; - flex-wrap: nowrap; - margin-bottom: 10px; - margin-top: 10px; - row-gap: 10px; - width: 100%; -} - -#command-mode-settings-dialog>.ol-dialog-content .ol-group { - justify-content: space-between; -} - -#command-mode-settings-dialog h4 { - white-space: nowrap; - width: fit-content; -} - -.ol-destination-preview-icon { - background-image: url("/resources/theme/images/markers/move.svg"); - height: 52px; - pointer-events: none; - width: 52px; -} - -.ol-target-icon { - background-image: url("/resources/theme/images/markers/target.svg"); - height: 52px; - pointer-events: none; - width: 52px; - z-index: 9999; -} - -.ol-smoke-icon { - background-image: url("/resources/theme/images/markers/smoke.svg"); - height: 52px; - pointer-events: none; - width: 52px; - z-index: 9999; - opacity: 0.8; -} - -.ol-smoke-icon[data-color="white"] { - fill: white; -} - -.ol-smoke-icon[data-color="blue"] { - fill: blue; -} - -.ol-smoke-icon[data-color="red"] { - fill: red; -} - -.ol-smoke-icon[data-color="green"] { - fill: green; -} - -.ol-smoke-icon[data-color="orange"] { - fill: orange; -} - -.ol-draw-icon { - background-image: url("/resources/theme/images/markers/draw.svg"); - height: 24px; - pointer-events: none; - width: 24px; - z-index: 9999; -} - -.ol-coalitionarea-handle-icon, -.ol-coalitionarea-middle-handle-icon, -.ol-destination-preview-icon, -.ol-destination-preview-handle-icon { - pointer-events: none; - z-index: 9999; - border-radius: 999px; -} - -.ol-coalitionarea-handle-icon { - background-color: #FFFFFFEE; - width: 24px; - height: 24px; -} - -.ol-coalitionarea-middle-handle-icon { - background-color: #FFFFFFAA; - width: 16px; - height: 16px; -} - -.ol-destination-preview-handle-icon { - background-color: #247be2; - border: 2px solid white; - width: 18px; - height: 18px; -} - -dl.ol-data-grid { - align-items: center; - display: flex; - flex-direction: row; - flex-wrap: wrap; - margin: 0; - row-gap: 4px; -} - -dl.ol-data-grid dt.icon { - text-indent: 10px; -} - -dl.ol-data-grid dt.icon::before { - content: url("/resources/theme/images/icons/speed.svg"); - display: inline-block; - filter: invert(100%); - translate: -20px 2px; - width: 20px; -} - -dl.ol-data-grid dt.icon-speed::before { - content: url("/images/icons/speed.svg"); -} - -dl.ol-data-grid dt.icon-altitude::before { - content: url("/images/icons/altitude.svg"); -} - -dl.ol-data-grid dd { - display: flex; - justify-content: flex-end; - margin-left: auto; -} - -.ol-button-box { - column-gap: 6px; - display: flex; - flex-direction: row; - flex-wrap: wrap; - margin: 5px 0; - row-gap: 5px; -} - -.ol-button-box button { - background-repeat: no-repeat; - ; - border: 1px solid var(--accent-light-blue); - color: var(--accent-light-blue); -} - -.ol-dialog { - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - background-color: var(--background-slate-blue); - color: white; - position: absolute; - z-index: 999999; -} - -.ol-panel.ol-dialog { - padding: 24px 30px; -} - -.ol-dialog-close { - cursor: pointer; - font-size: 16px; - font-weight: var(--font-weight-bolder); - position: absolute; - right: 20px; - top: 10px; -} - -.ol-dialog-close::before { - content: "\d7"; -} - -.ol-dialog-header { - border-bottom: 1px solid var(--background-grey); - padding-bottom: 10px; -} - -.ol-dialog-content { - margin: 4px 0; -} - - -.ol-dialog label[disabled] { - color: var(--ol-dialog-disabled-text-color) -} - -.ol-dialog-content table th { - background-color: var(--background-grey); - color: white; - font-size: 14px; - font-weight: normal; -} - -.ol-dialog-content table tbody th { - text-align: left; -} - -.ol-dialog-footer { - align-content: center; - border-top: 1px solid var(--background-grey); - display: flex; - justify-content: flex-end; - padding-top: 15px; - row-gap: 10px; -} - -.ol-dialog.scrollable .ol-dialog-content { - overflow-y: auto; -} - -.ol-checkbox label, -.ol-text-input label { - align-items: center; - cursor: pointer; - display: flex; - flex-wrap: nowrap; - white-space: nowrap; -} - -.ol-text-input label { - justify-content: space-between; - width: 100%; -} - -.ol-checkbox input[type="checkbox"] { - appearance: none; - background-color: transparent; - border: none; - margin: 0; -} - -.ol-checkbox input[type="checkbox"]::before { - align-self: center; - background-image: url("/resources/theme/images/icons/square-regular.svg"); - background-repeat: no-repeat; - content: ""; - display: flex; - filter: invert(100%); - height: 16px; - margin-right: 10px; - width: 16px; - background-size: 100% 100%; -} - -.ol-checkbox input[type="checkbox"]:disabled:before { - opacity: 10%; -} - -.ol-checkbox input[type="checkbox"]:checked::before { - background-image: url("/resources/theme/images/icons/square-check-solid.svg"); -} - -.ol-text-input input { - background-color: var(--background-grey); - border: 1px solid var(--background-grey); - border-radius: var(--border-radius-sm); - /*box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);*/ - color: var(--background-offwhite); - height: 32px; - text-align: center; -} - -.ol-text-input.border input { - border: 1px solid var(--background-offwhite); -} - -.ol-text-input input[disabled] { - color: var(--ol-dialog-disabled-text-color); -} - -input[type=number] { - -moz-appearance: textfield; - appearance: textfield; - margin: 0; -} - -input[type=number]::-webkit-inner-spin-button, -input[type=number]::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -[class|="ol-button"] { - align-items: center; - background-repeat: no-repeat; - display: flex; - font-weight: normal; - padding: 8px 10px; - white-space: nowrap; -} - -[class|="ol-button"]::before { - margin-right: 8px; -} - -.ol-button-close { - background: transparent; - border: 1px solid white; -} - -.ol-button-close::before { - content: "\d7"; -} - -.ol-button-apply { - background: transparent; - border: 1px solid white; -} - -.ol-button-apply[disabled] { - border-color: var(--ol-dialog-disabled-text-color); - color: var(--ol-dialog-disabled-text-color); -} - -.ol-button-apply::before { - content: "\2713"; -} - -.ol-button-settings { - background-color: var(--background-slate-blue); -} - -.ol-button-settings::before { - background-image: url("/resources/theme/images/icons/gears-solid.svg"); - background-position: 0 50%; - background-size: 24px 24px; - content: ""; - display: flex; - filter: invert(100%); - height: 24px; - width: 24px; -} - -.ol-switch { - cursor: pointer; - display: flex; - align-items: center; - justify-content: center; -} - -.ol-switch-input { - display: none; -} - -.ol-switch-fill { - border-radius: 999px; - position: relative; - transition: background-color 0.2s; - height: var(--height); - width: var(--width); -} - -.ol-switch-fill::after { - aspect-ratio: 1 / 1; - background-clip: content-box; - background-color: #ffffff; - border-radius: 999px; - box-sizing: border-box; - content: ""; - height: 100%; - padding: 3px; - position: absolute; - transition: transform 0.2s; - top: 0px; -} - -.ol-switch-fill::before { - align-items: center; - box-sizing: border-box; - color: white; - display: flex; - font-size: 11px; - height: 100%; - padding: 0px 7px; - position: absolute; - transition: transform 0.2s; -} - -.ol-switch[data-value="false"]>.ol-switch-fill::before { - transform: translateX(calc(var(--width) - 100%)); -} - -.ol-switch[data-value="true"]>.ol-switch-fill::after { - transform: translateX(calc(var(--width) - var(--height))); -} - -.ol-switch[data-value="undefined"]>.ol-switch-fill::after { - transform: translateX(calc((var(--width) - var(--height)) * 0.5)); -} - -.switch-control.yes-no .ol-switch[data-value="true"] .ol-switch-fill { - background-color: var(--accent-light-blue); -} - -.switch-control.yes-no .ol-switch[data-value="false"] .ol-switch-fill { - background-color: var(--ol-switch-off); -} - -.switch-control.yes-no .ol-switch[data-value="undefined"] .ol-switch-fill { - background-color: var(--ol-switch-undefined); -} - -.switch-control.coalition .ol-switch>.ol-switch-fill::before, -.switch-control.yes-no .ol-switch>.ol-switch-fill::before { - translate: -100% 0; - transform: none; -} - -.switch-control.yes-no .ol-switch[data-value="true"]>.ol-switch-fill::before { - content: "YES"; -} - -.switch-control.yes-no .ol-switch[data-value="false"]>.ol-switch-fill::before { - content: "NO"; -} - -.switch-control.coalition [data-value="true"] .ol-switch-fill { - background-color: var(--primary-blue); -} - -.switch-control.coalition [data-value="false"] .ol-switch-fill { - background-color: var(--primary-red); -} - -.switch-control.coalition [data-value="undefined"] .ol-switch-fill { - background-color: var(--primary-neutral); -} - -.switch-control.coalition [data-value="true"] .ol-switch-fill::before { - content: "BLUE"; -} - -.switch-control.coalition [data-value="false"] .ol-switch-fill::before { - content: "RED"; -} - -.switch-control.no-label [data-value] .ol-switch-fill::before { - content: ""; -} - -.ol-context-menu>ul { - max-height: 200px; - overflow-x: hidden; - overflow-y: auto; -} - -.ol-context-menu .ol-panel { - border-radius: var(--border-radius-sm); - width: 100%; -} - -.ol-context-menu ul { - margin: 0px; -} - -.ol-context-menu .ol-select-container { - align-self: stretch; - flex: 0 0 auto; - width: 100%; -} - -.ol-context-menu-button { - border: none; - border-radius: 0px; - height: 48px; - margin-bottom: -10px; - margin-top: -10px; - width: 48px; -} - -.ol-context-menu-button:last-of-type { - border-bottom-right-radius: var(--border-radius-sm); - border-top-right-radius: var(--border-radius-sm); -} - -[data-coalition="blue"].ol-context-menu-button:hover, -[data-coalition="blue"].ol-context-menu-button.is-open { - background-color: var(--primary-blue) -} - -[data-coalition="red"].ol-context-menu-button:hover, -[data-coalition="red"].ol-context-menu-button.is-open { - background-color: var(--primary-red) -} - -[data-coalition="neutral"].ol-context-menu-button:hover, -[data-coalition="neutral"].ol-context-menu-button.is-open { - background-color: var(--primary-neutral) -} - -#map-type svg, -#map-visibility-options svg { - height: 20px; - width: 20px; - fill: lightgray; -} - -#map-visibility-options .ol-select-options .ol-checkbox { - font-size: 13px; - font-weight: 400; - padding: 6px 15px; -} - -#map-visibility-options .ol-select-options .ol-checkbox:first-of-type { - padding-top: 12px; -} - -#map-visibility-options .ol-select-options .ol-checkbox:last-of-type { - padding-bottom: 18px; -} - -#map-visibility-options .ol-select-options .ol-checkbox label:hover span { - text-decoration: underline; -} - -.ol-log-entry:first-of-type { - border-top: 1px solid #FFFFFF44; -} - -.ol-log-entry { - border-bottom: 1px solid #FFFFFF44; -} - -.file-import-export { - max-width: 500px; -} - -.file-import-export .ol-dialog-content { - display: flex; - flex-direction: column; - justify-content: center; -} - -.file-import-export p { - background-color: var(--background-grey); - border-left: 6px solid var(--secondary-blue-text); - padding: 12px; -} - -.file-import-export th { - padding: 4px 6px; -} - -.file-import-export tr td:first-child { - text-align: left; -} - -.file-import-export td { - color: white; - text-align: center; -} - -.file-import-export .ol-checkbox { - display: flex; - justify-content: center; -} - -.file-import-export .ol-checkbox input::before { - margin-right: 0; -} - -.file-import-export .ol-checkbox span { - display: none; -} - -.file-import-export button.start-transfer { - background-color: var(--secondary-blue-text); - border-color: var(--secondary-blue-text); -} - -.file-import-export .export-filename-container { - display: flex; - column-gap: 15px; - width: 100%; - align-items: center; - padding: 10px 0px; - color: white; - font-size: 14px; -} - -.file-import-export .export-filename-container input { - width: 100%; - background-color: var(--background-grey); - appearance: none; - -moz-appearance: none; - -webkit-appearance: none; - border-style: solid; - border: 1px solid var(--background-steel); - color: white; - font-size: 14px; - padding: 4px; -} - -.file-import-export .export-filename-container img { - height: 16px; - width: 16px; - filter: invert(100%); - margin-left: -31px; - transform: translateX(-15px); - pointer-events: none; -} - -.file-import-export .ol-dialog-footer button:first-of-type { - margin-left: auto; -} - -@keyframes pulse { - 50% { - opacity: 0; - } -} - -#camera-link-type-switch { - width: 60px; - height: 25px; -} - -#camera-link-type-switch[data-value="true"]>.ol-switch-fill::before { - content: "MAP"; -} - -#camera-link-type-switch[data-value="false"]>.ol-switch-fill::before { - content: "LIVE"; -} - -#camera-link-type-switch[data-value="true"]>.ol-switch-fill { - background-color: var(--background-grey); -} - -#camera-link-type-switch[data-value="false"]>.ol-switch-fill { - background-color: var(--background-offwhite); -} - -#camera-link-type-switch[data-value="false"]>.ol-switch-fill::before { - color: var(--background-steel); -} - -#camera-link-type-switch[data-value="false"]>.ol-switch-fill::after { - background-color: var(--background-steel); -} diff --git a/frontend/server/public/stylesheets/uikit/uikit.css b/frontend/server/public/stylesheets/uikit/uikit.css deleted file mode 100644 index d7a8881c..00000000 --- a/frontend/server/public/stylesheets/uikit/uikit.css +++ /dev/null @@ -1,101 +0,0 @@ -body { - background-color:#eaeaea; -} - -#content-wrapper { - row-gap: 5px; - display: flex; - flex-direction: column; - flex-wrap: wrap; - height:100%; - width:100%; -} - -section { - column-gap: 20px; - display:flex; - flex-direction: row; - flex-wrap: wrap; -} - -.content { - background:white; - border-radius: 10px; - height:fit-content; - margin-bottom:4vh; - padding:20px; - width:fit-content; -} - -.content-header { - color:#666; - letter-spacing:1px; - margin-bottom: 1vh; -} - -.content-body { - column-gap: 20px; - display:flex; - flex-direction: row; - flex-wrap: wrap; -} - -.example { - align-items: center; - display:flex; - flex-direction: column; - min-width: 100px; -} - -.caption { - margin:2vh 0 1vh 0; -} - - -#paragraph { - max-width: 750px; -} - - -#tabs { - column-gap: 10px; - display: flex; - flex-direction: row; - margin-bottom:1em; -} - -#tabs > div { - background:#660066; - border-radius: 5px; - color:white; - cursor: pointer; - padding:6px 10px; -} - - -#overlaying-planes { - background-color:#99ccff; - padding:60px; - position:relative; -} - -#overlaying-planes .unit:nth-of-type(2) { - position: absolute; - left: 40px; - top: 10px; -} - -.icon-list { - text-align: center; -} - -.icon-list { - display: flex; - flex-direction: column; - row-gap: 10px; -} - -.icon-list span { - display:block; - font-size: 12px; -} \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/camera/linked.svg b/frontend/server/public/themes/olympus/images/buttons/camera/linked.svg deleted file mode 100644 index 86e90e32..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/camera/linked.svg +++ /dev/null @@ -1,36 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/buttons/emissions/attack.svg b/frontend/server/public/themes/olympus/images/buttons/emissions/attack.svg deleted file mode 100644 index 0e1bd78d..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/emissions/attack.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/emissions/defend.svg b/frontend/server/public/themes/olympus/images/buttons/emissions/defend.svg deleted file mode 100644 index 6d13f0de..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/emissions/defend.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/emissions/free.svg b/frontend/server/public/themes/olympus/images/buttons/emissions/free.svg deleted file mode 100644 index 19fd8b25..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/emissions/free.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/emissions/silent.svg b/frontend/server/public/themes/olympus/images/buttons/emissions/silent.svg deleted file mode 100644 index 9ecb6737..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/emissions/silent.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/intensity/1.svg b/frontend/server/public/themes/olympus/images/buttons/intensity/1.svg deleted file mode 100644 index 428226dc..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/intensity/1.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/intensity/2.svg b/frontend/server/public/themes/olympus/images/buttons/intensity/2.svg deleted file mode 100644 index 63b73775..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/intensity/2.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/intensity/3.svg b/frontend/server/public/themes/olympus/images/buttons/intensity/3.svg deleted file mode 100644 index 8241e7d9..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/intensity/3.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/other/arrow-down-solid.svg b/frontend/server/public/themes/olympus/images/buttons/other/arrow-down-solid.svg deleted file mode 100644 index a31ed4b6..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/other/arrow-down-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/other/back.svg b/frontend/server/public/themes/olympus/images/buttons/other/back.svg deleted file mode 100644 index 0b86d7f1..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/other/back.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/other/clock-rotate-left-solid.svg b/frontend/server/public/themes/olympus/images/buttons/other/clock-rotate-left-solid.svg deleted file mode 100644 index 50966792..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/other/clock-rotate-left-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/other/delete.svg b/frontend/server/public/themes/olympus/images/buttons/other/delete.svg deleted file mode 100644 index 68a91a1a..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/other/delete.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/other/edit.svg b/frontend/server/public/themes/olympus/images/buttons/other/edit.svg deleted file mode 100644 index a690992f..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/other/edit.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/other/lock-open-solid.svg b/frontend/server/public/themes/olympus/images/buttons/other/lock-open-solid.svg deleted file mode 100644 index 444c234e..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/other/lock-open-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/other/lock-solid.svg b/frontend/server/public/themes/olympus/images/buttons/other/lock-solid.svg deleted file mode 100644 index fe66baea..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/other/lock-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/roe/designated.svg b/frontend/server/public/themes/olympus/images/buttons/roe/designated.svg deleted file mode 100644 index 23107028..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/roe/designated.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/roe/free.svg b/frontend/server/public/themes/olympus/images/buttons/roe/free.svg deleted file mode 100644 index 19fd8b25..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/roe/free.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/roe/hold.svg b/frontend/server/public/themes/olympus/images/buttons/roe/hold.svg deleted file mode 100644 index 9ecb6737..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/roe/hold.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/roe/return.svg b/frontend/server/public/themes/olympus/images/buttons/roe/return.svg deleted file mode 100644 index 6d13f0de..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/roe/return.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/scatter/1.svg b/frontend/server/public/themes/olympus/images/buttons/scatter/1.svg deleted file mode 100644 index 3981c876..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/scatter/1.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/scatter/2.svg b/frontend/server/public/themes/olympus/images/buttons/scatter/2.svg deleted file mode 100644 index 3957af5a..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/scatter/2.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/scatter/3.svg b/frontend/server/public/themes/olympus/images/buttons/scatter/3.svg deleted file mode 100644 index 446228c2..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/scatter/3.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/spawn/aircraft.svg b/frontend/server/public/themes/olympus/images/buttons/spawn/aircraft.svg deleted file mode 100644 index 50b02231..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/spawn/aircraft.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/spawn/explosion.svg b/frontend/server/public/themes/olympus/images/buttons/spawn/explosion.svg deleted file mode 100644 index b3803f61..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/spawn/explosion.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/spawn/groundunit.svg b/frontend/server/public/themes/olympus/images/buttons/spawn/groundunit.svg deleted file mode 100644 index 28c22079..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/spawn/groundunit.svg +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/spawn/helicopter.svg b/frontend/server/public/themes/olympus/images/buttons/spawn/helicopter.svg deleted file mode 100644 index 585c9678..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/spawn/helicopter.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/spawn/more.svg b/frontend/server/public/themes/olympus/images/buttons/spawn/more.svg deleted file mode 100644 index abeb13eb..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/spawn/more.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/spawn/navyunit.svg b/frontend/server/public/themes/olympus/images/buttons/spawn/navyunit.svg deleted file mode 100644 index b5d83ba2..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/spawn/navyunit.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/spawn/sam.svg b/frontend/server/public/themes/olympus/images/buttons/spawn/sam.svg deleted file mode 100644 index bf91d6f5..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/spawn/sam.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/spawn/smoke.svg b/frontend/server/public/themes/olympus/images/buttons/spawn/smoke.svg deleted file mode 100644 index b4ba491d..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/spawn/smoke.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/threat/evade.svg b/frontend/server/public/themes/olympus/images/buttons/threat/evade.svg deleted file mode 100644 index fb5dc6ba..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/threat/evade.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/threat/manoeuvre.svg b/frontend/server/public/themes/olympus/images/buttons/threat/manoeuvre.svg deleted file mode 100644 index 81fc8534..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/threat/manoeuvre.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/threat/none.svg b/frontend/server/public/themes/olympus/images/buttons/threat/none.svg deleted file mode 100644 index ebe6b795..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/threat/none.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/threat/passive.svg b/frontend/server/public/themes/olympus/images/buttons/threat/passive.svg deleted file mode 100644 index c7a9d0d0..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/threat/passive.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/tools/draw-polygon-solid.svg b/frontend/server/public/themes/olympus/images/buttons/tools/draw-polygon-solid.svg deleted file mode 100644 index f755fed5..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/tools/draw-polygon-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/tools/ground.svg b/frontend/server/public/themes/olympus/images/buttons/tools/ground.svg deleted file mode 100644 index 34ab621c..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/tools/ground.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/tools/pen-solid.svg b/frontend/server/public/themes/olympus/images/buttons/tools/pen-solid.svg deleted file mode 100644 index a690992f..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/tools/pen-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/tools/tower.svg b/frontend/server/public/themes/olympus/images/buttons/tools/tower.svg deleted file mode 100644 index a5134f93..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/tools/tower.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/airbase.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/airbase.svg deleted file mode 100644 index af684050..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/airbase.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/aircraft.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/aircraft.svg deleted file mode 100644 index 593e7643..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/aircraft.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/circle-dot.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/circle-dot.svg deleted file mode 100644 index f98ede3a..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/circle-dot.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/dcs.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/dcs.svg deleted file mode 100644 index bb7bd479..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/dcs.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - image/svg+xml - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/flag.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/flag.svg deleted file mode 100644 index a1efc147..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/flag.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/groundunit-sam.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/groundunit-sam.svg deleted file mode 100644 index 3198968b..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/groundunit-sam.svg +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/groundunit.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/groundunit.svg deleted file mode 100644 index 4070e4ce..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/groundunit.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/helicopter.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/helicopter.svg deleted file mode 100644 index c333457b..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/helicopter.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/human.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/human.svg deleted file mode 100644 index 51278e9e..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/human.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/navyunit.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/navyunit.svg deleted file mode 100644 index 87f20c12..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/navyunit.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/olympus.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/olympus.svg deleted file mode 100644 index c13a36a3..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/olympus.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/buttons/visibility/shield.svg b/frontend/server/public/themes/olympus/images/buttons/visibility/shield.svg deleted file mode 100644 index d8ff87ec..00000000 --- a/frontend/server/public/themes/olympus/images/buttons/visibility/shield.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/altitude.svg b/frontend/server/public/themes/olympus/images/icons/altitude.svg deleted file mode 100644 index bb87c249..00000000 --- a/frontend/server/public/themes/olympus/images/icons/altitude.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/arrow-pointer-solid.svg b/frontend/server/public/themes/olympus/images/icons/arrow-pointer-solid.svg deleted file mode 100644 index 4499db1b..00000000 --- a/frontend/server/public/themes/olympus/images/icons/arrow-pointer-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/arrows-to-eye-solid.svg b/frontend/server/public/themes/olympus/images/icons/arrows-to-eye-solid.svg deleted file mode 100644 index 11815283..00000000 --- a/frontend/server/public/themes/olympus/images/icons/arrows-to-eye-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/bomb-solid.svg b/frontend/server/public/themes/olympus/images/icons/bomb-solid.svg deleted file mode 100644 index 79718751..00000000 --- a/frontend/server/public/themes/olympus/images/icons/bomb-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/burst-solid.svg b/frontend/server/public/themes/olympus/images/icons/burst-solid.svg deleted file mode 100644 index 81719666..00000000 --- a/frontend/server/public/themes/olympus/images/icons/burst-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/camera.svg b/frontend/server/public/themes/olympus/images/icons/camera.svg deleted file mode 100644 index 71f65572..00000000 --- a/frontend/server/public/themes/olympus/images/icons/camera.svg +++ /dev/null @@ -1,34 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/icons/check_square.svg b/frontend/server/public/themes/olympus/images/icons/check_square.svg deleted file mode 100644 index 85359d47..00000000 --- a/frontend/server/public/themes/olympus/images/icons/check_square.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/frontend/server/public/themes/olympus/images/icons/chevron-down-warning.svg b/frontend/server/public/themes/olympus/images/icons/chevron-down-warning.svg deleted file mode 100644 index b919934f..00000000 --- a/frontend/server/public/themes/olympus/images/icons/chevron-down-warning.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/frontend/server/public/themes/olympus/images/icons/chevron-down.svg b/frontend/server/public/themes/olympus/images/icons/chevron-down.svg deleted file mode 100644 index 800f4fe2..00000000 --- a/frontend/server/public/themes/olympus/images/icons/chevron-down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/frontend/server/public/themes/olympus/images/icons/circle-info-solid.svg b/frontend/server/public/themes/olympus/images/icons/circle-info-solid.svg deleted file mode 100644 index 652acbee..00000000 --- a/frontend/server/public/themes/olympus/images/icons/circle-info-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/circle-question-regular.svg b/frontend/server/public/themes/olympus/images/icons/circle-question-regular.svg deleted file mode 100644 index 588be4cf..00000000 --- a/frontend/server/public/themes/olympus/images/icons/circle-question-regular.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/climb.svg b/frontend/server/public/themes/olympus/images/icons/climb.svg deleted file mode 100644 index 85299ba7..00000000 --- a/frontend/server/public/themes/olympus/images/icons/climb.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/crosshairs-solid.svg b/frontend/server/public/themes/olympus/images/icons/crosshairs-solid.svg deleted file mode 100644 index c2a60f84..00000000 --- a/frontend/server/public/themes/olympus/images/icons/crosshairs-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/descent.svg b/frontend/server/public/themes/olympus/images/icons/descent.svg deleted file mode 100644 index 67df6b2d..00000000 --- a/frontend/server/public/themes/olympus/images/icons/descent.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/diamond.svg b/frontend/server/public/themes/olympus/images/icons/diamond.svg deleted file mode 100644 index eef3c6f2..00000000 --- a/frontend/server/public/themes/olympus/images/icons/diamond.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/echelon-lh.svg b/frontend/server/public/themes/olympus/images/icons/echelon-lh.svg deleted file mode 100644 index 9359bfba..00000000 --- a/frontend/server/public/themes/olympus/images/icons/echelon-lh.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/echelon-rh.svg b/frontend/server/public/themes/olympus/images/icons/echelon-rh.svg deleted file mode 100644 index 2da057de..00000000 --- a/frontend/server/public/themes/olympus/images/icons/echelon-rh.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/echelon.svg b/frontend/server/public/themes/olympus/images/icons/echelon.svg deleted file mode 100644 index 21bb81bb..00000000 --- a/frontend/server/public/themes/olympus/images/icons/echelon.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/explosion-solid.svg b/frontend/server/public/themes/olympus/images/icons/explosion-solid.svg deleted file mode 100644 index b6383531..00000000 --- a/frontend/server/public/themes/olympus/images/icons/explosion-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/eye-solid.svg b/frontend/server/public/themes/olympus/images/icons/eye-solid.svg deleted file mode 100644 index 63bc71ba..00000000 --- a/frontend/server/public/themes/olympus/images/icons/eye-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/fire-solid.svg b/frontend/server/public/themes/olympus/images/icons/fire-solid.svg deleted file mode 100644 index c227821a..00000000 --- a/frontend/server/public/themes/olympus/images/icons/fire-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/follow.svg b/frontend/server/public/themes/olympus/images/icons/follow.svg deleted file mode 100644 index b3296b24..00000000 --- a/frontend/server/public/themes/olympus/images/icons/follow.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/formation-end.svg b/frontend/server/public/themes/olympus/images/icons/formation-end.svg deleted file mode 100644 index f8235368..00000000 --- a/frontend/server/public/themes/olympus/images/icons/formation-end.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/formation-middle.svg b/frontend/server/public/themes/olympus/images/icons/formation-middle.svg deleted file mode 100644 index edf78e19..00000000 --- a/frontend/server/public/themes/olympus/images/icons/formation-middle.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/front.svg b/frontend/server/public/themes/olympus/images/icons/front.svg deleted file mode 100644 index cfb0f29a..00000000 --- a/frontend/server/public/themes/olympus/images/icons/front.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/fuel.svg b/frontend/server/public/themes/olympus/images/icons/fuel.svg deleted file mode 100644 index b3772d72..00000000 --- a/frontend/server/public/themes/olympus/images/icons/fuel.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/gamepad-solid.svg b/frontend/server/public/themes/olympus/images/icons/gamepad-solid.svg deleted file mode 100644 index 2fc91782..00000000 --- a/frontend/server/public/themes/olympus/images/icons/gamepad-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/gears-solid.svg b/frontend/server/public/themes/olympus/images/icons/gears-solid.svg deleted file mode 100644 index 35a083dd..00000000 --- a/frontend/server/public/themes/olympus/images/icons/gears-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/grip-lines-solid.svg b/frontend/server/public/themes/olympus/images/icons/grip-lines-solid.svg deleted file mode 100644 index 85af24c3..00000000 --- a/frontend/server/public/themes/olympus/images/icons/grip-lines-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/group-ground.svg b/frontend/server/public/themes/olympus/images/icons/group-ground.svg deleted file mode 100644 index d47d8bc6..00000000 --- a/frontend/server/public/themes/olympus/images/icons/group-ground.svg +++ /dev/null @@ -1,76 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/icons/group-navy.svg b/frontend/server/public/themes/olympus/images/icons/group-navy.svg deleted file mode 100644 index c2457a0f..00000000 --- a/frontend/server/public/themes/olympus/images/icons/group-navy.svg +++ /dev/null @@ -1,64 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/icons/hand-solid.svg b/frontend/server/public/themes/olympus/images/icons/hand-solid.svg deleted file mode 100644 index 4a6ba3aa..00000000 --- a/frontend/server/public/themes/olympus/images/icons/hand-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/heading.svg b/frontend/server/public/themes/olympus/images/icons/heading.svg deleted file mode 100644 index cc2eb09b..00000000 --- a/frontend/server/public/themes/olympus/images/icons/heading.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/health.svg b/frontend/server/public/themes/olympus/images/icons/health.svg deleted file mode 100644 index 850b69a3..00000000 --- a/frontend/server/public/themes/olympus/images/icons/health.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/jet-fighter-up-solid.svg b/frontend/server/public/themes/olympus/images/icons/jet-fighter-up-solid.svg deleted file mode 100644 index 9df104e9..00000000 --- a/frontend/server/public/themes/olympus/images/icons/jet-fighter-up-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/keyboard-solid.svg b/frontend/server/public/themes/olympus/images/icons/keyboard-solid.svg deleted file mode 100644 index 8838d567..00000000 --- a/frontend/server/public/themes/olympus/images/icons/keyboard-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/land-at-point.svg b/frontend/server/public/themes/olympus/images/icons/land-at-point.svg deleted file mode 100644 index 8ed58233..00000000 --- a/frontend/server/public/themes/olympus/images/icons/land-at-point.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/line-abreast.svg b/frontend/server/public/themes/olympus/images/icons/line-abreast.svg deleted file mode 100644 index c146a848..00000000 --- a/frontend/server/public/themes/olympus/images/icons/line-abreast.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/map-source.svg b/frontend/server/public/themes/olympus/images/icons/map-source.svg deleted file mode 100644 index 977057cc..00000000 --- a/frontend/server/public/themes/olympus/images/icons/map-source.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/miss-blue.svg b/frontend/server/public/themes/olympus/images/icons/miss-blue.svg deleted file mode 100644 index 4f6ee87f..00000000 --- a/frontend/server/public/themes/olympus/images/icons/miss-blue.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/miss-red.svg b/frontend/server/public/themes/olympus/images/icons/miss-red.svg deleted file mode 100644 index 8bb47e46..00000000 --- a/frontend/server/public/themes/olympus/images/icons/miss-red.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/miss.svg b/frontend/server/public/themes/olympus/images/icons/miss.svg deleted file mode 100644 index 0a88637e..00000000 --- a/frontend/server/public/themes/olympus/images/icons/miss.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/napalm.svg b/frontend/server/public/themes/olympus/images/icons/napalm.svg deleted file mode 100644 index b82d15a8..00000000 --- a/frontend/server/public/themes/olympus/images/icons/napalm.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/person-military-pointing-solid.svg b/frontend/server/public/themes/olympus/images/icons/person-military-pointing-solid.svg deleted file mode 100644 index 919b3a6f..00000000 --- a/frontend/server/public/themes/olympus/images/icons/person-military-pointing-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/pin.svg b/frontend/server/public/themes/olympus/images/icons/pin.svg deleted file mode 100644 index e42653e9..00000000 --- a/frontend/server/public/themes/olympus/images/icons/pin.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/plane.svg b/frontend/server/public/themes/olympus/images/icons/plane.svg deleted file mode 100644 index b672646e..00000000 --- a/frontend/server/public/themes/olympus/images/icons/plane.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/frontend/server/public/themes/olympus/images/icons/ruler.svg b/frontend/server/public/themes/olympus/images/icons/ruler.svg deleted file mode 100644 index 30ddf813..00000000 --- a/frontend/server/public/themes/olympus/images/icons/ruler.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/scenic-blue.svg b/frontend/server/public/themes/olympus/images/icons/scenic-blue.svg deleted file mode 100644 index c19ddb60..00000000 --- a/frontend/server/public/themes/olympus/images/icons/scenic-blue.svg +++ /dev/null @@ -1,49 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/icons/scenic-red.svg b/frontend/server/public/themes/olympus/images/icons/scenic-red.svg deleted file mode 100644 index 0fe03fd9..00000000 --- a/frontend/server/public/themes/olympus/images/icons/scenic-red.svg +++ /dev/null @@ -1,49 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/icons/scenic.svg b/frontend/server/public/themes/olympus/images/icons/scenic.svg deleted file mode 100644 index 6321f72a..00000000 --- a/frontend/server/public/themes/olympus/images/icons/scenic.svg +++ /dev/null @@ -1,49 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/icons/secondaries.svg b/frontend/server/public/themes/olympus/images/icons/secondaries.svg deleted file mode 100644 index 2863e9a4..00000000 --- a/frontend/server/public/themes/olympus/images/icons/secondaries.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/smog-solid.svg b/frontend/server/public/themes/olympus/images/icons/smog-solid.svg deleted file mode 100644 index f114fe64..00000000 --- a/frontend/server/public/themes/olympus/images/icons/smog-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/speed-decrease.svg b/frontend/server/public/themes/olympus/images/icons/speed-decrease.svg deleted file mode 100644 index 94ba5dcc..00000000 --- a/frontend/server/public/themes/olympus/images/icons/speed-decrease.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/speed-increase.svg b/frontend/server/public/themes/olympus/images/icons/speed-increase.svg deleted file mode 100644 index f6bc0bdc..00000000 --- a/frontend/server/public/themes/olympus/images/icons/speed-increase.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/speed.svg b/frontend/server/public/themes/olympus/images/icons/speed.svg deleted file mode 100644 index 2a3aa3fa..00000000 --- a/frontend/server/public/themes/olympus/images/icons/speed.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/square-check-solid.svg b/frontend/server/public/themes/olympus/images/icons/square-check-solid.svg deleted file mode 100644 index 2bd2823a..00000000 --- a/frontend/server/public/themes/olympus/images/icons/square-check-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/square-regular.svg b/frontend/server/public/themes/olympus/images/icons/square-regular.svg deleted file mode 100644 index f66b39f7..00000000 --- a/frontend/server/public/themes/olympus/images/icons/square-regular.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/sword.svg b/frontend/server/public/themes/olympus/images/icons/sword.svg deleted file mode 100644 index 2d925c03..00000000 --- a/frontend/server/public/themes/olympus/images/icons/sword.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/trail.svg b/frontend/server/public/themes/olympus/images/icons/trail.svg deleted file mode 100644 index fb23fd08..00000000 --- a/frontend/server/public/themes/olympus/images/icons/trail.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/icons/trash-can-regular.svg b/frontend/server/public/themes/olympus/images/icons/trash-can-regular.svg deleted file mode 100644 index 011e1a5e..00000000 --- a/frontend/server/public/themes/olympus/images/icons/trash-can-regular.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/triangle-exclamation-solid.svg b/frontend/server/public/themes/olympus/images/icons/triangle-exclamation-solid.svg deleted file mode 100644 index bb69b55f..00000000 --- a/frontend/server/public/themes/olympus/images/icons/triangle-exclamation-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/server/public/themes/olympus/images/icons/white-phosphorous.svg b/frontend/server/public/themes/olympus/images/icons/white-phosphorous.svg deleted file mode 100644 index 95627c72..00000000 --- a/frontend/server/public/themes/olympus/images/icons/white-phosphorous.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/markers/airbase.svg b/frontend/server/public/themes/olympus/images/markers/airbase.svg deleted file mode 100644 index d1fcf84c..00000000 --- a/frontend/server/public/themes/olympus/images/markers/airbase.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/markers/bullseye.svg b/frontend/server/public/themes/olympus/images/markers/bullseye.svg deleted file mode 100644 index 92d0b60d..00000000 --- a/frontend/server/public/themes/olympus/images/markers/bullseye.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/markers/draw.svg b/frontend/server/public/themes/olympus/images/markers/draw.svg deleted file mode 100644 index 7e1d8f98..00000000 --- a/frontend/server/public/themes/olympus/images/markers/draw.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/markers/marker-icon.png b/frontend/server/public/themes/olympus/images/markers/marker-icon.png deleted file mode 100644 index 950edf24..00000000 Binary files a/frontend/server/public/themes/olympus/images/markers/marker-icon.png and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/markers/marker-shadow.png b/frontend/server/public/themes/olympus/images/markers/marker-shadow.png deleted file mode 100644 index 9fd29795..00000000 Binary files a/frontend/server/public/themes/olympus/images/markers/marker-shadow.png and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/markers/move.svg b/frontend/server/public/themes/olympus/images/markers/move.svg deleted file mode 100644 index 4af0aa8e..00000000 --- a/frontend/server/public/themes/olympus/images/markers/move.svg +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/markers/smoke.svg b/frontend/server/public/themes/olympus/images/markers/smoke.svg deleted file mode 100644 index 4c058371..00000000 --- a/frontend/server/public/themes/olympus/images/markers/smoke.svg +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/markers/target - Copy.svg b/frontend/server/public/themes/olympus/images/markers/target - Copy.svg deleted file mode 100644 index 7afbf612..00000000 --- a/frontend/server/public/themes/olympus/images/markers/target - Copy.svg +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/markers/target.svg b/frontend/server/public/themes/olympus/images/markers/target.svg deleted file mode 100644 index 7afbf612..00000000 --- a/frontend/server/public/themes/olympus/images/markers/target.svg +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/parrot/parrot.png b/frontend/server/public/themes/olympus/images/parrot/parrot.png deleted file mode 100644 index a61beac3..00000000 Binary files a/frontend/server/public/themes/olympus/images/parrot/parrot.png and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/1.jpg b/frontend/server/public/themes/olympus/images/splash/1.jpg deleted file mode 100644 index 93121bcb..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/1.jpg and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/1.png b/frontend/server/public/themes/olympus/images/splash/1.png deleted file mode 100644 index 1ae92cce..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/1.png and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/2.jpg b/frontend/server/public/themes/olympus/images/splash/2.jpg deleted file mode 100644 index e211ee22..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/2.jpg and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/3.jpg b/frontend/server/public/themes/olympus/images/splash/3.jpg deleted file mode 100644 index 890f186b..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/3.jpg and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/4.jpg b/frontend/server/public/themes/olympus/images/splash/4.jpg deleted file mode 100644 index d8775404..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/4.jpg and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/5.jpg b/frontend/server/public/themes/olympus/images/splash/5.jpg deleted file mode 100644 index a4e0c084..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/5.jpg and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/6.jpg b/frontend/server/public/themes/olympus/images/splash/6.jpg deleted file mode 100644 index 5b5e3498..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/6.jpg and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/7.jpg b/frontend/server/public/themes/olympus/images/splash/7.jpg deleted file mode 100644 index bee73fda..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/7.jpg and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/splash/8.jpg b/frontend/server/public/themes/olympus/images/splash/8.jpg deleted file mode 100644 index eafdf2a1..00000000 Binary files a/frontend/server/public/themes/olympus/images/splash/8.jpg and /dev/null differ diff --git a/frontend/server/public/themes/olympus/images/states/attack.svg b/frontend/server/public/themes/olympus/images/states/attack.svg deleted file mode 100644 index 84cd084f..00000000 --- a/frontend/server/public/themes/olympus/images/states/attack.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/awacs.svg b/frontend/server/public/themes/olympus/images/states/awacs.svg deleted file mode 100644 index c7d581ec..00000000 --- a/frontend/server/public/themes/olympus/images/states/awacs.svg +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/dcs.svg b/frontend/server/public/themes/olympus/images/states/dcs.svg deleted file mode 100644 index 1652fc61..00000000 --- a/frontend/server/public/themes/olympus/images/states/dcs.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/follow.svg b/frontend/server/public/themes/olympus/images/states/follow.svg deleted file mode 100644 index 92dadcac..00000000 --- a/frontend/server/public/themes/olympus/images/states/follow.svg +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/human.svg b/frontend/server/public/themes/olympus/images/states/human.svg deleted file mode 100644 index dd64fcc8..00000000 --- a/frontend/server/public/themes/olympus/images/states/human.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/idle.svg b/frontend/server/public/themes/olympus/images/states/idle.svg deleted file mode 100644 index 757ee216..00000000 --- a/frontend/server/public/themes/olympus/images/states/idle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/themes/olympus/images/states/land-at-point.svg b/frontend/server/public/themes/olympus/images/states/land-at-point.svg deleted file mode 100644 index 23bec41f..00000000 --- a/frontend/server/public/themes/olympus/images/states/land-at-point.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/miss-on-purpose.svg b/frontend/server/public/themes/olympus/images/states/miss-on-purpose.svg deleted file mode 100644 index 1fe1c274..00000000 --- a/frontend/server/public/themes/olympus/images/states/miss-on-purpose.svg +++ /dev/null @@ -1,53 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/states/no-task.svg b/frontend/server/public/themes/olympus/images/states/no-task.svg deleted file mode 100644 index 2e1e906d..00000000 --- a/frontend/server/public/themes/olympus/images/states/no-task.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/off.svg b/frontend/server/public/themes/olympus/images/states/off.svg deleted file mode 100644 index d4078418..00000000 --- a/frontend/server/public/themes/olympus/images/states/off.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/refuel.svg b/frontend/server/public/themes/olympus/images/states/refuel.svg deleted file mode 100644 index 422193f1..00000000 --- a/frontend/server/public/themes/olympus/images/states/refuel.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/states/rtb.svg b/frontend/server/public/themes/olympus/images/states/rtb.svg deleted file mode 100644 index f40e2627..00000000 --- a/frontend/server/public/themes/olympus/images/states/rtb.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/themes/olympus/images/states/scenic-aaa.svg b/frontend/server/public/themes/olympus/images/states/scenic-aaa.svg deleted file mode 100644 index 53fbbfa4..00000000 --- a/frontend/server/public/themes/olympus/images/states/scenic-aaa.svg +++ /dev/null @@ -1,77 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/states/simulate-fire-fight.svg b/frontend/server/public/themes/olympus/images/states/simulate-fire-fight.svg deleted file mode 100644 index 113730be..00000000 --- a/frontend/server/public/themes/olympus/images/states/simulate-fire-fight.svg +++ /dev/null @@ -1,45 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/states/tanker.svg b/frontend/server/public/themes/olympus/images/states/tanker.svg deleted file mode 100644 index 9d4a9fc1..00000000 --- a/frontend/server/public/themes/olympus/images/states/tanker.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/aircraft.svg b/frontend/server/public/themes/olympus/images/units/aircraft.svg deleted file mode 100644 index 104f9bcf..00000000 --- a/frontend/server/public/themes/olympus/images/units/aircraft.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/themes/olympus/images/units/bomb.svg b/frontend/server/public/themes/olympus/images/units/bomb.svg deleted file mode 100644 index a38a168e..00000000 --- a/frontend/server/public/themes/olympus/images/units/bomb.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/frontend/server/public/themes/olympus/images/units/death.svg b/frontend/server/public/themes/olympus/images/units/death.svg deleted file mode 100644 index c68ab1d1..00000000 --- a/frontend/server/public/themes/olympus/images/units/death.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-aaa.svg b/frontend/server/public/themes/olympus/images/units/groundunit-aaa.svg deleted file mode 100644 index 1174f3bb..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-aaa.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - A - - A - A - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-apc.svg b/frontend/server/public/themes/olympus/images/units/groundunit-apc.svg deleted file mode 100644 index bb70f4be..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-apc.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-artillery.svg b/frontend/server/public/themes/olympus/images/units/groundunit-artillery.svg deleted file mode 100644 index 66fb468d..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-artillery.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-ewr.svg b/frontend/server/public/themes/olympus/images/units/groundunit-ewr.svg deleted file mode 100644 index 2105f061..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-ewr.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-infantry.svg b/frontend/server/public/themes/olympus/images/units/groundunit-infantry.svg deleted file mode 100644 index 459b7de0..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-infantry.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-sam-launcher.svg b/frontend/server/public/themes/olympus/images/units/groundunit-sam-launcher.svg deleted file mode 100644 index 1732a5b0..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-sam-launcher.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-sam-radar.svg b/frontend/server/public/themes/olympus/images/units/groundunit-sam-radar.svg deleted file mode 100644 index 0472f81e..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-sam-radar.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-sam.svg b/frontend/server/public/themes/olympus/images/units/groundunit-sam.svg deleted file mode 100644 index ffc18a40..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-sam.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-tactical.svg b/frontend/server/public/themes/olympus/images/units/groundunit-tactical.svg deleted file mode 100644 index 95292f22..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-tactical.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-tank.svg b/frontend/server/public/themes/olympus/images/units/groundunit-tank.svg deleted file mode 100644 index 48ae29d1..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-tank.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit-truck.svg b/frontend/server/public/themes/olympus/images/units/groundunit-truck.svg deleted file mode 100644 index 9152ad3c..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit-truck.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/groundunit.svg b/frontend/server/public/themes/olympus/images/units/groundunit.svg deleted file mode 100644 index 6b6dcc7c..00000000 --- a/frontend/server/public/themes/olympus/images/units/groundunit.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/helicopter.svg b/frontend/server/public/themes/olympus/images/units/helicopter.svg deleted file mode 100644 index f54cc278..00000000 --- a/frontend/server/public/themes/olympus/images/units/helicopter.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - diff --git a/frontend/server/public/themes/olympus/images/units/missile.svg b/frontend/server/public/themes/olympus/images/units/missile.svg deleted file mode 100644 index d7711d7c..00000000 --- a/frontend/server/public/themes/olympus/images/units/missile.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/navyunit.svg b/frontend/server/public/themes/olympus/images/units/navyunit.svg deleted file mode 100644 index b3b2ed1b..00000000 --- a/frontend/server/public/themes/olympus/images/units/navyunit.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/themes/olympus/images/units/static.svg b/frontend/server/public/themes/olympus/images/units/static.svg deleted file mode 100644 index ead61396..00000000 --- a/frontend/server/public/themes/olympus/images/units/static.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/frontend/server/public/themes/olympus/theme.css b/frontend/server/public/themes/olympus/theme.css deleted file mode 100644 index f888f8dd..00000000 --- a/frontend/server/public/themes/olympus/theme.css +++ /dev/null @@ -1,99 +0,0 @@ -:root { - /** Colours **/ - - /*** Coalition: neutral ***/ - --primary-neutral: #949ba7; - --secondary-neutral-outline: #111111; - --secondary-neutral-text: #111111; - --unit-background-neutral: #CFD9E8; - - /*** Coalition: blue ***/ - --primary-blue: #247be2; - --secondary-blue-outline: #082e44; - --secondary-blue-text: #017DC1; - --unit-background-blue: #3BB9FF; - - /*** Coalition: red ***/ - --primary-red: #ff5858; - --secondary-red-outline: #262222; - --secondary-red-text: #D42121; - --unit-background-red: #FF5858; - - /*** UI Colours **/ - --accent-amber: #ffd828; - --accent-green: #8bff63; - --accent-light-blue: #5ca7ff; - --accent-dark-blue: #017DC1; - --transparent-accent-light-blue: rgba(92, 167, 255, .33); - --accent-light-red: #F5B6B6; - - --background-grey: #3d4651; - --background-dark-grey: #35393d; - --background-slate-blue: #363c43; - --background-offwhite: #f2f2f3; - --background-steel: #202831; - - --secondary-dark-steel: #181e25; - --secondary-gunmetal-grey: #2f2f2f; - --secondary-lighter-grey: #949ba7; - --secondary-light-grey: #797e83; - --secondary-semitransparent-white: #FFFFFFAA; - --secondary-transparent-white: #FFFFFF30; - --secondary-yellow: #ffd46893; - - --background-hover: #f2f2f333; - - --nav-text: #ECECEC; - - --ol-select-secondary: #545F6C; - --ol-switch-off:#686868; - --ol-switch-undefined:#383838; - - --ol-dialog-disabled-text-color: #ffffff20; - - /*** General border radii **/ - --border-radius-xs: 2px; - --border-radius-sm: 5px; - --border-radius-md: 10px; - --border-radius-lg: 15px; - - /*** Fonts **/ - --font-weight-bolder: 600; - - /*** Unit marker settings ***/ - /*** All markers **/ - --unit-border-radius: var(--border-radius-xs); - --unit-font-size: 14px; - --unit-font-weight: bolder; - --unit-label-border-width: 2px; - --unit-spotlight-fill: var(--secondary-yellow); - --unit-spotlight-radius: 26px; - --unit-stroke-width: 3px; - --unit-height: 50px; - --unit-width: 50px; - - --unit-health-border-width: 2px; - --unit-health-height: 6px; - --unit-health-width: 36px; - --unit-health-x: 0px; - --unit-health-y: 26px; - - /*** Air units ***/ - --unit-ammo-gap: calc(2px + var(--unit-stroke-width)); - --unit-ammo-border-radius: 50%; - --unit-ammo-border-width: 2px; - --unit-ammo-radius: 2px; - --unit-ammo-spacing: 2px; - --unit-ammo-x: 0px; - --unit-ammo-y: 30px; - --unit-fuel-border-width: 2px; - --unit-fuel-height: 6px; - --unit-fuel-width: 36px; - --unit-fuel-x: 0px; - --unit-fuel-y: 22px; - --unit-vvi-width: 4px; -} - -* { - font-weight:600; -} diff --git a/frontend/server/public/themes/parrot/images/parrot.svg b/frontend/server/public/themes/parrot/images/parrot.svg deleted file mode 100644 index 54ff6895..00000000 --- a/frontend/server/public/themes/parrot/images/parrot.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/themes/parrot/theme.css b/frontend/server/public/themes/parrot/theme.css deleted file mode 100644 index 7b127637..00000000 --- a/frontend/server/public/themes/parrot/theme.css +++ /dev/null @@ -1,109 +0,0 @@ -:root { - /** Colours **/ - - /*** Coalition: neutral ***/ - --primary-neutral: #949ba7; - --secondary-neutral-outline: #111111; - --secondary-neutral-text: #111111; - --unit-background-neutral: #CFD9E8; - - /*** Coalition: blue ***/ - --primary-blue: #247be2; - --secondary-blue-outline: #082e44; - --secondary-blue-text: #017DC1; - --unit-background-blue: #3BB9FF; - - /*** Coalition: red ***/ - --primary-red: #ff5858; - --secondary-red-outline: #262222; - --secondary-red-text: #D42121; - --unit-background-red: #FF5858; - - /*** UI Colours **/ - --accent-amber: #ffd828; - --accent-green: #8bff63; - --accent-light-blue: #5ca7ff; - --accent-dark-blue: #017DC1; - --transparent-accent-light-blue: rgba(92, 167, 255, .33); - --accent-light-red: #F5B6B6; - - --background-grey: #3d4651; - --background-slate-blue: #363c43; - --background-offwhite: #f2f2f3; - --background-steel: #202831; - - --secondary-dark-steel: #181e25; - --secondary-gunmetal-grey: #2f2f2f; - --secondary-lighter-grey: #949ba7; - --secondary-light-grey: #797e83; - --secondary-semitransparent-white: #FFFFFFAA; - --secondary-transparent-white: #FFFFFF30; - --secondary-yellow: #ffd46893; - - --background-hover: #f2f2f333; - - --nav-text: #ECECEC; - - --ol-select-secondary: #545F6C; - --ol-switch-off:#686868; - --ol-switch-undefined:#383838; - - /*** General border radii **/ - --border-radius-xs: 2px; - --border-radius-sm: 5px; - --border-radius-md: 10px; - --border-radius-lg: 15px; - - /*** Fonts **/ - --font-weight-bolder: 600; - - /*** Unit marker settings ***/ - /*** All markers **/ - --unit-border-radius: var(--border-radius-xs); - --unit-font-size: 14px; - --unit-font-weight: bolder; - --unit-label-border-width: 2px; - --unit-spotlight-fill: var(--secondary-yellow); - --unit-spotlight-radius: 26px; - --unit-stroke-width: 3px; - --unit-height: 50px; - --unit-width: 50px; - - --unit-health-border-width: 2px; - --unit-health-height: 6px; - --unit-health-width: 36px; - --unit-health-x: 0px; - --unit-health-y: 26px; - - /*** Air units ***/ - --unit-ammo-gap: calc(2px + var(--unit-stroke-width)); - --unit-ammo-border-radius: 50%; - --unit-ammo-border-width: 2px; - --unit-ammo-radius: 2px; - --unit-ammo-spacing: 2px; - --unit-ammo-x: 0px; - --unit-ammo-y: 30px; - --unit-fuel-border-width: 2px; - --unit-fuel-height: 6px; - --unit-fuel-width: 36px; - --unit-fuel-x: 0px; - --unit-fuel-y: 22px; - --unit-vvi-width: 4px; -} - -* { - font-weight:600; -} - -svg { - animation: spin linear infinite 1s; -} - -@keyframes spin { - from { - transform:rotate(0deg); - } - to { - transform:rotate(360deg); - } -} \ No newline at end of file diff --git a/frontend/server/routes/api/airbases.js b/frontend/server/routes/api/airbases.js deleted file mode 100644 index f5144f67..00000000 --- a/frontend/server/routes/api/airbases.js +++ /dev/null @@ -1,74 +0,0 @@ -var express = require('express'); -var app = express(); - -var fs = require('fs'); - -const bodyParser = require('body-parser'); -app.use(bodyParser.urlencoded({ extended: false})); -app.use(bodyParser.json()); - -const allowedTheatres = [ - "caucasus", - "falklands", - "marianas", - "nevada", - "normandy", - "persiangulf", - "sinaimap", - "syria", - "thechannel", - "kola" -]; - -function getAirbasesData( theatreName ) { - if ( !isValidTheatre( theatreName ) ) { - return false; - } - - return JSON.parse( fs.readFileSync( `public/databases/airbases/${theatreName}.json` ) ).airfields -} - -function isValidTheatre( theatre ) { - return ( allowedTheatres.indexOf( theatre ) > -1 ) -} - -function sendInvalidTheatre( res ) { - res.status( 400 ).send( "Missing/invalid theatre name; must be one of:\n\t" + allowedTheatres.join( "\n\t" ) ); -} - -/**************************************************************************************************************/ -// Endpoints -/**************************************************************************************************************/ -app.get( "/", ( req, res ) => { - sendInvalidTheatre( res ); -}); - -app.get( "/:theatreName/:airbaseName", ( req, res ) => { - const airbases = getAirbasesData( req.params.theatreName ); - if ( !airbases ) { - sendInvalidTheatre( res ); - return; - } - - const airbaseName = req.params.airbaseName; - if ( !airbases.hasOwnProperty( airbaseName ) ) { - res.status( 404 ).send( `Unknown airbase name "${airbaseName}". Available options are:\n\t` + Object.keys( airbases ).join( "\n\t" ) ); - } else { - res.status( 200 ).json( airbases[ airbaseName ] ); - } -}); - - -app.get( "/:theatreName", ( req, res ) => { - const theatreName = req.params.theatreName.toLowerCase().replace( /\s*/g, "" ); - const airbases = getAirbasesData( theatreName ); - - if ( !airbases ) { - sendInvalidTheatre( res ); - return; - } - - res.status( 200 ).json( airbases ); -}); - -module.exports = app; \ No newline at end of file diff --git a/frontend/server/routes/api/atc.js b/frontend/server/routes/api/atc.js deleted file mode 100644 index b0896b15..00000000 --- a/frontend/server/routes/api/atc.js +++ /dev/null @@ -1,266 +0,0 @@ -var express = require('express'); -var app = express(); - -const bodyParser = require('body-parser'); -app.use(bodyParser.urlencoded({ extended: false })); -app.use(bodyParser.json()); - -function uuidv4() { - return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { - var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); - return v.toString(16); - }); -} -function Flight(name, boardId, unitId) { - this.assignedAltitude = 0; - this.assignedSpeed = 0; - this.id = uuidv4(); - this.boardId = boardId; - this.name = name; - this.status = "unknown"; - this.takeoffTime = -1; - this.unitId = parseInt(unitId); -} - -Flight.prototype.getData = function () { - return { - "assignedAltitude": this.assignedAltitude, - "assignedSpeed": this.assignedSpeed, - "id": this.id, - "boardId": this.boardId, - "name": this.name, - "status": this.status, - "takeoffTime": this.takeoffTime, - "unitId": this.unitId - }; -} - -Flight.prototype.setAssignedAltitude = function (assignedAltitude) { - - if (isNaN(assignedAltitude)) { - return "Altitude must be a number" - } - - this.assignedAltitude = parseInt(assignedAltitude); - - return true; - -} - -Flight.prototype.setAssignedSpeed = function (assignedSpeed) { - - if (isNaN(assignedSpeed)) { - return "Speed must be a number" - } - - this.assignedSpeed = parseInt(assignedSpeed); - - return true; - -} - -Flight.prototype.setOrder = function (order) { - - this.order = order; - - return true; - -} - -Flight.prototype.setStatus = function (status) { - - if (["unknown", "checkedin", "readytotaxi", "clearedtotaxi", "halted", "terminated"].indexOf(status) < 0) { - return "Invalid status"; - } - - this.status = status; - - return true; - -} - -Flight.prototype.setTakeoffTime = function (takeoffTime) { - - if (takeoffTime === "" || takeoffTime === -1) { - this.takeoffTime = -1; - } - - if (isNaN(takeoffTime)) { - return "Invalid takeoff time" - } - - this.takeoffTime = parseInt(takeoffTime); - - return true; - -} - -function ATCDataHandler(data) { - this.data = data; -} - -ATCDataHandler.prototype.addFlight = function (flight) { - - if (flight instanceof Flight === false) { - throw new Error("Given flight is not an instance of Flight"); - } - - this.data.flights[flight.id] = flight; - -} - -ATCDataHandler.prototype.deleteFlight = function (flightId) { - delete this.data.flights[flightId]; -} - -ATCDataHandler.prototype.getFlight = function (flightId) { - return this.data.flights[flightId] || false; -} - -ATCDataHandler.prototype.getFlights = function () { - return this.data.flights; -} - -const dataHandler = new ATCDataHandler({ - "flights": {} -}); - -/**************************************************************************************************************/ -// Endpoints -/**************************************************************************************************************/ -app.get("/flight", (req, res) => { - - let flights = Object.values(dataHandler.getFlights()); - - if (flights && req.query.boardId) { - - flights = flights.reduce((acc, flight) => { - if (flight.boardId === req.query.boardId) { - acc[flight.id] = flight; - } - return acc; - }, {}); - - } - - res.json(flights); - -}); - - -app.patch("/flight/:flightId", (req, res) => { - - const flightId = req.params.flightId; - const flight = dataHandler.getFlight(flightId); - - if (!flight) { - res.status(400).send(`Unrecognised flight ID (given: "${req.params.flightId}")`); - } - - if (req.body.hasOwnProperty("assignedAltitude")) { - - const altitudeChangeSuccess = flight.setAssignedAltitude(req.body.assignedAltitude); - - if (altitudeChangeSuccess !== true) { - res.status(400).send(altitudeChangeSuccess); - } - - } - - if (req.body.hasOwnProperty("assignedSpeed")) { - - const speedChangeSuccess = flight.setAssignedSpeed(req.body.assignedSpeed); - - if (speedChangeSuccess !== true) { - res.status(400).send(speedChangeSuccess); - } - - } - - if (req.body.status) { - - const statusChangeSuccess = flight.setStatus(req.body.status); - - if (statusChangeSuccess !== true) { - res.status(400).send(statusChangeSuccess); - } - - } - - if (req.body.hasOwnProperty("takeoffTime")) { - - const takeoffChangeSuccess = flight.setTakeoffTime(req.body.takeoffTime); - - if (takeoffChangeSuccess !== true) { - res.status(400).send(takeoffChangeSuccess); - } - - } - - res.json(flight.getData()); - -}); - - -app.post("/flight/order", (req, res) => { - - if (!req.body.boardId) { - res.status(400).send("Invalid/missing boardId"); - } - - if (!req.body.order || !Array.isArray(req.body.order)) { - res.status(400).send("Invalid/missing boardId"); - } - - req.body.order.forEach((flightId, i) => { - - dataHandler.getFlight(flightId).setOrder(i); - - }); - - res.send(""); - -}); - - -app.post("/flight", (req, res) => { - - if (!req.body.boardId) { - res.status(400).send("Invalid/missing boardId"); - } - - if (!req.body.name) { - res.status(400).send("Invalid/missing flight name"); - } - - if (!req.body.unitId || isNaN(req.body.unitId)) { - res.status(400).send("Invalid/missing unitId"); - } - - const flight = new Flight(req.body.name, req.body.boardId, req.body.unitId); - - dataHandler.addFlight(flight); - - res.status(201); - - res.json(flight.getData()); - -}); - - -app.delete("/flight/:flightId", (req, res) => { - - const flight = dataHandler.getFlight(req.params.flightId); - - if (!flight) { - res.status(400).send(`Unrecognised flight ID (given: "${req.params.flightId}")`); - } - - dataHandler.deleteFlight(req.params.flightId); - - res.status(204).send(""); - -}); - - -module.exports = app; \ No newline at end of file diff --git a/frontend/server/routes/resources.js b/frontend/server/routes/resources.js deleted file mode 100644 index 3e326008..00000000 --- a/frontend/server/routes/resources.js +++ /dev/null @@ -1,32 +0,0 @@ -const express = require('express'); -const fs = require('fs'); -const router = express.Router(); - -module.exports = function (configLocation) { - router.get('/theme/*', function (req, res, next) { - var reqTheme = "olympus"; - - /* Yes, this in an easter egg! :D Feel free to ignore it, or activate the parrot theme to check what it does. Why parrots? The story is a bit long, come to the Discord and ask :D */ - if (reqTheme === "parrot" && !req.url.includes(".css")) - res.redirect('/themes/parrot/images/parrot.svg'); - else - res.redirect(req.url.replace("theme", "themes/" + reqTheme)); - }); - - router.put('/theme/:newTheme', function (req, res, next) { - res.end("Ok"); - }); - - router.get('/config', function (req, res, next) { - if (fs.existsSync(configLocation)) { - let rawdata = fs.readFileSync(configLocation); - config = JSON.parse(rawdata); - res.send(JSON.stringify(config.frontend)); - res.end() - } else { - res.sendStatus(404); - } - }); - - return router; -} diff --git a/frontend/server/routes/uikit.js b/frontend/server/routes/uikit.js deleted file mode 100644 index d9d4cb46..00000000 --- a/frontend/server/routes/uikit.js +++ /dev/null @@ -1,9 +0,0 @@ -var express = require('express'); -var router = express.Router(); - -/* GET home page. */ -router.get('/', function (req, res, next) { - res.render('uikit', { title: 'Express' }); -}); - -module.exports = router; diff --git a/frontend/server/routes/users.js b/frontend/server/routes/users.js deleted file mode 100644 index f85a6edb..00000000 --- a/frontend/server/routes/users.js +++ /dev/null @@ -1,9 +0,0 @@ -var express = require('express'); -var router = express.Router(); - -/* GET users listing. */ -router.get('/', function (req, res, next) { - res.send('respond with a resource'); -}); - -module.exports = router; diff --git a/frontend/server/scripts/demo-server.bat b/frontend/server/scripts/demo-server.bat index 27a06af6..49ef125d 100644 --- a/frontend/server/scripts/demo-server.bat +++ b/frontend/server/scripts/demo-server.bat @@ -1,3 +1,3 @@ call .\scripts\copy.bat call .\scripts\create-mock-dcs.bat -node .\bin\demo --config %1 \ No newline at end of file +nodemon --watch src\demo\**\*.ts --exec node --inspect -r ts-node\register .\src\demo\www.ts -c %1 \ No newline at end of file diff --git a/frontend/server/src/app.ts b/frontend/server/src/app.ts new file mode 100644 index 00000000..8b6c141e --- /dev/null +++ b/frontend/server/src/app.ts @@ -0,0 +1,78 @@ +/* Requires */ +import express = require("express"); +import path = require("path"); +import logger = require("morgan"); +import fs = require("fs"); +import bodyParser = require("body-parser"); +import cors = require("cors"); + +/* Load the proxy middleware plugin */ +import httpProxyMiddleware = require("http-proxy-middleware"); + +module.exports = function (configLocation) { + /* Config specific routers */ + const elevationRouter = require("./routes/api/elevation")(configLocation); + const resourcesRouter = require("./routes/resources")(configLocation); + + /* Default routers */ + const airbasesRouter = require("./routes/api/airbases"); + const databasesRouter = require("./routes/api/databases")( + path.join( + path.dirname(configLocation), + "..", + "Mods", + "Services", + "Olympus", + "databases" + ) + ); + const indexRouter = require("./routes/index"); + const pluginsRouter = require("./routes/plugins"); + + /* Load the config and create the express app */ + let config = {}; + console.log(`Loading configuration file from ${configLocation}`); + if (fs.existsSync(configLocation)) { + let rawdata = fs.readFileSync(configLocation, { encoding: "utf-8" }); + config = JSON.parse(rawdata); + } else { + console.error("Error loading configuration file."); + return undefined; + } + + /* Load the backend address where DCS is listening */ + const backendAddress = config["backend"]["address"]; + + /* Start the express app */ + const app = express(); + + /* Define middleware */ + app.use(logger("dev")); + app.use( + "/olympus", + httpProxyMiddleware.createProxyMiddleware({ + target: `http://${ + backendAddress === "*" ? "localhost" : backendAddress + }:${config["backend"]["port"]}/`, + changeOrigin: true, + }) + ); + app.use( + "/vite", + httpProxyMiddleware.createProxyMiddleware({ target: `http://localhost:8080/`, ws: true }) + ); + app.use(bodyParser.json({ limit: "50mb" })); + app.use(bodyParser.urlencoded({ limit: "50mb", extended: true })); + app.use(express.static(path.join(__dirname, "public"))); + app.use(cors()); + + /* Apply routers */ + app.use("/", indexRouter); + app.use("/api/airbases", airbasesRouter); + app.use("/api/elevation", elevationRouter); + app.use("/api/databases", databasesRouter); + app.use("/plugins", pluginsRouter); + app.use("/resources", resourcesRouter); + + return app; +}; diff --git a/frontend/server/src/demo/demo.ts b/frontend/server/src/demo/demo.ts new file mode 100644 index 00000000..8a1db149 --- /dev/null +++ b/frontend/server/src/demo/demo.ts @@ -0,0 +1,652 @@ +const TEST_UNIT_GENERATION = false; + +module.exports = function (configLocation) { + var basicAuth = require("express-basic-auth"); + var logger = require("morgan"); + var enc = new TextEncoder(); + const path = require("path"); + var cors = require("cors"); + + var express = require("express"); + var fs = require("fs"); + + let rawdata = fs.readFileSync(configLocation); + let config = JSON.parse(rawdata); + + var app = express(); + + app.use(logger("dev")); + app.use(cors()); + + const DEMO_UNIT_DATA = {}; + const DEMO_WEAPONS_DATA = {}; + + class DemoDataGenerator { + startTime: number; + + constructor(app, config) { + app.get("/olympus/units", (req, res) => this.units(req, res)); + app.get("/olympus/weapons", (req, res) => this.weapons(req, res)); + app.get("/olympus/logs", (req, res) => this.logs(req, res)); + app.get("/olympus/bullseyes", (req, res) => this.bullseyes(req, res)); + app.get("/olympus/airbases", (req, res) => this.airbases(req, res)); + app.get("/olympus/mission", (req, res) => this.mission(req, res)); + app.get("/olympus/commands", (req, res) => this.command(req, res)); + app.put("/olympus", (req, res) => this.put(req, res)); + + app.use( + "/olympus", + basicAuth({ + users: { + admin: config["authentication"]["gameMasterPassword"], + blue: config["authentication"]["blueCommanderPassword"], + red: config["authentication"]["redCommanderPassword"], + }, + }) + ); + + let baseData = { + alive: true, + human: false, + controlled: true, + coalition: 2, + country: 0, + unitName: "Cool guy", + groupName: "Cool group 1", + state: 13, + task: "Being cool!", + hasTask: true, + position: { lat: 37, lng: -116, alt: 1000 }, + speed: 200, + horizontalVelocity: 200, + verticalVelicity: 0, + heading: 45, + track: 45, + isActiveTanker: false, + isActiveAWACS: false, + onOff: true, + followRoads: false, + fuel: 50, + desiredSpeed: 300, + desiredSpeedType: 1, + desiredAltitude: 1000, + desiredAltitudeType: 1, + leaderID: 0, + formationOffset: { x: 0, y: 0, z: 0 }, + targetID: 0, + targetPosition: { lat: 0, lng: 0, alt: 0 }, + ROE: 1, + reactionToThreat: 1, + emissionsCountermeasures: 1, + TACAN: { isOn: false, XY: "Y", callsign: "TKR", channel: 40 }, + radio: { frequency: 124000000, callsign: 1, callsignNumber: 1 }, + generalSettings: { + prohibitAA: false, + prohibitAfterburner: false, + prohibitAG: false, + prohibitAirWpn: false, + prohibitJettison: false, + }, + ammo: [], + contacts: [], + activePath: [{ lat: 37.1, lng: -116.1 }], + isLeader: true, + }; + + if (TEST_UNIT_GENERATION) { + const aircraftDatabase = require(path.join( + path.dirname(configLocation), + "../../Mods/Services/Olympus/databases/units/aircraftdatabase.json" + )); + const helicopterDatabase = require(path.join( + path.dirname(configLocation), + "../../Mods/Services/Olympus/databases/units/helicopterdatabase.json" + )); + const groundUnitDatabase = require(path.join( + path.dirname(configLocation), + "../../Mods/Services/Olympus/databases/units/groundunitdatabase.json" + )); + const navyUnitDatabase = require(path.join( + path.dirname(configLocation), + "../../Mods/Services/Olympus/databases/units/navyunitdatabase.json" + )); + + var databases = Object.assign( + {}, + aircraftDatabase, + helicopterDatabase, + groundUnitDatabase, + navyUnitDatabase + ); + var t = Object.keys(databases).length; + var l = Math.floor(Math.sqrt(t)); + let latIdx = 0; + let lngIdx = 0; + let idx = 1; + + for (let name in databases) { + if (databases[name].enabled) { + DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); + DEMO_UNIT_DATA[idx].name = name; + DEMO_UNIT_DATA[idx].groupName = `Group-${idx}`; + DEMO_UNIT_DATA[idx].position.lat += latIdx / 5; + DEMO_UNIT_DATA[idx].position.lng += lngIdx / 5; + DEMO_UNIT_DATA[idx].coalition = Math.floor(Math.random() * 3); + + latIdx += 1; + if (latIdx === l) { + latIdx = 0; + lngIdx += 1; + } + + if (name in aircraftDatabase) + DEMO_UNIT_DATA[idx].category = "Aircraft"; + else if (name in helicopterDatabase) + DEMO_UNIT_DATA[idx].category = "Helicopter"; + else if (name in groundUnitDatabase) + DEMO_UNIT_DATA[idx].category = "GroundUnit"; + else if (name in navyUnitDatabase) + DEMO_UNIT_DATA[idx].category = "NavyUnit"; + + idx += 1; + } + } + } else { + let idx = 1; + DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); + DEMO_UNIT_DATA[idx].name = "S_75M_Volhov"; + DEMO_UNIT_DATA[idx].groupName = `Group`; + DEMO_UNIT_DATA[idx].position.lat += idx / 100; + DEMO_UNIT_DATA[idx].category = "GroundUnit"; + DEMO_UNIT_DATA[idx].isLeader = true; + + idx += 1; + DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); + DEMO_UNIT_DATA[idx].name = "SNR_75V"; + DEMO_UNIT_DATA[idx].groupName = `Group`; + DEMO_UNIT_DATA[idx].position.lat += idx / 100; + DEMO_UNIT_DATA[idx].category = "GroundUnit"; + DEMO_UNIT_DATA[idx].isLeader = false; + + idx += 1; + DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); + DEMO_UNIT_DATA[idx].name = "Ural-4320 APA-5D"; + DEMO_UNIT_DATA[idx].groupName = `Group`; + DEMO_UNIT_DATA[idx].position.lat += idx / 100; + DEMO_UNIT_DATA[idx].category = "GroundUnit"; + DEMO_UNIT_DATA[idx].isLeader = false; + + idx += 1; + DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); + DEMO_UNIT_DATA[idx].name = "F-14B"; + DEMO_UNIT_DATA[idx].groupName = `Group-1`; + DEMO_UNIT_DATA[idx].position.lat += idx / 100; + DEMO_UNIT_DATA[idx].category = "Aircraft"; + DEMO_UNIT_DATA[idx].isLeader = false; + DEMO_UNIT_DATA[idx].coalition = 1; + DEMO_UNIT_DATA[idx].desiredAltitude = 10000; + DEMO_UNIT_DATA[idx].desiredAltitudeType = 0; + + idx += 1; + DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); + DEMO_UNIT_DATA[idx].name = "Infantry AK"; + DEMO_UNIT_DATA[idx].groupName = `Group-2`; + DEMO_UNIT_DATA[idx].position.lat += idx / 100; + DEMO_UNIT_DATA[idx].category = "GroundUnit"; + DEMO_UNIT_DATA[idx].isLeader = true; + DEMO_UNIT_DATA[idx].coalition = 0; + DEMO_UNIT_DATA[idx].operateAs = 2; + + idx += 1; + DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); + DEMO_UNIT_DATA[idx].name = "Infantry AK"; + DEMO_UNIT_DATA[idx].groupName = `Group-3`; + DEMO_UNIT_DATA[idx].position.lat += idx / 100; + DEMO_UNIT_DATA[idx].category = "GroundUnit"; + DEMO_UNIT_DATA[idx].isLeader = true; + DEMO_UNIT_DATA[idx].coalition = 0; + DEMO_UNIT_DATA[idx].operateAs = 1; + + idx += 1; + DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData)); + DEMO_UNIT_DATA[idx].name = "KC-135"; + DEMO_UNIT_DATA[idx].groupName = `Group-4`; + DEMO_UNIT_DATA[idx].position.lat += idx / 100; + DEMO_UNIT_DATA[idx].category = "Aircraft"; + DEMO_UNIT_DATA[idx].isLeader = true; + + this.startTime = Date.now(); + } + } + + units(req, res) { + var array = new Uint8Array(); + var time = Date.now(); + array = this.concat(array, this.uint64ToByteArray(BigInt(time))); + if (req.query["time"] == 0) { + for (let idx in DEMO_UNIT_DATA) { + const unit = DEMO_UNIT_DATA[idx]; + var dataIndex = 1; + array = this.concat(array, this.uint32ToByteArray(idx)); + array = this.appendString(array, unit.category, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.alive, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.human, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.controlled, dataIndex); + dataIndex++; + array = this.appendUint16(array, unit.coalition, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.country, dataIndex); + dataIndex++; + array = this.appendString(array, unit.name, dataIndex); + dataIndex++; + array = this.appendString(array, unit.unitName, dataIndex); + dataIndex++; + array = this.appendString(array, unit.groupName, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.state, dataIndex); + dataIndex++; + array = this.appendString(array, unit.task, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.hasTask, dataIndex); + dataIndex++; + array = this.appendCoordinates(array, unit.position, dataIndex); + dataIndex++; + array = this.appendDouble(array, unit.speed, dataIndex); + dataIndex++; + array = this.appendDouble(array, unit.horizontalVelocity, dataIndex); + dataIndex++; + array = this.appendDouble(array, unit.verticalVelicity, dataIndex); + dataIndex++; + array = this.appendDouble(array, unit.heading, dataIndex); + dataIndex++; + array = this.appendDouble(array, unit.track, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.isActiveTanker, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.isActiveAWACS, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.onOff, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.followRoads, dataIndex); + dataIndex++; + array = this.appendUint16(array, unit.fuel, dataIndex); + dataIndex++; + array = this.appendDouble(array, unit.desiredSpeed, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.desiredSpeedType, dataIndex); + dataIndex++; + array = this.appendDouble(array, unit.desiredAltitude, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.desiredAltitudeType, dataIndex); + dataIndex++; + array = this.appendUint32(array, unit.leaderID, dataIndex); + dataIndex++; + array = this.appendOffset(array, unit.formationOffset, dataIndex); + dataIndex++; + array = this.appendUint32(array, unit.targetID, dataIndex); + dataIndex++; + array = this.appendCoordinates(array, unit.targetPosition, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.ROE, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.reactionToThreat, dataIndex); + dataIndex++; + array = this.appendUint8( + array, + unit.emissionsCountermeasures, + dataIndex + ); + dataIndex++; + array = this.appendTACAN(array, unit.TACAN, dataIndex); + dataIndex++; + array = this.appendRadio(array, unit.radio, dataIndex); + dataIndex++; + array = this.appendRadio(array, unit.generalSettings, dataIndex); + dataIndex++; + array = this.appendAmmo(array, unit.ammo, dataIndex); + dataIndex++; + array = this.appendContacts(array, unit.contacts, dataIndex); + dataIndex++; + array = this.appendActivePath(array, unit.activePath, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.isLeader, dataIndex); + dataIndex++; + array = this.appendUint8(array, unit.operateAs, dataIndex); + dataIndex++; + array = this.concat(array, this.uint8ToByteArray(255)); + } + } + res.end(Buffer.from(array)); + } + + weapons(req, res) { + var array = new Uint8Array(); + var time = Date.now(); + array = this.concat(array, this.uint64ToByteArray(BigInt(time))); + for (let idx in DEMO_WEAPONS_DATA) { + const weapon = DEMO_WEAPONS_DATA[idx]; + array = this.concat(array, this.uint32ToByteArray(idx)); + array = this.appendString(array, weapon.category, 1); + array = this.appendUint8(array, weapon.alive, 2); + array = this.appendUint16(array, weapon.coalition, 5); + array = this.appendString(array, weapon.name, 7); + array = this.appendCoordinates(array, weapon.position, 13); + array = this.appendDouble(array, weapon.speed, 14); + array = this.appendDouble(array, weapon.heading, 15); + array = this.concat(array, this.uint8ToByteArray(255)); + } + res.end(Buffer.from(array)); + } + + concat(array1, array2) { + var mergedArray = new Uint8Array(array1.length + array2.length); + mergedArray.set(array1); + mergedArray.set(array2, array1.length); + return mergedArray; + } + + uint8ToByteArray(number) { + var buffer = new ArrayBuffer(1); + var longNum = new Uint8Array(buffer); + longNum[0] = number; + return Array.from(new Uint8Array(buffer)); + } + + uint16ToByteArray(number) { + var buffer = new ArrayBuffer(2); + var longNum = new Uint16Array(buffer); + longNum[0] = number; + return Array.from(new Uint8Array(buffer)); + } + + uint32ToByteArray(number) { + var buffer = new ArrayBuffer(4); + var longNum = new Uint32Array(buffer); + longNum[0] = number; + return Array.from(new Uint8Array(buffer)); + } + + uint64ToByteArray(number) { + var buffer = new ArrayBuffer(8); + var longNum = new BigUint64Array(buffer); + longNum[0] = number; + return Array.from(new Uint8Array(buffer)); + } + + doubleToByteArray(number) { + var buffer = new ArrayBuffer(8); + var longNum = new Float64Array(buffer); + longNum[0] = number; + return Array.from(new Uint8Array(buffer)); + } + + appendUint8(array, number, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint8ToByteArray(number)); + return array; + } + + appendUint16(array, number, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint16ToByteArray(number)); + return array; + } + + appendUint32(array, number, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint32ToByteArray(number)); + return array; + } + + appendDouble(array, number, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.doubleToByteArray(number)); + return array; + } + + appendCoordinates(array, coordinates, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.doubleToByteArray(coordinates.lat)); + array = this.concat(array, this.doubleToByteArray(coordinates.lng)); + array = this.concat(array, this.doubleToByteArray(coordinates.alt)); + return array; + } + + appendOffset(array, offset, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.doubleToByteArray(offset.x)); + array = this.concat(array, this.doubleToByteArray(offset.y)); + array = this.concat(array, this.doubleToByteArray(offset.z)); + return array; + } + + appendString(array, string, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint16ToByteArray(string.length)); + array = this.concat(array, enc.encode(string)); + return array; + } + + padString(string, length) { + while (string.length < length) string += " "; + return string.substring(0, length); + } + + appendTACAN(array, TACAN, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint8ToByteArray(TACAN.isOn)); + array = this.concat(array, this.uint8ToByteArray(TACAN.channel)); + array = this.concat(array, enc.encode(TACAN.XY)); + array = this.concat(array, enc.encode(this.padString(TACAN.callsign, 4))); + return array; + } + + appendRadio(array, radio, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint32ToByteArray(radio.frequency)); + array = this.concat(array, this.uint8ToByteArray(radio.callsign)); + array = this.concat(array, this.uint8ToByteArray(radio.callsignNumber)); + return array; + } + + appendGeneralSettings(array, generalSettings, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat( + array, + this.uint8ToByteArray(generalSettings.prohibitAA) + ); + array = this.concat( + array, + this.uint8ToByteArray(generalSettings.prohibitAfterburner) + ); + array = this.concat( + array, + this.uint8ToByteArray(generalSettings.prohibitAG) + ); + array = this.concat( + array, + this.uint8ToByteArray(generalSettings.prohibitAirWpn) + ); + array = this.concat( + array, + this.uint8ToByteArray(generalSettings.prohibitJettison) + ); + return array; + } + + appendAmmo(array, ammo, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint16ToByteArray(ammo.length)); + ammo.forEach((element) => { + array = this.concat(array, this.uint16ToByteArray(element.quantity)); + array = this.concat( + array, + enc.encode(this.padString(element.name, 33)) + ); + array = this.concat(array, this.uint8ToByteArray(element.guidance)); + array = this.concat(array, this.uint8ToByteArray(element.category)); + array = this.concat( + array, + this.uint8ToByteArray(element.missileCategory) + ); + }); + return array; + } + + appendContacts(array, contacts, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint16ToByteArray(contacts.length)); + contacts.forEach((element) => { + array = this.concat(array, this.uint32ToByteArray(element.ID)); + array = this.concat( + array, + this.uint8ToByteArray(element.detectionMethod) + ); + }); + return array; + } + + appendActivePath(array, activePath, datumIndex) { + array = this.concat(array, this.uint8ToByteArray(datumIndex)); + array = this.concat(array, this.uint16ToByteArray(activePath.length)); + activePath.forEach((element) => { + array = this.concat(array, this.doubleToByteArray(element.lat)); + array = this.concat(array, this.doubleToByteArray(element.lng)); + array = this.concat(array, this.doubleToByteArray(element.alt)); + }); + return array; + } + + logs(req, res) { + var ret = { + logs: { "1": "I'm a log!", "2": "I'm a different log!" }, + time: Date.now(), + frameRate: 60, + load: 0, + }; + + res.send(JSON.stringify(ret)); + } + + airbases(req, res) { + var ret = { + airbases: { + ["0"]: { + callsign: "Nellis", + latitude: 37.3, + longitude: -115.8, + coalition: "neutral", + }, + ["1"]: { + callsign: "Red", + latitude: 37.3, + longitude: -115.75, + coalition: "red", + }, + ["2"]: { + callsign: "Blue", + latitude: 37.3, + longitude: -115.7, + coalition: "blue", + }, + }, + time: Date.now(), + }; + res.send(JSON.stringify(ret)); + } + + bullseyes(req, res) { + var ret = { + bullseyes: { + "0": { + latitude: 37.25, + longitude: -115.8, + coalition: "neutral", + }, + "1": { + latitude: 37.25, + longitude: -115.75, + coalition: "red", + }, + "2": { + latitude: 37.25, + longitude: -115.7, + coalition: "blue", + }, + }, + time: Date.now(), + }; + res.send(JSON.stringify(ret)); + } + + mission(req, res) { + var ret = { + mission: { + theatre: "Nevada", + dateAndTime: { + time: { h: 10, m: 15, s: 34 }, + date: "", + elapsedTime: (Date.now() - this.startTime) / 1000, + startTime: 0, + }, + coalitions: { + red: ["RUSSIA", "CHINA"], + blue: ["UK", "USA"], + neutral: ["ITALY"], + }, + commandModeOptions: { + restrictSpawns: true, + restrictToCoalition: true, + setupTime: 0, + spawnPoints: { + red: 400, + blue: 400, + }, + eras: ["WW2", "Early Cold War", "Late Cold War", "Modern"], + commandMode: "", + }, + }, + time: Date.now(), + }; + + var auth = req.get("Authorization"); + if (auth) { + var username = Buffer.from(auth.replace("Basic ", ""), "base64") + .toString("binary") + .split(":")[0]; + var password = Buffer.from(auth.replace("Basic ", ""), "base64") + .toString("binary") + .split(":")[1]; + switch (password) { + case "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918": + ret.mission.commandModeOptions.commandMode = "Game master"; + break; + case "16477688c0e00699c6cfa4497a3612d7e83c532062b64b250fed8908128ed548": + ret.mission.commandModeOptions.commandMode = "Blue commander"; + break; + case "b1f51a511f1da0cd348b8f8598db32e61cb963e5fc69e2b41485bf99590ed75a": + ret.mission.commandModeOptions.commandMode = "Red commander"; + break; + } + } + res.send(JSON.stringify(ret)); + } + + command(req, res) { + var ret = { commandExecuted: Math.random() > 0.5 }; + res.send(JSON.stringify(ret)); + } + + put(req, res) { + var ret = { commandHash: Math.random().toString(36).slice(2, 19) }; + res.send(JSON.stringify(ret)); + } + } + + const demoDataGenerator = new DemoDataGenerator(app, config); + + return app; +}; diff --git a/frontend/server/src/demo/www.ts b/frontend/server/src/demo/www.ts new file mode 100644 index 00000000..61509a9e --- /dev/null +++ b/frontend/server/src/demo/www.ts @@ -0,0 +1,112 @@ +import yargs = require("yargs"); +import fs = require("fs"); +import http = require("http"); + +/* Define configuration parameter */ +yargs + .alias("c", "config") + .describe("c", "olympus.json config location") + .string("rp"); +const args = yargs.argv; + +console.log("Please wait while DCS Olympus DEMO Backend Server starts up..."); +console.log(`Config location: ${args["config"]}`); + +let rawdata = fs.readFileSync(args["config"], "utf-8"); +let config = JSON.parse(rawdata); + +/** + * Module dependencies. + */ + +var app = require("./demo")(args["config"]); + +/** + * Get port from environment and store in Express. + */ + +var configPort = null; +if (config["backend"] != undefined && config["backend"]["port"] != undefined) { + configPort = config["backend"]["port"]; +} + +var port = normalizePort(configPort || "3001"); +app.set("port", port); +console.log("Express server listening on port: " + port); + +/** + * Create HTTP server. + */ + +var server = http.createServer(app); + +/** + * Listen on provided port, on all network interfaces. + */ + +server.listen(port); +server.on("error", onError); +server.on("listening", onListening); + +/** + * Normalize a port into a number, string, or false. + */ + +function normalizePort(val) { + var port = parseInt(val, 10); + + if (isNaN(port)) { + // named pipe + return val; + } + + if (port >= 0) { + // port number + return port; + } + + return false; +} + +/** + * Event listener for HTTP server "error" event. + */ + +function onError(error) { + if (error.syscall !== "listen") { + throw error; + } + + var bind = typeof port === "string" ? "Pipe " + port : "Port " + port; + + // handle specific listen errors with friendly messages + switch (error.code) { + case "EACCES": + console.error(bind + " requires elevated privileges"); + process.exit(1); + break; + case "EADDRINUSE": + console.error(bind + " is already in use"); + process.exit(1); + break; + default: + throw error; + } +} + +/** + * Event listener for HTTP server "listening" event. + */ + +function onListening() { + var addr = server.address(); + var bind = typeof addr === "string" ? "pipe " + addr : "port " + addr.port; + console.log("Listening on " + bind); +} + +console.log( + "DCS Olympus DEMO Backend Server {{OLYMPUS_VERSION_NUMBER}}.{{OLYMPUS_COMMIT_HASH}} started correctly!" +); +console.log("Waiting for connections..."); + +process.title = `DCS Olympus DEMO Backend Server {{OLYMPUS_VERSION_NUMBER}} (${port})`; diff --git a/frontend/server/src/routes/api/airbases.ts b/frontend/server/src/routes/api/airbases.ts new file mode 100644 index 00000000..bc7e96c6 --- /dev/null +++ b/frontend/server/src/routes/api/airbases.ts @@ -0,0 +1,83 @@ +import express = require("express"); +import fs = require("fs"); + +const app = express(); + +const allowedTheatres = [ + "caucasus", + "falklands", + "marianas", + "nevada", + "normandy", + "persiangulf", + "sinaimap", + "syria", + "thechannel", + "kola", +]; + +function getAirbasesData(theatreName) { + if (!isValidTheatre(theatreName)) { + return false; + } + + return JSON.parse( + fs.readFileSync(`public/databases/airbases/${theatreName}.json`, { + encoding: "utf-8", + }) + ).airfields; +} + +function isValidTheatre(theatre) { + return allowedTheatres.indexOf(theatre) > -1; +} + +function sendInvalidTheatre(res) { + res + .status(400) + .send( + "Missing/invalid theatre name; must be one of:\n\t" + + allowedTheatres.join("\n\t") + ); +} + +/**************************************************************************************************************/ +// Endpoints +/**************************************************************************************************************/ +app.get("/", (req, res) => { + sendInvalidTheatre(res); +}); + +app.get("/:theatreName/:airbaseName", (req, res) => { + const airbases = getAirbasesData(req.params.theatreName); + if (!airbases) { + sendInvalidTheatre(res); + return; + } + + const airbaseName = req.params.airbaseName; + if (!airbases.hasOwnProperty(airbaseName)) { + res + .status(404) + .send( + `Unknown airbase name "${airbaseName}". Available options are:\n\t` + + Object.keys(airbases).join("\n\t") + ); + } else { + res.status(200).json(airbases[airbaseName]); + } +}); + +app.get("/:theatreName", (req, res) => { + const theatreName = req.params.theatreName.toLowerCase().replace(/\s*/g, ""); + const airbases = getAirbasesData(theatreName); + + if (!airbases) { + sendInvalidTheatre(res); + return; + } + + res.status(200).json(airbases); +}); + +module.exports = app; diff --git a/frontend/server/routes/api/databases.js b/frontend/server/src/routes/api/databases.ts similarity index 94% rename from frontend/server/routes/api/databases.js rename to frontend/server/src/routes/api/databases.ts index ed77e3f4..7d34eb24 100644 --- a/frontend/server/routes/api/databases.js +++ b/frontend/server/src/routes/api/databases.ts @@ -1,9 +1,10 @@ -module.exports = function (databasesLocation) { - const express = require('express'); - const router = express.Router(); - const fs = require("fs"); - const path = require("path"); +import express = require('express'); +import fs = require("fs"); +import path = require("path"); +const router = express.Router(); + +module.exports = function (databasesLocation) { router.get('/:type/:name', function (req, res) { var contents = fs.readFileSync(path.join(databasesLocation, req.params.type, req.params.name + ".json")); res.status(200).send(contents); diff --git a/frontend/server/routes/api/elevation.js b/frontend/server/src/routes/api/elevation.ts similarity index 71% rename from frontend/server/routes/api/elevation.js rename to frontend/server/src/routes/api/elevation.ts index f2450065..c5176e8f 100644 --- a/frontend/server/routes/api/elevation.js +++ b/frontend/server/src/routes/api/elevation.ts @@ -1,11 +1,13 @@ -module.exports = function (configLocation) { - const express = require('express'); - var fs = require('fs'); - const router = express.Router(); - const TileSet = require('srtm-elevation').TileSet; - const SRTMElevationDownloader = require('srtm-elevation').SRTMElevationDownloader; +import express = require('express'); +import fs = require('fs'); +import srtmElevation = require('srtm-elevation'); - let rawdata = fs.readFileSync(configLocation); +const TileSet = srtmElevation.TileSet; +const SRTMElevationDownloader = srtmElevation.SRTMElevationDownloader; +const router = express.Router(); + +module.exports = function (configLocation) { + let rawdata = fs.readFileSync(configLocation, "utf-8"); let config = JSON.parse(rawdata); var tileset = null; diff --git a/frontend/server/routes/index.js b/frontend/server/src/routes/index.ts similarity index 66% rename from frontend/server/routes/index.js rename to frontend/server/src/routes/index.ts index c674b0c2..06600ebd 100644 --- a/frontend/server/routes/index.js +++ b/frontend/server/src/routes/index.ts @@ -1,5 +1,5 @@ -var express = require('express'); -var router = express.Router(); +import express = require('express'); +const router = express.Router(); /* GET home page. */ router.get('/', function (req, res, next) { diff --git a/frontend/server/routes/plugins.js b/frontend/server/src/routes/plugins.ts similarity index 84% rename from frontend/server/routes/plugins.js rename to frontend/server/src/routes/plugins.ts index fd3ad0af..64d6443d 100644 --- a/frontend/server/routes/plugins.js +++ b/frontend/server/src/routes/plugins.ts @@ -1,9 +1,8 @@ -const express = require('express'); -const fs = require('fs'); -const path = require('path'); +import express = require('express'); +import fs = require('fs'); +import path = require('path'); const pluginsDirectory = "./public/plugins" - const router = express.Router(); function listDirectories(source) { diff --git a/frontend/server/src/routes/resources.ts b/frontend/server/src/routes/resources.ts new file mode 100644 index 00000000..d2d12506 --- /dev/null +++ b/frontend/server/src/routes/resources.ts @@ -0,0 +1,18 @@ +import express = require('express'); +import fs = require('fs'); +const router = express.Router(); + +module.exports = function (configLocation) { + router.get('/config', function (req, res, next) { + if (fs.existsSync(configLocation)) { + let rawdata = fs.readFileSync(configLocation, "utf-8"); + const config = JSON.parse(rawdata); + res.send(JSON.stringify(config.frontend)); + res.end() + } else { + res.sendStatus(404); + } + }); + + return router; +} \ No newline at end of file diff --git a/frontend/server/src/www.ts b/frontend/server/src/www.ts new file mode 100644 index 00000000..07594f58 --- /dev/null +++ b/frontend/server/src/www.ts @@ -0,0 +1,112 @@ +import yargs = require("yargs"); +import fs = require("fs"); +import http = require("http"); + +/* Define configuration parameter */ +yargs + .alias("c", "config") + .describe("c", "olympus.json config location") + .string("rp"); +const args = yargs.argv; + +/* Startup print */ +console.log("Please wait while DCS Olympus Server starts up..."); +console.log(`Config location: ${args["config"]}`); + +/* Load the configuration file */ +let httpPort = 0; +if (fs.existsSync(args["config"])) { + const json = JSON.parse(fs.readFileSync(args["config"], "utf-8")); + httpPort = json["frontend"]["port"]; + + /* Load the dependencies. The app is loaded providing the configuration file location */ + const app = require("./app")(args["config"]); + + /* Normalize port */ + const port = normalizePort(httpPort); + app.set("port", port); + console.log("Express server listening on port: " + port); + + /* Create HTTP server */ + const server = http.createServer(app); + + /* Listen on provided port, on all network interfaces. */ + server.listen(port); + server.on("error", (error) => onError(error, port)); + server.on("listening", () => onListening(server.address())); + + /* Optional https support */ + let https = null; + let credentials = null; + let httpsServer = null; + if (json["frontend"]["https"] === true) { + https = require("https"); + const privateKey = fs.readFileSync( + json["frontend"]["keyPath"] ?? "./cert/default.key", + "utf8" + ); + const certificate = fs.readFileSync( + json["frontend"]["certPath"] ?? "./cert/default.crt", + "utf8" + ); + const httpsPort = json["frontend"]["httpsPort"] ?? 3433; + credentials = { key: privateKey, cert: certificate }; + httpsServer = https.createServer(credentials, app); + httpsServer.listen(httpsPort); + console.log("Express server listening on SSL port: " + httpsPort); + } + + /* Final user friendly printing */ + console.log( + "DCS Olympus server {{OLYMPUS_VERSION_NUMBER}}.{{OLYMPUS_COMMIT_HASH}} started correctly!" + ); + console.log("Waiting for connections..."); + process.title = `DCS Olympus server {{OLYMPUS_VERSION_NUMBER}} (${port})`; +} else { + console.log("Failed to read config, aborting!"); +} + +/* Normalize a port into a number, string, or false. */ +function normalizePort(val) { + let port = parseInt(val, 10); + + if (isNaN(port)) { + return val; + } + + if (port >= 0) { + return port; + } + + return false; +} + +/* Event listener for HTTP server "error" event. */ +function onError(error, port: number) { + if (error.syscall !== "listen") { + throw error; + } + + const bind = typeof port === "string" ? "Pipe " + port : "Port " + port; + + /* Handle specific listen errors with friendly messages */ + switch (error.code) { + case "EACCES": + console.error(bind + " requires elevated privileges"); + process.exit(1); + break; + case "EADDRINUSE": + console.error(bind + " is already in use"); + process.exit(1); + break; + default: + throw error; + } +} + +/* Event listener for HTTP server "listening" event. */ +function onListening(address) { + const bind = + typeof address === "string" ? "pipe " + address : "port " + address.port; + console.log("Listening on " + bind); +} diff --git a/frontend/server/tsconfig.json b/frontend/server/tsconfig.json new file mode 100644 index 00000000..c415111d --- /dev/null +++ b/frontend/server/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "outDir": "./build", + "allowJs": true, + "target": "es5", + "sourceMap": true + }, + "include": [ + "./src/**/*" + ] +} \ No newline at end of file diff --git a/frontend/server/views/index.ejs b/frontend/server/views/index.ejs deleted file mode 100644 index c991ce06..00000000 --- a/frontend/server/views/index.ejs +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - Olympus client - - - - - - - - - - - - - - - - - - -
- - -
- <%- include('toolbars/primary.ejs') %> - <%- include('toolbars/commandmode.ejs') %> -
- - - <%- include('panels/unitcontrol.ejs') %> - <%- include('panels/unitinfo.ejs') %> - <%- include('panels/mouseinfo.ejs') %> - <%- include('panels/connectionstatus.ejs') %> - - <%- include('panels/hotgroup.ejs') %> - <%- include('panels/logpanel.ejs') %> - <%- include('panels/unitlist.ejs') %> - - - <%- include('contextmenus/airbase.ejs') %> - <%- include('contextmenus/airbasespawn.ejs') %> - <%- include('contextmenus/coalitionarea.ejs') %> - <%- include('contextmenus/map.ejs') %> - <%- include('contextmenus/unit.ejs') %> - - - <%- include('other/dialogs.ejs') %> - <%- include('other/popups.ejs') %> - - -
- - -
- -
Loading DCS Olympus...
-
- - - - -