Add crg-nologo style, Whistler CA teams

This commit is contained in:
Neale Pickett 2013-04-13 00:37:39 -06:00
parent ea96229414
commit d01663f5ee
8 changed files with 62 additions and 50 deletions

View File

@ -79,7 +79,7 @@
<ul>
<li><a href="scoreboard.html">Normal layout</a> similar to most
other roller derby scoreboards</li>
<li><a href="crg.html">CRG-style layout</a></li>
<li><a href="crg.html">CRG-style layout</a>, or <a href="crg-nologo.html">CRG without logos</a></li>
<li><a href="penalties.html">Penalty tracking</a> layout</li>
<li><a href="highvis.html">High-visibility</a> for
low-power projectors or outdoor bouts</li>

BIN
logos/bd-betties.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
logos/blue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -29,6 +29,8 @@ teams = [
["TKRD", "tulare-kings.png", "Tulare Kings Roller Derby"],
["CHRY", "cherries.png", "Los Alamos Cherry Bombs"],
["PLG", "plague.png", "Zombie Plague"],
["BDB", "bd-betties.png", "Black Diamond Betties"],
["SKS", "sirens.png", "Sea to Sky Sirens"],
];
teams.sort();
@ -37,5 +39,6 @@ teams.splice(0, 0,
["Blk", "black.png", "Black Team"],
["Wht", "white.png", "White Team"],
["Grn", "green.png", "Green Team"],
["Rng", "orange.png", "Orange Team"]
["Rng", "orange.png", "Orange Team"],
["Blu", "blue.png", "Blue Team"]
);

BIN
logos/sirens.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@ -50,6 +50,10 @@ body {
right: 0;
}
.center {
text-align: center;
}
.logo {
max-width: 1.8em;
max-height: 2em;
@ -126,6 +130,11 @@ body {
bottom: 1.4em;
}
#advert {
margin-top: 1.4em;
max-height: 2em;
max-width: 5em;
}
.score {
position: absolute;

View File

@ -1,59 +1,59 @@
<!DOCTYPE html>
<!--
Roller Derby Scoreboard Copyright © 2011 Neale Pickett
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 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.
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/>.
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">
<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">
<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>
</p>
<head>
<title>LADD Scoreboard</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="res/scoreboard.css">
<script type="text/javascript" src="logos/logos.js"></script>
<script type="text/javascript" src="res/scoreboard.js"></script>
<script type="text/javascript" src="res/adverts.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">
<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>
</p>
<p class="center">
<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>
<p class="center">
<span id="period" onclick="handle(event);">--:--</span>
<img id="no-advert" src="error.jpg" onerror="adverterror()">
<span id="jam" onclick="handle(event);">-:--.-</span>
<span id="jamtext" onclick="handle(event);"></span>
</p>
<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>
</p>
</div>
<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>
</p>
</div>
<div id="notice">
</div>
</body>
<div id="notice">
</div>
</body>
</html>