mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* redo page render following the logic of:
Response ─┬─> TextResponse ─> TextResponseImpl
└─> TemplateResponse ─> TemplateResponseImpl
* split up giant files, one per response path
* caching becomes a trait, implemented where necessary
* TextResponses (Ajax) can now be cached
* make use of previously defined php classes for js objects
* Tabs, Listview, Tooltip, Announcement, Markup, Book, ...
* \Aowow\Template\PageTemplate is the new class to be cached
* do not discard error messages generated after vars have been sent to template
and store in session for display at a later time
* implement tracking consent management
* move logic out of template into their respective endpoints
23 lines
921 B
PHP
23 lines
921 B
PHP
<?php namespace Aowow\Template; ?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="pragma" content="no-cache" />
|
|
<meta http-equiv="expires" content="-1" />
|
|
<title>Maintenance</title>
|
|
|
|
<style type="text/css">
|
|
body { text-align: center; font-family: Arial; background-color: black; color: white }
|
|
.maintenance { background: url(<?=$this->gStaticUrl; ?>/images/logos/home.png) no-repeat center top; width: 900px; margin: 40px auto; text-align: center; padding-top: 70px; }
|
|
.maintenance div { color: #00DD00; font-weight: bold; padding: 20px }
|
|
.maintenance p { background: url(<?=$this->gStaticUrl; ?>/images/maintenance/brbgnomes.jpg) no-repeat center bottom; padding-bottom: 300px }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="maintenance">
|
|
<div>The website is currently closed for maintenance.</div>
|
|
<p>This will take a few minutes...</p>
|
|
</div>
|
|
</body>
|
|
</html>
|