Compare commits
4 Commits
a135746e37
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a1c494ade | ||
| d9b2c5ee22 | |||
| 57c5f4e054 | |||
| 3c0ca7843f |
31
.replit
Normal file
31
.replit
Normal file
@@ -0,0 +1,31 @@
|
||||
modules = ["bun-1.3"]
|
||||
[agent]
|
||||
expertMode = true
|
||||
|
||||
[workflows]
|
||||
runButton = "Project"
|
||||
|
||||
[[workflows.workflow]]
|
||||
name = "Project"
|
||||
mode = "parallel"
|
||||
author = "agent"
|
||||
|
||||
[[workflows.workflow.tasks]]
|
||||
task = "workflow.run"
|
||||
args = "Start application"
|
||||
|
||||
[[workflows.workflow]]
|
||||
name = "Start application"
|
||||
author = "agent"
|
||||
|
||||
[[workflows.workflow.tasks]]
|
||||
task = "shell.exec"
|
||||
args = "PORT=5000 bun --hot run src/server.ts"
|
||||
waitForPort = 5000
|
||||
|
||||
[workflows.workflow.metadata]
|
||||
outputType = "webview"
|
||||
|
||||
[[ports]]
|
||||
localPort = 5000
|
||||
externalPort = 80
|
||||
@@ -178,7 +178,7 @@
|
||||
<span class="side-hint">SEC</span>
|
||||
</div>
|
||||
<div class="tog-row">
|
||||
<div class="lbl">TIMER</div>
|
||||
<div class="lbl">LINK TIMER</div>
|
||||
<label class="tog">
|
||||
<input type="checkbox" id="timer-tog" onchange="toggleTimerFromSwitch()" /><span class="tog-track"></span>
|
||||
</label>
|
||||
@@ -232,7 +232,7 @@
|
||||
<div id="tab-buzzer">
|
||||
<div class="panel">
|
||||
<div class="panel-title">BUZZ ORDER</div>
|
||||
<div class="empty" id="mod-bz-empty">No buzzes — open a round to begin.</div>
|
||||
<div class="empty" id="mod-bz-empty">No buzzes</div>
|
||||
<div class="buzz-list" id="mod-bz-list"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -401,8 +401,8 @@ function toggleRound(){
|
||||
}
|
||||
} else {
|
||||
ws_send({type:'open_round'});
|
||||
// If linked (toggle ON) and timer stopped, start it
|
||||
if(document.getElementById('timer-tog').checked && !modTimerRunning && modTimerRemaining===0){
|
||||
// If linked (toggle ON) and timer stopped, reset and start it
|
||||
if(document.getElementById('timer-tog').checked && !modTimerRunning){
|
||||
modTimerLoad();
|
||||
modTimerRunning=true;
|
||||
document.getElementById('btn-timer-ss').textContent='PAUSE';
|
||||
|
||||
Reference in New Issue
Block a user