diff --git a/index.html b/index.html
index 81ef9b3..787ca08 100644
--- a/index.html
+++ b/index.html
@@ -31,7 +31,7 @@ font-size: 30pt;
img {
border-style: none;
}
-th { text-align: left; padding-right: 2em; }
+th, td { text-align: left; padding-right: 2em; }
.good { color: #2a2; }
.bad { color: #a22; }
.ugly { color: #c82; }
@@ -72,13 +72,10 @@ beta software at this point. Browser support breakdown:
| Chrome, Firefox, Safari
- | Aces! Works great! We think!
+ | Aces! Works great! (We think!)
|
- | Opera, Mobile Safari
- | Visual glitches.
- |
- | Internet Explorer
- | Visual glitches. Can't save games.
+ | Opera, Mobile Safari, Internet Explorer
+ | Some visual glitches. Should play fine.
|
diff --git a/main.js b/main.js
index e96c3ec..d21ac97 100644
--- a/main.js
+++ b/main.js
@@ -407,7 +407,8 @@ function ProgressBar(id, tmpl) {
// Update UI
if (this.bar) {
- this.bar.css("width", 100 * this.Position() / this.Max() + "%");
+ var p = this.Max() ? 100 * this.Position() / this.Max() : 0;
+ this.bar.css("width", p + "%");
this.bar.parent().find(".hint").text(game[this.id].hint);
}
};
@@ -1054,7 +1055,7 @@ function LoadGame(sheet) {
var title = "Progress Quest - " + GameSaveName();
$("#title").text(title);
if (iOS) title = GameSaveName();
- $("title").text(title);
+ document.title = title;
}
diff --git a/publish.py b/publish.py
index ef1b6ed..13cdddf 100755
--- a/publish.py
+++ b/publish.py
@@ -1,7 +1,7 @@
#!/usr/bin/python
"""Publish this game here to server"""
-import subprocess
+import subprocess, sys
manifest = [
"*.html",
@@ -14,14 +14,17 @@ manifest = [
"back.jpg",
"dicebar.jpg",
"close*.png",
+ "touch-icon.png",
+ "ipad-ad.jpg",
"*.css"]
includes = sum(map(list, zip(["--include"] * len(manifest), manifest)), [])
destination = "progressquest.com:www/progressquest.com/play/"
print manifest
-output = subprocess.call(
- ["rsync",
- #"--dry-run",
+args = (
+ ["rsync"] +
+ sys.argv[1:] +
+ [#"--dry-run",
"--verbose",
"--compress",
"--checksum",
@@ -31,8 +34,11 @@ output = subprocess.call(
#"--itemize-changes",
"--delete",
"--delete-excluded",
- "--times",
- ] + includes + [
- "--exclude", "*",
+ "--times"] +
+ includes +
+ ["--exclude", "*",
"./",
destination])
+
+print args
+output = subprocess.call(args)
diff --git a/roster.html b/roster.html
index e64bd15..48e1dfe 100644
--- a/roster.html
+++ b/roster.html
@@ -46,7 +46,7 @@ p {
color: blue;
text-decoration: none;
}
-a.icon {
+a.icon.go {
font-size: 3em;
}
a.x, a.sheet {
@@ -126,8 +126,8 @@ img {
$bestequip / $bestspell / $beststat
- ☠
-
+ ☠
+
|