woozle-scoreboard/penalties.html

141 lines
3.7 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<!--
Roller Derby Scoreboard Copyright © 2011 Neale Pickett
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
<http://www.gnu.org/licenses/>.
-->
<html>
<head>
<title>LADD Scoreboard</title>
<meta charset="utf-8">
2012-07-13 19:05:20 -06:00
<link rel="stylesheet" type="text/css" href="res/scoreboard.css">
<style type="text/css">
2012-09-17 08:01:45 -06:00
#jam {
bottom: auto;
top: 2em;
2012-07-06 23:45:03 -06:00
}
#jamtext {
2012-09-17 08:01:45 -06:00
bottom: auto;
top: 1.5em;
2012-07-06 23:45:03 -06:00
}
#jamno {
2012-09-17 08:01:45 -06:00
bottom: auto;
2012-07-06 23:45:03 -06:00
top: 3em;
}
2012-09-17 08:01:45 -06:00
.timeouts {
margin: 0em 6em;
2012-07-06 23:45:03 -06:00
}
2012-09-17 08:01:45 -06:00
.jammer {
margin: 0em 3em;
2012-07-06 23:51:25 -06:00
}
2012-07-06 23:45:03 -06:00
/*
* Penalties
*/
#penalties-a, #penalties-b {
position: absolute;
font-size: 13%;
bottom: 2px;
border-collapse: collapse;
}
2012-07-06 23:45:03 -06:00
#penalties-a {
left: 0;
}
#penalties-b {
right: 0;
}
#penalties td {
cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.075);
padding: 0;
vertical-align: bottom;
}
#penalties .minors td {
height: 3em;
}
#penalties .majors td {
height: 8em;
}
#penalties .minors div {
background-color: #880;
color: black;
}
#penalties .majors div {
background-color: #800;
}
#penalties .sk8ers td {
font-family: sans-serif;
vertical-align: top;
width: 1em;
line-height: 75%;
}
</style>
2012-07-13 19:05:20 -06:00
<script type="text/javascript" src="logos/logos.js"></script>
<script type="text/javascript" src="res/scoreboard.js"></script>
<script type="text/javascript" src="res/penalties.js"></script>
2012-09-17 08:01:45 -06:00
<script type="text/javascript">
tenths = true;
</script>
</head>
2012-07-06 23:45:03 -06:00
<body>
<div id="scoreboard">
2012-09-16 22:32:45 -06:00
<p class="left">
<img class="logo" id="logo-a" src="" alt="A" onclick="handle(event);">
<span class="timeouts" id="timeouts-a" onclick="handle(event);">0</span>
<span class="jammer" id="jammer-a" onclick="handle(event);"></span>
<span class="score" id="score-a" onclick="handle(event);">-</span>
2012-07-06 23:45:03 -06:00
</p>
2012-09-16 22:32:45 -06:00
<p class="center">
2012-07-06 23:45:03 -06:00
<span id="period" onclick="handle(event);">--:--</span>
<span id="jam" onclick="handle(event);">-:--.-</span>
<span id="jamtext" onclick="handle(event);"></span>
<span id="jamno" onclick="handle(event);">0</span>
</p>
2012-09-16 22:32:45 -06:00
<p class="right">
<img class="logo" id="logo-b" src="" alt="B" onclick="handle(event);">
<span class="timeouts" id="timeouts-b" onclick="handle(event);">0</span>
<span class="jammer" id="jammer-b" onclick="handle(event);"></span>
<span class="score" id="score-b" onclick="handle(event);">-</span>
2012-07-06 23:45:03 -06:00
</p>
</div>
<div id="penalties">
<table id="penalties-a">
<tr class="majors"></tr>
<tr class="sk8ers"></tr>
</table>
<!-- Right here would be an excellent place for a sponsor logo -->
<table id="penalties-b">
<tr class="majors"></tr>
<tr class="sk8ers"></tr>
</table>
</div>
<div id="notice">
<div id="notice-1">Power Jam</div>
<div id="notice-2">Grand Slam</div>
2012-07-06 23:51:25 -06:00
<div id="notice-3">Ouch</div>
<div id="notice-4">OMG</div>
</div>
</body>
</html>