Skip to content

Commit

Permalink
maintenance template
Browse files Browse the repository at this point in the history
  • Loading branch information
navjottomer committed May 22, 2020
1 parent 128f54e commit 8faac8d
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions maintenance.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?php
/*
* Osclass – software for creating and publishing online classified
* advertising platforms
*
* Copyright (C) 2014 OSCLASS
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

// meta tag robots
osc_add_hook('header','bender_follow_construct');

bender_add_body_class('home');


$buttonClass = '';
$listClass = '';
if(bender_show_as() == 'gallery'){
$listClass = 'listing-grid';
$buttonClass = 'active';
}
?>
<!doctype html>
<title><?php echo ucfirst(osc_get_preference('pageTitle')) ?> is under maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>

<article>
<h1>We'll be back soon!</h1>
<div>
<p>Sorry for the inconvenience but we're performing some maintenance at the moment.
Please wait for few minutes, we&rsquo;ll be back online shortly!</p>
<p>- The <?php echo osc_get_preference('pageTitle') ?> Team</p>
</div>
</article>

0 comments on commit 8faac8d

Please sign in to comment.