fix: update template color logic to match model constants
This commit is contained in:
		| @@ -24,7 +24,7 @@ | ||||
|     <div class="grid grid-cols-5 gap-2"> | ||||
|       {{range .Room.Cards}} | ||||
|         <div class="border p-2 text-center rounded"  | ||||
|              style="background-color: {{if eq .Color "white"}}#ffffff{{else if eq .Color "blue"}}#0000ff{{else if eq .Color "red"}}#ff0000{{else if eq .Color "black"}}#000000{{else}}#f5f5dc{{end}};"> | ||||
|              style="background-color: {{if eq .Color "white"}}#ffffff{{else if eq .Color "blue"}}#0000ff{{else if eq .Color "red"}}#ff0000{{else if eq .Color "black"}}#000000{{else if eq .Color "beige"}}#f5f5dc{{else}}#f5f5dc{{end}};"> | ||||
|           {{if .Revealed}} | ||||
|             {{.Word}} | ||||
|           {{else}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder (aider)
					Grail Finder (aider)