remove legacy pug templates
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
html
|
||||
head
|
||||
block meta
|
||||
meta(charset='utf-8')
|
||||
meta(name='viewport' content='width=device-width, initial-scale=1')
|
||||
title BenchCoach - #{title}
|
||||
block styles
|
||||
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')
|
||||
link(rel='stylesheet' href='/css/project.css')
|
||||
block pre-scripts
|
||||
script(type='text/javascript', src='/js/Sortable.js')
|
||||
|
||||
body.bg-light
|
||||
block navbar
|
||||
include navbar.pug
|
||||
|
||||
.u-spaceSm.u-md-spaceLg
|
||||
block content
|
||||
.Panel
|
||||
.Panel-header
|
||||
h2.Panel-title Panel
|
||||
.Panel-body
|
||||
.Panel-row Panel Row
|
||||
.Panel-row Roster
|
||||
.Panel-row Opponents
|
||||
|
||||
block footer
|
||||
.u-padMd.u-borderTop
|
||||
.u-max1200.u-flexExpandSides.Grid
|
||||
.Grid-cell.u-md-size1of2
|
||||
p.u-textCenter.u-md-textLeft
|
||||
| Copyright © 2023 BenchCoach. BenchCoach is not affiliated with TeamSnap, inc.
|
||||
.Grid-cell.u-md-size1of2
|
||||
p.u-textCenter.u-md-textRight
|
||||
|
||||
block scripts
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
header.Header
|
||||
.Header-container.Grid.u-flexAlignItemsCenter
|
||||
.Grid-cell.u-sizeFill
|
||||
.Header-banner.Grid.u-flexAlignItemsCenter
|
||||
a.Grid-cell.u-sizeFit.u-flexInline.u-flexAlignItemsCenter.u-textDecorationNone href=url_for(root_path)
|
||||
div.Header-bannerLogo
|
||||
img(class='logo' src='/media/benchcoach.svg' alt='BenchCoach Logo')
|
||||
span
|
||||
- if defined?(team)
|
||||
h1.Header-bannerTitle #{team.name}
|
||||
- else
|
||||
h1.Header-bannerTitle BenchCoach
|
||||
.Grid-cell.u-flexInline.u-flexJustifyEnd.u-sizeFill.u-padSidesSm
|
||||
- if @user
|
||||
.Popup
|
||||
.Button.Button--small.Popup-toggle onclick="this.closest('.Popup').querySelector('.Popup-container').classList.toggle('is-open')"
|
||||
| Account
|
||||
.Popup-container.Popup-container--down.Popup-container--right.u-sizeFit
|
||||
.Popup-content.u-padXs.u-sizeFit.u-fontSizeSm
|
||||
h6.title.u-textNoWrap.u-fontSizeSm.u-textSemiBold="#{@user['first_name']} #{@user['last_name']}"
|
||||
.u-textNoWrap.u-fontSizeSm="#{@user['email']}"
|
||||
hr.Divider.u-spaceEndsNone
|
||||
a href=url_for(logout_path) Logout
|
||||
|
||||
.Grid-cell.u-sizeFit
|
||||
Reference in New Issue
Block a user