add opponents

This commit is contained in:
2023-08-17 08:25:51 -05:00
parent 469c298753
commit c9eaadf688
4 changed files with 113 additions and 6 deletions

18
views/opponents.pug Normal file
View File

@@ -0,0 +1,18 @@
html
head
meta(charset='utf-8')
meta(name='viewport' content='width=device-width, initial-scale=1')
title BenchCoach - Teams
link(rel='stylesheet' href='/css/bootstrap.min.css')
link(rel='stylesheet' href='/font/bootstrap-icons.min.css')
link(rel='stylesheet' href='/css/teamsnap-ui.css')
body
.container
.Panel
.Panel-header
.Panel-title Opponents
.Panel-body
each opponent in opponents
.Panel-row
a(class='opponent' href=`/${team.id}/opponent/${opponent.id}`) #{opponent.name}