From: Christian Weiske Date: Tue, 12 May 2020 05:32:32 +0000 (+0200) Subject: Make HTML valid X-Git-Tag: v2.0.0~6 X-Git-Url: https://git.cweiske.de/stouyapi.git/commitdiff_plain/160e2a4ac460ae5114018d584f98ee7d8a2c52bc Make HTML valid --- diff --git a/data/templates/discover.tpl.php b/data/templates/discover.tpl.php index 207e900..a0e239c 100644 --- a/data/templates/discover.tpl.php +++ b/data/templates/discover.tpl.php @@ -1,5 +1,5 @@ - - + + OUYA: <?= htmlspecialchars($title); ?> @@ -9,7 +9,7 @@

- +
@@ -23,7 +23,7 @@

title) ?>

thumb != ''): ?> - + Screenshot of <?= htmlspecialchars($tile->detailUrl) ?> type == 'app' && $tile->ratingCount > 0): ?>

diff --git a/data/templates/game.tpl.php b/data/templates/game.tpl.php index d9e8113..0064ba9 100644 --- a/data/templates/game.tpl.php +++ b/data/templates/game.tpl.php @@ -1,5 +1,5 @@ - - + + <?= htmlspecialchars($json->title); ?> - OUYA game @@ -8,7 +8,7 @@

- +

title); ?>

@@ -61,6 +61,7 @@
+

Links

Download .apk

diff --git a/www/ouya-game.css b/www/ouya-game.css index 718c3e1..611df21 100644 --- a/www/ouya-game.css +++ b/www/ouya-game.css @@ -91,7 +91,9 @@ nav { max-height: 50vh; } - +.buttons h2 { + display: none; +} .buttons a { font-size: 1.5rem; color: #CCC;