diff --git a/TODO b/TODO index 36f93a5..2f6912a 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,7 @@ -* During setup, make period time and scores input fields -* Display clickable timing presets during setup -* A popup logo browser would be nice -* use chrome.mediaGalleries to load logos +* User-Provided Logos + * Default to Kitty + * Add Color Picker + * chrome.fileSystem.retainEntry + * onload handler: check if width=0 and height=0 + * use chrome.power to keep the display on diff --git a/flag-ca.html b/flag-ca.html deleted file mode 100644 index 1cd69b3..0000000 --- a/flag-ca.html +++ /dev/null @@ -1,4 +0,0 @@ - -
- Here are the logos currently shipping with the - free Woozle Scoreboard. If you'd like - yours added, email your team name, preferred short name, and logo - to neale@woozle.org. -
- - - diff --git a/logos/logos.js b/logos/logos.js deleted file mode 100644 index 46c2733..0000000 --- a/logos/logos.js +++ /dev/null @@ -1,55 +0,0 @@ -teams = [ - ["LA", "bombs.png", "Los Alamos M'Atom Bombs"], - ["ARG", "animas.png", "Animas Valley Roller Girls"], - ["Taos", "taos.png", "Taos Whiplashes"], - ["RIP", "rip.png", "Rollergirls In Pagosa"], - ["4CRG", "4crg.png", "4 Corners Roller Girls"], - ["DRG", "durango.png", "Durango Roller Girls"], - ["SFe", "brawlers.png", "Disco Brawlers"], - ["HCRD", "aurora.png", "High City Derby Divas"], - ["Moab", "moab.png", "Moab Roller Derby"], - ["Bots", "hobots.png", "Albuquerque Ho-Bots"], - ["HNR", "hustlen.png", "HCDD Hustle N' Rollers"], - ["DD", "doubledown.png", "HCDD Double Down"], - ["DCD", "dcd.png", "Duke City Derby"], - ["RMRG", "rmrg.png", "Rocky Mountain Roller Girls"], - ["DD", "doomsdames.png", "Albuquerque Doomsdames"], - ["TEX", "texpistols.png", "El Paso Tex Pistols"], - ["PWH", "pistol.png", "El Paso Pistol Whip-Hers"], - ["MT", "minorthreat.png", "Minor Threat"], - ["CCR", "choicecity.png", "Choice City Rebels"], - ["DIA", "dia.png", "Derby Intelligence Agency"], - ["TRD", "tucson.png", "Tucson Roller Derby"], - ["TST", "saddletramps.jpg", "Tucson Saddle Tramps"], - ["TC", "tallcity.png", "Tall City Roller Betties"], - ["SS", "ssdd.png", "South Side Derby Dames"], - ["WTRD", "wtrd.png", "West Texas Roller Dollz"], - ["FDD", "fdd.png", "Faultline Derby Devilz"], - ["CHPA", "chupas.png", "New Mexico Chupacabras"], - ["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"], - ["BBDD", "bbdd.png", "Battle Born Derby Demons"], - ["OKVD", "okvd.png", "Oklahoma Victory Dolls"], - ["MM", "munecas.png", "Muñecas Muertas"], - ["MARI", "marionettes.png", "Albuquerque Marionettes"], - ["QSDD", "qsdd.png", "Quad Skate Derby Dames"], - ["BWBS", "bwbs.png", "Backwoods Bombshells"], - ["CRH", "redhots.png", "Chicago Red Hots"], - ["HCRG", "campers.png", "Happy Camper Rollergirls"] -]; -teams.sort(); - -// Add special teams at the beginning -teams.splice(0, 0, - ["Blk", "black.png", "Black Team"], - ["Wht", "white.png", "White Team"], - ["Red", "red.png", "Red Team"], - ["Rng", "orange.png", "Orange Team"], - ["Ylo", "yellow.png", "Yellow Team"], - ["Grn", "green.png", "Green Team"], - ["Blu", "blue.png", "Blue Team"], - ["Vlt", "violet.png", "Violet Team"] -); diff --git a/logos/marionettes.png b/logos/marionettes.png deleted file mode 100644 index 635dfb9..0000000 Binary files a/logos/marionettes.png and /dev/null differ diff --git a/logos/minorthreat.png b/logos/minorthreat.png deleted file mode 100644 index aac503c..0000000 Binary files a/logos/minorthreat.png and /dev/null differ diff --git a/logos/moab.png b/logos/moab.png deleted file mode 100644 index 9c71bb0..0000000 Binary files a/logos/moab.png and /dev/null differ diff --git a/logos/munecas.png b/logos/munecas.png deleted file mode 100644 index 30dae0a..0000000 Binary files a/logos/munecas.png and /dev/null differ diff --git a/logos/okvd.png b/logos/okvd.png deleted file mode 100644 index 161fe01..0000000 Binary files a/logos/okvd.png and /dev/null differ diff --git a/logos/orange.png b/logos/orange.png deleted file mode 100644 index e830464..0000000 Binary files a/logos/orange.png and /dev/null differ diff --git a/logos/pistol.png b/logos/pistol.png deleted file mode 100644 index 4fdc843..0000000 Binary files a/logos/pistol.png and /dev/null differ diff --git a/logos/plague.png b/logos/plague.png deleted file mode 100644 index 4f7b10e..0000000 Binary files a/logos/plague.png and /dev/null differ diff --git a/logos/qsdd.png b/logos/qsdd.png deleted file mode 100644 index 33fb898..0000000 Binary files a/logos/qsdd.png and /dev/null differ diff --git a/logos/red.png b/logos/red.png deleted file mode 100644 index 8e46441..0000000 Binary files a/logos/red.png and /dev/null differ diff --git a/logos/redhots.png b/logos/redhots.png deleted file mode 100644 index 5dee613..0000000 Binary files a/logos/redhots.png and /dev/null differ diff --git a/logos/rip.png b/logos/rip.png deleted file mode 100644 index 6d98c6b..0000000 Binary files a/logos/rip.png and /dev/null differ diff --git a/logos/rmrg.png b/logos/rmrg.png deleted file mode 100644 index 2f93072..0000000 Binary files a/logos/rmrg.png and /dev/null differ diff --git a/logos/saddletramps.jpg b/logos/saddletramps.jpg deleted file mode 100644 index ecaf098..0000000 Binary files a/logos/saddletramps.jpg and /dev/null differ diff --git a/logos/sirens.png b/logos/sirens.png deleted file mode 100644 index 51c5374..0000000 Binary files a/logos/sirens.png and /dev/null differ diff --git a/logos/skate.png b/logos/skate.png deleted file mode 100644 index 8a63311..0000000 Binary files a/logos/skate.png and /dev/null differ diff --git a/logos/ssdd.png b/logos/ssdd.png deleted file mode 100644 index e7841f4..0000000 Binary files a/logos/ssdd.png and /dev/null differ diff --git a/logos/tallcity.png b/logos/tallcity.png deleted file mode 100644 index b846a15..0000000 Binary files a/logos/tallcity.png and /dev/null differ diff --git a/logos/taos.png b/logos/taos.png deleted file mode 100644 index b00f3d6..0000000 Binary files a/logos/taos.png and /dev/null differ diff --git a/logos/texpistols.png b/logos/texpistols.png deleted file mode 100644 index 4c6c474..0000000 Binary files a/logos/texpistols.png and /dev/null differ diff --git a/logos/tucson.png b/logos/tucson.png deleted file mode 100644 index 064b73c..0000000 Binary files a/logos/tucson.png and /dev/null differ diff --git a/logos/tulare-kings.png b/logos/tulare-kings.png deleted file mode 100644 index 1baddb1..0000000 Binary files a/logos/tulare-kings.png and /dev/null differ diff --git a/logos/violet.png b/logos/violet.png deleted file mode 100644 index 2067579..0000000 Binary files a/logos/violet.png and /dev/null differ diff --git a/logos/wftda.png b/logos/wftda.png deleted file mode 100644 index b55f3ce..0000000 Binary files a/logos/wftda.png and /dev/null differ diff --git a/logos/white.png b/logos/white.png deleted file mode 100644 index d6cfcb7..0000000 Binary files a/logos/white.png and /dev/null differ diff --git a/logos/wtrd.png b/logos/wtrd.png deleted file mode 100644 index 155ff19..0000000 Binary files a/logos/wtrd.png and /dev/null differ diff --git a/logos/yellow.png b/logos/yellow.png deleted file mode 100644 index 50d72ba..0000000 Binary files a/logos/yellow.png and /dev/null differ diff --git a/manifest.json b/manifest.json index 98e1ab5..6578ca5 100644 --- a/manifest.json +++ b/manifest.json @@ -15,6 +15,7 @@ }, "permissions": [ "storage", + "fileSystem", "fullscreen" ], "default_locale": "en", diff --git a/res/Flag_of_Canada.svg b/res/Flag_of_Canada.svg deleted file mode 100644 index 137eced..0000000 --- a/res/Flag_of_Canada.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/res/Flag_of_Mexico.svg b/res/Flag_of_Mexico.svg deleted file mode 100644 index 7ed18fa..0000000 --- a/res/Flag_of_Mexico.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/res/Flag_of_the_United_States.svg b/res/Flag_of_the_United_States.svg deleted file mode 100644 index f02c7a8..0000000 --- a/res/Flag_of_the_United_States.svg +++ /dev/null @@ -1,12 +0,0 @@ - - \ No newline at end of file diff --git a/res/Magenta.woff b/res/Magenta.woff deleted file mode 100644 index f03433c..0000000 Binary files a/res/Magenta.woff and /dev/null differ diff --git a/res/PermanentMarker.woff b/res/PermanentMarker.woff deleted file mode 100644 index 756566a..0000000 Binary files a/res/PermanentMarker.woff and /dev/null differ diff --git a/res/Ubuntu-Bold.ttf b/res/Ubuntu-Bold.ttf new file mode 100644 index 0000000..c0142fe Binary files /dev/null and b/res/Ubuntu-Bold.ttf differ diff --git a/res/Ubuntu-Medium.ttf b/res/Ubuntu-Medium.ttf new file mode 100644 index 0000000..443ec8b Binary files /dev/null and b/res/Ubuntu-Medium.ttf differ diff --git a/res/background.js b/res/background.js index ba095fb..549f4e2 100644 --- a/res/background.js +++ b/res/background.js @@ -1,5 +1,5 @@ chrome.app.runtime.onLaunched.addListener(function() { - chrome.app.window.create('../scoreboard.html', { + chrome.app.window.create('res/scoreboard.html', { 'state': 'fullscreen' }) }) diff --git a/res/kitty.png b/res/kitty.png new file mode 100644 index 0000000..369f1dd Binary files /dev/null and b/res/kitty.png differ diff --git a/res/kitty.svg b/res/kitty.svg index ac85522..a113895 100644 --- a/res/kitty.svg +++ b/res/kitty.svg @@ -16,9 +16,9 @@ id="svg10326" inkscape:version="0.48.4 r9939" sodipodi:docname="kitty.svg" - inkscape:export-filename="/home/neale/src/scoreboard/res/icon.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> + inkscape:export-filename="/home/neale/src/scoreboard/res/kitty.png" + inkscape:export-xdpi="226.56" + inkscape:export-ydpi="226.56">