git.cweiske.de
/
stouyapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HTML frontend part 2: game details
[stouyapi.git]
/
data
/
templates
/
discover.tpl.php
diff --git
a/data/templates/discover.tpl.php
b/data/templates/discover.tpl.php
index 3c695f286b1a9ed5da2aca15ab2b055b6649a387..3376697f75e6b7008b44fa05e8654ddcdd1d14c9 100644
(file)
--- a/
data/templates/discover.tpl.php
+++ b/
data/templates/discover.tpl.php
@@
-2,11
+2,13
@@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OUYA: <?= htmlspecialchars($title); ?></title>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OUYA: <?= htmlspecialchars($title); ?></title>
+ <meta name="generator" content="stouyapi"/>
<link rel="stylesheet" type="text/css" href="../ouya-discover.css"/>
</head>
<body class="discover">
<header>
<h1><?= htmlspecialchars($title); ?></h1>
<link rel="stylesheet" type="text/css" href="../ouya-discover.css"/>
</head>
<body class="discover">
<header>
<h1><?= htmlspecialchars($title); ?></h1>
+ <img class="ouyalogo" src="../ouya-logo.grey.svg" alt="OUYA logo" width="20%"/>
</header>
<?php foreach ($sections as $section): ?>
</header>
<?php foreach ($sections as $section): ?>
@@
-34,5
+36,11
@@
</section>
<?php endforeach; ?>
</section>
<?php endforeach; ?>
+
+ <nav>
+ <?php foreach ($navLinks as $url => $title): ?>
+ <a rel="up" href="<?= htmlspecialchars($url) ?>"><?= htmlspecialchars($title) ?></a>
+ <?php endforeach ?>
+ </nav>
</body>
</html>
</body>
</html>