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> </style>
<script type="text/javascript" src="logos.js"></script> <script type="text/javascript" src="logos/logos.js"></script>
<script type="text/javascript" src="scoreboard.js"></script> <script type="text/javascript" src="res/scoreboard.js"></script>
<script type="text/javascript"> <script type="text/javascript">
longnames = true; longnames = true;
tenths = false; tenths = false;

View File

@ -1,4 +1,4 @@
<!DOCTYPE html> <!DOCTYPE html>
<html style="background: black;"><head><title>flag</title></head> <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> <html>

View File

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

View File

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

View File

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

View File

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

View File

@ -20,7 +20,7 @@
<head> <head>
<title>LADD Scoreboard</title> <title>LADD Scoreboard</title>
<meta charset="utf-8"> <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"> <style type="text/css">
#scoreboard { #scoreboard {
font-size: 75%; font-size: 75%;
@ -100,9 +100,9 @@
line-height: 75%; line-height: 75%;
} }
</style> </style>
<script type="text/javascript" src="logos.js"></script> <script type="text/javascript" src="logos/logos.js"></script>
<script type="text/javascript" src="scoreboard.js"></script> <script type="text/javascript" src="res/scoreboard.js"></script>
<script type="text/javascript" src="penalties.js"></script> <script type="text/javascript" src="res/penalties.js"></script>
<script type="text/javascript"> <script type="text/javascript">
window.onkeypress = key; window.onkeypress = key;
</script> </script>
@ -110,7 +110,6 @@ window.onkeypress = key;
<body> <body>
<div id="scoreboard"> <div id="scoreboard">
<p> <p>
<span id="name-a" onclick="handle(event);">Home</span>
<img src="" alt="A" id="logo-a" onclick="handle(event);"> <img src="" alt="A" id="logo-a" onclick="handle(event);">
<span id="timeouts-a" onclick="handle(event);">0</span> <span id="timeouts-a" onclick="handle(event);">0</span>
<span id="jammer-a" onclick="handle(event);"></span> <span id="jammer-a" onclick="handle(event);"></span>
@ -126,7 +125,6 @@ window.onkeypress = key;
</p> </p>
<p> <p>
<span id="name-b" onclick="handle(event);">Vis</span>
<img src="" alt="B" id="logo-b" onclick="handle(event);"> <img src="" alt="B" id="logo-b" onclick="handle(event);">
<span id="timeouts-b" onclick="handle(event);">0</span> <span id="timeouts-b" onclick="handle(event);">0</span>
<span id="jammer-b" onclick="handle(event);"></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; user-select: none;
} }
#name-a, #name-b {
display: none;
}
#logo-a, #logo-b { #logo-a, #logo-b {
position: absolute; position: absolute;
top: 0; 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. Set the logo before you change the team name.
</li> </li>
<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. list</a>, please email them to me so I can add them.
<li> <li>
Reload the page (click "Reload" or type F5) to get back to Setup Reload the page (click "Reload" or type F5) to get back to Setup
@ -192,7 +192,7 @@
<h1>Customizing</h1> <h1>Customizing</h1>
<p> <p>
If you use this, I want to add your logo and the logos of the 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>. logos</a>.
</p> </p>

View File

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