mirror of
https://bitbucket.org/grumdrig/pq-web.git
synced 2026-09-29 00:34:00 -06:00
Fixes for IE
This commit is contained in:
+4
-7
@@ -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>
|
||||
|
||||
|
||||
@@ -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
@@ -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
@@ -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="#">☠</a><br>
|
||||
<!-- <a class="sheet" href="#">✏</a> -->
|
||||
<a class="icon x" href="#">☠</a><br>
|
||||
<!-- <a class="sheet" href="#">✏</a> -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user