woozle-scoreboard/classic.html

101 lines
3.2 KiB
HTML
Raw Permalink Normal View History

2012-07-13 19:05:20 -06:00
<!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">
<link rel="stylesheet" type="text/css" href="res/scoreboard.css">
<style type="text/css">
#name-a, #name-b {
2012-09-16 22:32:45 -06:00
font-family: PermanentMarker, monospace, sans-serif;
2012-07-13 19:05:20 -06:00
position: absolute;
top: 0;
font-size: 75%;
}
#name-a {
left: 0;
}
#name-b {
right: 0;
}
2012-09-16 22:32:45 -06:00
.logo {
margin-top: 1em;
2012-07-13 19:05:20 -06:00
max-height: 1.5em;
}
#score-a, #score-b {
2012-09-16 22:32:45 -06:00
position: absolute;
2012-07-13 19:05:20 -06:00
font-size: 90%;
2012-09-16 22:32:45 -06:00
top: auto;
bottom: 0em;
2012-07-13 19:05:20 -06:00
}
#jammer-a, #jammer-b {
bottom: 1.5em;
}
#timeouts-a, #timeouts-b {
bottom: 3em;
}
</style>
<script type="text/javascript" src="logos/logos.js"></script>
<script type="text/javascript" src="res/scoreboard.js"></script>
</head>
<body>
<!--
HTML5 says not to use tables for layout. Since this is
a highly-styled page, it looks awful without CSS. Sorry.
-->
<div id="scoreboard">
2012-09-16 22:32:45 -06:00
<p class="left">
<span class="name" id="name-a" onclick="handle(event);">Home</span>
<img class="logo" src="" alt="A" id="logo-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-13 19:05:20 -06:00
</p>
<p>
<span id="period" onclick="handle(event);">--:--</span>
<span id="periodtext" 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">
<span class="name" id="name-b" onclick="handle(event);">Vis</span>
<img class="logo" src="" alt="B" id="logo-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-13 19:05:20 -06:00
</p>
</div>
<div id="notice">
<div id="notice-1">Power Jam</div>
<div id="notice-2">Grand Slam</div>
<div id="notice-3">Ouch</div>
<div id="notice-4">OMG</div>
</div>
</body>
</html>