From 160e2a4ac460ae5114018d584f98ee7d8a2c52bc Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 12 May 2020 07:32:32 +0200 Subject: [PATCH] Make HTML valid --- data/templates/discover.tpl.php | 8 ++++---- data/templates/game.tpl.php | 7 ++++--- www/ouya-game.css | 4 +++- 3 files changed, 11 insertions(+), 8 deletions(-) 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; -- 2.30.2