credits
This commit is contained in:
parent
fcc1b49740
commit
b6d9786cb5
2 changed files with 52 additions and 3 deletions
40
_sakura/templates/yuuno/main/credits.tpl
Normal file
40
_sakura/templates/yuuno/main/credits.tpl
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{% include 'global/header.tpl' %}
|
||||||
|
<div class="content standalone markdown">
|
||||||
|
<h1>Credits</h1>
|
||||||
|
<p>This is the Flashii Sakura contributor list.</p>
|
||||||
|
<h3>People</h3>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for contribname, contributor in contributors %}
|
||||||
|
<tr>
|
||||||
|
<td><a href="{{ contributors[1] }}" target="_blank">{{ contribname }}</a></td>
|
||||||
|
<td>{{ contributors[0] }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<h3>Tools</h3>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Service</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for thirdName, thirdData in thirdParty %}
|
||||||
|
<tr>
|
||||||
|
<td><a href="{{ thirdData[1] }}" target="_blank">{{ thirdName }}</a></td>
|
||||||
|
<td>{{ thirdData[0] }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
{% include 'global/footer.tpl' %}
|
|
@ -11,9 +11,18 @@ require_once '/var/www/flashii.net/_sakura/sakura.php';
|
||||||
|
|
||||||
// Add page specific things
|
// Add page specific things
|
||||||
$renderData['page'] = [
|
$renderData['page'] = [
|
||||||
'title' => 'Flashii Dev'
|
'title' => 'Sakura Credits'
|
||||||
|
];
|
||||||
|
$renderData['contributors'] = [
|
||||||
|
'Flashwave' => ['Main contributer and owner of the site.', 'http://flash.moe'],
|
||||||
|
'Kurasha244' => ['Writing the base for the old backend.', 'http://saibateku.net'],
|
||||||
|
'nookls' => ['Code guidance and debug help.', 'http://nookls.org'],
|
||||||
|
'MallocNull' => ['Sock Chat and debug help.', 'http://aroltd.com']
|
||||||
|
];
|
||||||
|
$renderData['thirdParty'] = [
|
||||||
|
'ReCAPTCHA' => ['Providing the Captcha system we use.', 'http://recaptcha.net'],
|
||||||
|
'Twig' => ['The templating engine used by Sakura.', 'http://twig.sensiolabs.org/']
|
||||||
];
|
];
|
||||||
$renderData['newsPosts'] = Main::getNewsPosts(3);
|
|
||||||
|
|
||||||
// Print page contents
|
// Print page contents
|
||||||
print Main::$_TPL->render('main/index.tpl', $renderData);
|
print Main::$_TPL->render('main/credits.tpl', $renderData);
|
||||||
|
|
Reference in a new issue