diff --git a/static/css/referee_panel.css b/static/css/referee_panel.css deleted file mode 100644 index 4ac1e1c..0000000 --- a/static/css/referee_panel.css +++ /dev/null @@ -1,66 +0,0 @@ -/* - Copyright 2014 Team 254. All Rights Reserved. - Author: pat@patfairbank.com (Patrick Fairbank) -*/ - -html { - cursor: default; - -webkit-user-select: none; - -moz-user-select: none; -} -body { - background-color: #222; - padding: 50px; - color: #fff; -} -h3, h4 { - color: #fff; -} -.btn-referee { - width: 100px; - margin: 5px 5px; - font-size: 25px; - cursor: default; -} -.btn-rule { - font-size: 21px; -} -.btn-referee-wide { - width: 254px; - margin: 5px 5px; - font-size: 25px; -} -.btn { - cursor: default; -} -.btn-referee[data-selected="true"] { - border: 5px solid #fc0; - margin: 0px 5px; -} -tr { - font-size: 15px; -} -.row-red { - background-color: #cb210e; -} -.row-blue { - background-color: #028fc0; -} -.btn-card { - width: 120px; - margin: 5px 5px; - font-size: 30px; - cursor: default; - background-color: #444; - color: #fff; -} -.btn-card[data-card="yellow"] { - background-color: #dd0; -} -.btn-card[data-card="red"] { - background-color: #cb210e; -} -.btn-card[data-old-yellow-card="true"] { - border: 5px solid #ff0; - margin: 0px 5px; -} diff --git a/templates/referee_panel.html b/templates/referee_panel.html deleted file mode 100644 index 4ed24d3..0000000 --- a/templates/referee_panel.html +++ /dev/null @@ -1,125 +0,0 @@ -{{/* - Copyright 2014 Team 254. All Rights Reserved. - Author: pat@patfairbank.com (Patrick Fairbank) - - UI for entering and tracking fouls and red/yellow cards. -*/}} - - - - Referee Panel - {{.EventSettings.Name}} - Cheesy Arena - - - - - - - - - - - - {{if .EntryEnabled}} -
-
-

{{.MatchType}} Match {{.MatchDisplayName}}

-

Fouls

- - {{range $foul := .RedFouls}} - {{template "foul" dict "foul" $foul "color" "red" "rules" $.Rules}} - {{end}} - {{range $foul := .BlueFouls}} - {{template "foul" dict "foul" $foul "color" "blue" "rules" $.Rules}} - {{end}} -
-

Yellow/Red Cards

- {{template "card" dict "team" .Red1 "alliance" "red" "cards" .RedCards}} - {{template "card" dict "team" .Red2 "alliance" "red" "cards" .RedCards}} - {{template "card" dict "team" .Red3 "alliance" "red" "cards" .RedCards}} - {{template "card" dict "team" .Blue1 "alliance" "blue" "cards" .BlueCards}} - {{template "card" dict "team" .Blue2 "alliance" "blue" "cards" .BlueCards}} - {{template "card" dict "team" .Blue3 "alliance" "blue" "cards" .BlueCards}} -
-
-

Add Foul

- - -

Note: Tooltips do not contain the entire text of the rule, and depending on the circumstances the - prescribed penalty may not be a foul or tech foul. -
- If a rule does not appear here, it is because the penalty is either a yellow/red card or a free score for - the opponent, and should be applied directly.

-
- Clear Foul - -
- -
-
- Refresh -
-
-
- {{else}} -
-

Waiting for the next match...

-
- {{end}} - - - - - - - - -{{define "foul"}} - - {{.foul.TeamId}} - - {{$rule := index .rules .foul.RuleId}} - {{$rule.RuleNumber}}{{if $rule.IsTechnical}}T{{else if $rule.IsRankingPoint}}RP{{end}} - - - Delete - - -{{end}} -{{define "card"}} - {{.team.Id}}
-{{end}}