Fix: recover bot; llama.cpp fix
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
{{define "actionhistory"}}
|
||||
<div class="overflow-y-auto max-h-96 border-2 border-gray-300 p-4 rounded-lg space-y-2">
|
||||
<div id="actionHistoryContainer" class="overflow-y-auto max-h-96 border-2 border-gray-300 p-4 rounded-lg space-y-2">
|
||||
Backlog:
|
||||
{{range .}}
|
||||
<div class="flex items-center justify-between p-2 rounded">
|
||||
@ -14,4 +14,11 @@
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
<script>
|
||||
// Scroll to the bottom of the action history container
|
||||
const container = document.getElementById('actionHistoryContainer');
|
||||
if (container) {
|
||||
container.scrollTop = container.scrollHeight;
|
||||
}
|
||||
</script>
|
||||
{{end}}
|
||||
|
@ -1,6 +1,9 @@
|
||||
{{define "cardcounter"}}
|
||||
<div class="flex justify-center">
|
||||
<p>Blue cards left: {{.BlueCounter}}</p>
|
||||
<p>Red cards left: {{.RedCounter}}</p>
|
||||
<p>Blue cards left: {{.BlueCounter}} </p>
|
||||
<p>Red cards left: {{.RedCounter}} </p>
|
||||
<hr>
|
||||
<p>Limit of cards to open: {{.ThisTurnLimit}} </p>
|
||||
<p>Opened this turn: {{.OpenedThisTurn}} </p>
|
||||
</div>
|
||||
{{end}}
|
||||
|
@ -32,7 +32,6 @@
|
||||
{{if .Room.IsRunning}}
|
||||
{{template "cardcounter" .Room}}
|
||||
{{end}}
|
||||
|
||||
<div id="addbot">
|
||||
{{if and (eq .State.Username .Room.CreatorName) (not .Room.IsRunning)}}
|
||||
{{template "addbot" .}}
|
||||
|
Reference in New Issue
Block a user