-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Aug 20, 2022
0 parents
commit b4fe5d0
Showing
10 changed files
with
30,937 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.pnpm-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Snowpack dependency directory (https://snowpack.dev/) | ||
web_modules/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional stylelint cache | ||
.stylelintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variable files | ||
.env | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.env.local | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
.parcel-cache | ||
|
||
# Next.js build output | ||
.next | ||
out | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and not Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# vuepress v2.x temp and cache directory | ||
.temp | ||
.cache | ||
|
||
# Docusaurus cache and generated files | ||
.docusaurus | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
# Stores VSCode versions used for testing VSCode extensions | ||
.vscode-test | ||
|
||
# yarn v2 | ||
.yarn/cache | ||
.yarn/unplugged | ||
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@200;300;400;700&display=swap'); | ||
|
||
*{ | ||
margin: 0; | ||
padding: 0; | ||
user-select: none; | ||
overflow: hidden; | ||
} | ||
|
||
body{ | ||
color: #fff; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
font-family: 'Noto Sans', sans-serif; | ||
} | ||
|
||
nav{ | ||
display: flex; | ||
align-items: center; | ||
padding: 5px; | ||
border-bottom: 1px solid #eee; | ||
user-select: none; | ||
-webkit-user-select: none; | ||
} | ||
|
||
nav h3{ | ||
font-weight: 200; | ||
font-size: 0.9rem; | ||
-webkit-app-region: drag; | ||
} | ||
|
||
nav .trackingStatus{ | ||
height: 10px; | ||
width: 10px; | ||
background-color:red; | ||
margin-right: 5px; | ||
border-radius: 100px; | ||
} | ||
|
||
nav img{ | ||
margin-left: auto; | ||
height: 25px; | ||
cursor: pointer; | ||
} | ||
|
||
.main{ | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
padding: 10px; | ||
} | ||
|
||
#minimize{ | ||
position: absolute; | ||
right:10px; | ||
height: 15px; | ||
width: 15px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
color: #fff; | ||
background-color: rgba(255,255,255, 0.1); | ||
border: 1px ridge #eee; | ||
cursor: pointer; | ||
} | ||
|
||
#system{ | ||
font-size: 2rem; | ||
letter-spacing: 1.25pt; | ||
color: chartreuse; | ||
} | ||
|
||
.class{ | ||
font-size: 1.5rem; | ||
color:deeppink; | ||
} | ||
|
||
.statics{ | ||
margin-top: 10px; | ||
text-align: center; | ||
width: 100%; | ||
letter-spacing: 1pt; | ||
color:aqua | ||
} | ||
|
||
.statics sup{ | ||
margin: 5px; | ||
color:chocolate | ||
} | ||
|
||
.main hr{ | ||
margin: 10px 0; | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"> | ||
<link rel="stylesheet" href="index.css"> | ||
</head> | ||
<body> | ||
<nav> | ||
<div class="trackingStatus"></div> | ||
<h3>Not Logged In</h3> | ||
<img src="img/eve-sso-login-white-small.png" id="logInBtn"> | ||
</nav> | ||
<div class="main"> | ||
<button id="minimize">-</button> | ||
<h3 id="system">-<span class="class"></span></h3> | ||
<div class="statics"> | ||
|
||
</div> | ||
</div> | ||
<script src="index.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
let { ipcRenderer } = require("electron") | ||
|
||
window.$ = window.jQuery = require('jquery'); | ||
|
||
|
||
$('#logInBtn').on("click", (event, data) => { | ||
require('electron').shell.openExternal("http://localhost:3000/auth/eve"); | ||
}); | ||
|
||
let navBarIsHidden = false; | ||
|
||
$('#minimize').on("click", (event, data) => { | ||
if (navBarIsHidden) { | ||
$("nav").show(); | ||
ipcRenderer.send('resize-original') | ||
navBarIsHidden = false; | ||
} | ||
else { | ||
$("nav").hide(); | ||
ipcRenderer.send('resize-reduced') | ||
navBarIsHidden = true; | ||
} | ||
}); | ||
|
||
ipcRenderer.on("login", (event, charName) => { | ||
$("nav h3").html(charName); | ||
}) | ||
|
||
ipcRenderer.on("system", (event, system) => { | ||
$("#system").html(system); | ||
}) | ||
|
||
ipcRenderer.on("statics", (event, statics) => { | ||
console.log(statics); | ||
$(".statics").html(statics); | ||
}) | ||
|
||
ipcRenderer.on("onlineStatus", (event, isOnline) => { | ||
if (isOnline) { | ||
$(".trackingStatus").css("background-color", "green"); | ||
} | ||
else { | ||
$(".trackingStatus").css("background-color", "red"); | ||
|
||
} | ||
}) |
Oops, something went wrong.