put non-scoreboards into a subdir

This commit is contained in:
Neale Pickett 2012-07-13 19:05:20 -06:00
parent c1281d457c
commit 71b3a1d23a
30 changed files with 125 additions and 34 deletions

99
classic.html Normal file
View File

@ -0,0 +1,99 @@
<!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 {
font-family: ComunicacionDigitalMedium, monospace, sans-serif;
position: absolute;
top: 0;
font-size: 75%;
}
#name-a {
left: 0;
}
#name-b {
right: 0;
}
#logo-a, #logo-b {
top: 1em;
max-height: 1.5em;
}
#score-a, #score-b {
font-size: 90%;
top: inherit;
bottom: 0;
}
#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">
<p>
<span id="name-a" onclick="handle(event);">Home</span>
<img src="" alt="A" id="logo-a" onclick="handle(event);">
<span id="timeouts-a" onclick="handle(event);">0</span>
<span id="jammer-a" onclick="handle(event);"></span>
<span id="score-a" onclick="handle(event);">-</span>
</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>
<p>
<span id="name-b" onclick="handle(event);">Vis</span>
<img src="" alt="B" id="logo-b" onclick="handle(event);">
<span id="timeouts-b" onclick="handle(event);">0</span>
<span id="jammer-b" onclick="handle(event);"></span>
<span id="score-b" onclick="handle(event);">-</span>
</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>

View File

@ -151,8 +151,8 @@ img, p {
</style>
<script type="text/javascript" src="logos.js"></script>
<script type="text/javascript" src="scoreboard.js"></script>
<script type="text/javascript" src="logos/logos.js"></script>
<script type="text/javascript" src="res/scoreboard.js"></script>
<script type="text/javascript">
longnames = true;
tenths = false;

View File

@ -1,4 +1,4 @@
<!DOCTYPE html>
<html style="background: black;"><head><title>flag</title></head>
<body><img style="max-width: 100%; max-height: 100%;" src="Flag_of_the_United_States.svg" alt="US Flag"></body>
<body><img style="max-width: 100%; max-height: 100%;" src="res/Flag_of_the_United_States.svg" alt="US Flag"></body>
<html>

View File

@ -20,7 +20,7 @@
<head>
<title>LADD Scoreboard</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="scoreboard.css">
<link rel="stylesheet" type="text/css" href="res/scoreboard.css">
<style type="text/css">
body {
background: black;
@ -66,7 +66,7 @@
font-weight: bold;
}
</style>
<script type="text/javascript" src="scoreboard.js"></script>
<script type="text/javascript" src="res/scoreboard.js"></script>
<script type="text/javascript">
window.onkeypress = key;
jamtext = ["J", "L", "T", "Setup"];

View File

@ -20,7 +20,7 @@
<head>
<title>LADD Roller Derby Scoreboard</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="res/style.css">
</head>
<body>
<h1>LADD Roller Derby Scoreboard</h1>
@ -32,7 +32,7 @@
</p>
<p id="screenshot">
<img src="screenshot.png">
<img src="res/screenshot.png">
<br>
You can <a href="scoreboard.html">try it right now</a>--it
runs in a web browser (but doesn't require Internet access).
@ -66,7 +66,7 @@
smartphones, and tablets
</li>
<li>
Ships with <a href="logos.html">an ever-expanding set of
Ships with <a href="logos/logos.html">an ever-expanding set of
team logos</a>
</li>
<li>
@ -93,7 +93,7 @@
<p>
Watch a <a href="http://youtu.be/MXOzmmnHqXU">5-minute video
tutorial</a> or read the
<a href="usage.html">Full documentation</a> which comes bundled with the
<a href="res/usage.html">Full documentation</a> which comes bundled with the
download.
</p>
@ -135,7 +135,7 @@
bargain hunting.
</li>
<li>
I also keep a <a href="others.html">list of other free
I also keep a <a href="res/others.html">list of other free
scoreboard programs</a>. If the LADD scoreboard isn't
right for you, try one of these!
</li>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>Roller Derby Logos</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="../res/style.css">
<style type="text/css">
#gallery {
}
@ -16,7 +16,7 @@
}
#gallery img
{
background: url(checkerboard.png) #282;
background: url(../res/checkerboard.png) #282;
display:inline;
float: none;
margin:3px;
@ -43,10 +43,10 @@ function gallery() {
var a = document.createElement("a");
var i = document.createElement("img");
i.setAttribute("src", "logos/" + team[1]);
i.setAttribute("src", team[1]);
i.setAttribute("alt", team[0] + " logo");
a.setAttribute("href", "logos/" + team[1]);
a.setAttribute("href", team[1]);
a.appendChild(i);
a.appendChild(document.createElement("br"));
a.appendChild(document.createTextNode(team[2] + " (" + team[0] + ")"));
@ -65,7 +65,7 @@ window.onload = gallery;
<p>
Here are the logos currently shipping with the
free <a href="index.html">LADD Scoreboard</a>. If you'd like
free <a href="../index.html">LADD Scoreboard</a>. If you'd like
yours added, email your team name, preferred short name, and logo
to <a href="mailto:neale&#64;woozle.org">neale&#64;woozle.org</a>.
</p>

View File

@ -20,7 +20,7 @@
<head>
<title>LADD Scoreboard</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="scoreboard.css">
<link rel="stylesheet" type="text/css" href="res/scoreboard.css">
<style type="text/css">
body {
background: black;
@ -51,7 +51,7 @@
margin: 0;
}
</style>
<script type="text/javascript" src="scoreboard.js"></script>
<script type="text/javascript" src="res/scoreboard.js"></script>
<script type="text/javascript">
jamtext = ["J", "L", "T", "S"];
tenths = false;

View File

@ -20,7 +20,7 @@
<head>
<title>LADD Scoreboard</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="scoreboard.css">
<link rel="stylesheet" type="text/css" href="res/scoreboard.css">
<style type="text/css">
#scoreboard {
font-size: 75%;
@ -100,9 +100,9 @@
line-height: 75%;
}
</style>
<script type="text/javascript" src="logos.js"></script>
<script type="text/javascript" src="scoreboard.js"></script>
<script type="text/javascript" src="penalties.js"></script>
<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>
<script type="text/javascript">
window.onkeypress = key;
</script>
@ -110,7 +110,6 @@ window.onkeypress = key;
<body>
<div id="scoreboard">
<p>
<span id="name-a" onclick="handle(event);">Home</span>
<img src="" alt="A" id="logo-a" onclick="handle(event);">
<span id="timeouts-a" onclick="handle(event);">0</span>
<span id="jammer-a" onclick="handle(event);"></span>
@ -126,7 +125,6 @@ window.onkeypress = key;
</p>
<p>
<span id="name-b" onclick="handle(event);">Vis</span>
<img src="" alt="B" id="logo-b" onclick="handle(event);">
<span id="timeouts-b" onclick="handle(event);">0</span>
<span id="jammer-b" onclick="handle(event);"></span>

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -42,10 +42,6 @@ body {
user-select: none;
}
#name-a, #name-b {
display: none;
}
#logo-a, #logo-b {
position: absolute;
top: 0;

View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -61,7 +61,7 @@
Set the logo before you change the team name.
</li>
<li>
If your team's logo and name isn't in <a href="logos.html">the
If your team's logo and name isn't in <a href="../logos/logos.html">the
list</a>, please email them to me so I can add them.
<li>
Reload the page (click "Reload" or type F5) to get back to Setup
@ -192,7 +192,7 @@
<h1>Customizing</h1>
<p>
If you use this, I want to add your logo and the logos of the
teams you play to the <a href="logos.html">included set of
teams you play to the <a href="../logos/logos.html">included set of
logos</a>.
</p>

View File

@ -20,9 +20,9 @@
<head>
<title>LADD Scoreboard</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="scoreboard.css">
<script type="text/javascript" src="logos.js"></script>
<script type="text/javascript" src="scoreboard.js"></script>
<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>
<!--
@ -31,7 +31,6 @@
-->
<div id="scoreboard">
<p>
<span id="name-a" onclick="handle(event);">Home</span>
<img src="" alt="A" id="logo-a" onclick="handle(event);">
<span id="timeouts-a" onclick="handle(event);">0</span>
<span id="jammer-a" onclick="handle(event);"></span>
@ -47,7 +46,6 @@
</p>
<p>
<span id="name-b" onclick="handle(event);">Vis</span>
<img src="" alt="B" id="logo-b" onclick="handle(event);">
<span id="timeouts-b" onclick="handle(event);">0</span>
<span id="jammer-b" onclick="handle(event);"></span>