Commit 61c0e7e8 authored by SR-Lut3t1um's avatar SR-Lut3t1um

wip

parent 6f8c8ac8
Pipeline #89360 failed with stages
in 3 minutes and 46 seconds
......@@ -36,6 +36,14 @@ build:
- build
- .gradle
buildnative:
stage: build
script: gradle --build-cache buildNative
artifacts:
paths:
- build
expire_in: 1 week
test:
stage: test
script: gradle test
......
FROM oracle/graalvm-ce
COPY . .
RUN ./gradlew buildNative
......@@ -4,14 +4,21 @@
<meta charset="UTF-8">
<title>Aut0m4t0n // Alpha</title>
<link rel="stylesheet" type="text/css" href="main.css">
<link href="https://fonts.googleapis.com/css?family=Tomorrow&display=swap" rel="stylesheet">
</head>
<body>
<ul>
<li><a>Aut0m4t0n</a></li>
<li><a>NEW</a></li>
<li><a>+</a></li>
</ul>
<canvas id="canvas" width="1" height="1"></canvas>
<div class="content">
<ul class="menu">
<li><a>States</a></li>
<li><a>Functions</a></li>
</ul>
<canvas id="canvas" width="1" height="1"></canvas>
</div>
<script src="main.js"></script>
</body>
</html>
\ No newline at end of file
/*@media (prefers-color-scheme: dark) {*/
/* :root {*/
/* --main-bg-color: black;*/
/* --main-ac-color: #212121;*/
/* --main-color: whitesmoke;*/
/* --toolbar-height: 2vh;*/
/* }*/
/*}*/
:root {
--main-bg-color: whitesmoke;
--main-ac-color: #0d47a1;
--main-color: whitesmoke;
--toolbar-height: 2vh;
}
* {
margin: 0;
padding: 0;
}
@media (prefers-color-scheme: dark) {
:root {
--main-bg-color: black;
--main-ac-color: #212121;
--main-color: whitesmoke;
--toolbar-height: 2vh;
}
background-color: var(--main-bg-color);
font-family: 'Tomorrow', sans-serif;
}
ul {
list-style-type: none;
overflow: hidden;
background-color: var(--main-bg-color);
background-color: var(--main-ac-color);
}
ul.menu {
border-radius: 15px;
}
li {
......@@ -28,6 +43,7 @@ li a {
text-align: center;
padding: var(--toolbar-height);
text-decoration: none;
background-color: var(--main-ac-color);
}
li a:hover {
......@@ -37,4 +53,11 @@ li a:hover {
canvas {
width: 100%;
height: 80%;
}
\ No newline at end of file
}
.content {
height: auto;
margin: .5%;
border-radius: 15px;
background-color: var(--main-ac-color);
}
......@@ -2,12 +2,12 @@ let canvas = document.getElementsByTagName('canvas')[0];
canvas.height = 80;
canvas.width = canvas.style.width;
let webSocket = new WebSocket(
'ws://' + window.location.host + "/websocket");
webSocket.onopen = function (event) {
console.log("connected")
webSocket.send("automaton new 'cool name'")
};
webSocket.onerror = function (event) {
console.error(event)
}
\ No newline at end of file
// let webSocket = new WebSocket(
// 'ws://' + window.location.host + "/websocket");
// webSocket.onopen = function (event) {
// console.log("connected")
// webSocket.send("automaton new 'cool name'")
// };
// webSocket.onerror = function (event) {
// console.error(event)
// }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment