Skip to content
Snippets Groups Projects
Commit 6c0681d2 authored by ForkBench's avatar ForkBench
Browse files

Switching to newer logger, and update path

parent f91bf390
Branches main
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ templ StageElement(stage *services.Stage, competition *services.Competition) {
// TODO: Refactor
// TODO: Make it as high as the user (sticky)
<img
src="/img/seedings.png"
src="/static/img/seedings.png"
class="stage-logo"
id="seedings"
hx-get={ "/competition/" + strconv.Itoa(int(competition.CompetitionID)) + "/stage/" + strconv.Itoa(int((*stage).GetID())) }
......@@ -20,7 +20,7 @@ templ StageElement(stage *services.Stage, competition *services.Competition) {
/>
} else if (*stage).GetKind() == services.POOLS {
<img
src="/img/pool.png"
src="/static/img/pool.png"
class="stage-logo"
hx-get={ "/competition/" + strconv.Itoa(int(competition.CompetitionID)) + "/stage/" + strconv.Itoa(int((*stage).GetID())) }
hx-target="#stage-content"
......@@ -29,7 +29,7 @@ templ StageElement(stage *services.Stage, competition *services.Competition) {
/>
} else if (*stage).GetKind() == services.DIRECTELIMINATION {
<img
src="/img/table.png"
src="/static/img/table.png"
class="stage-logo"
hx-get={ "/competition/" + strconv.Itoa(int(competition.CompetitionID)) + "/stage/" + strconv.Itoa(int((*stage).GetID())) }
hx-target="#stage-content"
......@@ -38,7 +38,7 @@ templ StageElement(stage *services.Stage, competition *services.Competition) {
/>
} else {
<img
src="/img/ranking.png"
src="/static/img/ranking.png"
class="stage-logo"
hx-get={ "/competition/" + strconv.Itoa(int(competition.CompetitionID)) + "/stage/" + strconv.Itoa(int((*stage).GetID())) }
hx-target="#stage-content"
......
......@@ -7,10 +7,9 @@ templ Head() {
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AstroProject</title>
<link rel="stylesheet" href="/css/main.css"/>
<link rel="stylesheet" href="/css/nav.css"/>
<link rel="stylesheet" href="/static/css/main.css"/>
<link rel="stylesheet" href="/static/css/nav.css"/>
<script src="https://unpkg.com/htmx.org"></script>
// <script src="https://cdn.tailwindcss.com"></script>
</head>
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment