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 { img {
border-style: none; border-style: none;
} }
th { text-align: left; padding-right: 2em; } th, td { text-align: left; padding-right: 2em; }
.good { color: #2a2; } .good { color: #2a2; }
.bad { color: #a22; } .bad { color: #a22; }
.ugly { color: #c82; } .ugly { color: #c82; }
@@ -72,13 +72,10 @@ beta software at this point. Browser support breakdown:
<table> <table>
<tr> <tr>
<th class=good>Chrome, Firefox, Safari <th class=good>Chrome, Firefox, Safari
<td>Aces! Works great! We think! <td>Aces! Works great! (We think!)
<tr> <tr>
<th class=ugly>Opera, Mobile Safari <th class=ugly>Opera, Mobile Safari, Internet Explorer
<td>Visual glitches. <td>Some visual glitches. Should play fine.
<tr>
<th class=bad>Internet Explorer
<td>Visual glitches. Can't save games.
</table> </table>
</center> </center>
+3 -2
View File
@@ -407,7 +407,8 @@ function ProgressBar(id, tmpl) {
// Update UI // Update UI
if (this.bar) { 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); this.bar.parent().find(".hint").text(game[this.id].hint);
} }
}; };
@@ -1054,7 +1055,7 @@ function LoadGame(sheet) {
var title = "Progress Quest - " + GameSaveName(); var title = "Progress Quest - " + GameSaveName();
$("#title").text(title); $("#title").text(title);
if (iOS) title = GameSaveName(); if (iOS) title = GameSaveName();
$("title").text(title); document.title = title;
} }
+13 -7
View File
@@ -1,7 +1,7 @@
#!/usr/bin/python #!/usr/bin/python
"""Publish this game here to server""" """Publish this game here to server"""
import subprocess import subprocess, sys
manifest = [ manifest = [
"*.html", "*.html",
@@ -14,14 +14,17 @@ manifest = [
"back.jpg", "back.jpg",
"dicebar.jpg", "dicebar.jpg",
"close*.png", "close*.png",
"touch-icon.png",
"ipad-ad.jpg",
"*.css"] "*.css"]
includes = sum(map(list, zip(["--include"] * len(manifest), manifest)), []) includes = sum(map(list, zip(["--include"] * len(manifest), manifest)), [])
destination = "progressquest.com:www/progressquest.com/play/" destination = "progressquest.com:www/progressquest.com/play/"
print manifest print manifest
output = subprocess.call( args = (
["rsync", ["rsync"] +
#"--dry-run", sys.argv[1:] +
[#"--dry-run",
"--verbose", "--verbose",
"--compress", "--compress",
"--checksum", "--checksum",
@@ -31,8 +34,11 @@ output = subprocess.call(
#"--itemize-changes", #"--itemize-changes",
"--delete", "--delete",
"--delete-excluded", "--delete-excluded",
"--times", "--times"] +
] + includes + [ includes +
"--exclude", "*", ["--exclude", "*",
"./", "./",
destination]) destination])
print args
output = subprocess.call(args)
+3 -3
View File
@@ -46,7 +46,7 @@ p {
color: blue; color: blue;
text-decoration: none; text-decoration: none;
} }
a.icon { a.icon.go {
font-size: 3em; font-size: 3em;
} }
a.x, a.sheet { a.x, a.sheet {
@@ -126,8 +126,8 @@ img {
<div class="bs">$bestequip / $bestspell / $beststat</div> <div class="bs">$bestequip / $bestspell / $beststat</div>
</td> </td>
<td> <td>
<a class="x" href="#">&#x2620</a><br> <a class="icon x" href="#">&#x2620;</a><br>
<!-- <a class="sheet" href="#">&#x270F</a> --> <!-- <a class="sheet" href="#">&#x270F;</a> -->
</td> </td>
</tr> </tr>
</table> </table>