parent
5508dc3f1c
commit
ccecc64763
|
@ -51,14 +51,6 @@ input[type=text] {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#colorInputDiv {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#colorInput {
|
|
||||||
border: 2px solid var(--var-message-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.root {
|
.root {
|
||||||
max-width: var(--var-max-width);
|
max-width: var(--var-max-width);
|
||||||
max-height: var(--var-max-height);
|
max-height: var(--var-max-height);
|
||||||
|
@ -184,8 +176,15 @@ input[type=text] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#loadingFiles {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#chatwindow {
|
#chatwindow {
|
||||||
display: grid;
|
display: none;
|
||||||
grid-template-rows: auto 1fr;
|
grid-template-rows: auto 1fr;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 1vh;
|
padding-top: 1vh;
|
||||||
|
@ -221,6 +220,15 @@ input[type=text] {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#colorInputDiv {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#colorInput {
|
||||||
|
border: 2px solid var(--var-message-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#playing {
|
#playing {
|
||||||
color: #288a85;
|
color: #288a85;
|
||||||
font-size: x-Large;
|
font-size: x-Large;
|
||||||
|
|
|
@ -42,6 +42,9 @@ function startGo() {
|
||||||
const go = new Go();
|
const go = new Go();
|
||||||
WebAssembly.instantiateStreaming(fetch("/static/main.wasm"), go.importObject).then((result) => {
|
WebAssembly.instantiateStreaming(fetch("/static/main.wasm"), go.importObject).then((result) => {
|
||||||
go.run(result.instance);
|
go.run(result.instance);
|
||||||
|
}).then(() => {
|
||||||
|
$("#chatwindow").css("display", "grid");
|
||||||
|
$("#loadingFiles").css("display", "none");
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
});
|
});
|
||||||
|
|
|
@ -42,6 +42,9 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{if .Chat}}
|
{{if .Chat}}
|
||||||
|
<div id="loadingFiles" class="contrast">
|
||||||
|
Files Loading
|
||||||
|
</div>
|
||||||
<div id="chatwindow">
|
<div id="chatwindow">
|
||||||
<div id="notifyBox"></div>
|
<div id="notifyBox"></div>
|
||||||
<div id="chat" style="display: none;">
|
<div id="chat" style="display: none;">
|
||||||
|
|
Loading…
Reference in New Issue