Fixes for IE

This commit is contained in:
Eric Fredricksen
2010-07-21 12:13:47 -07:00
parent 7de90e7533
commit c6e79a30f6
4 changed files with 23 additions and 19 deletions
+4 -7
View File
@@ -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:
<table>
<tr>
<th class=good>Chrome, Firefox, Safari
<td>Aces! Works great! We think!
<td>Aces! Works great! (We think!)
<tr>
<th class=ugly>Opera, Mobile Safari
<td>Visual glitches.
<tr>
<th class=bad>Internet Explorer
<td>Visual glitches. Can't save games.
<th class=ugly>Opera, Mobile Safari, Internet Explorer
<td>Some visual glitches. Should play fine.
</table>
</center>
+3 -2
View File
@@ -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;
}
+13 -7
View File
@@ -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)
+3 -3
View File
@@ -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 {
<div class="bs">$bestequip / $bestspell / $beststat</div>
</td>
<td>
<a class="x" href="#">&#x2620</a><br>
<!-- <a class="sheet" href="#">&#x270F</a> -->
<a class="icon x" href="#">&#x2620;</a><br>
<!-- <a class="sheet" href="#">&#x270F;</a> -->
</td>
</tr>
</table>