Exemplo n.º 1
0
<?php

use unikent\kent_theme\KentThemeHelper;
KentThemeHelper::header(array('title' => 'Website error', 'beta_bar' => false, 'meta' => array('title' => '500 - Website error - University of Kent', 'description' => "Sorry, something's gone wrong.")));
?>
<div class="card card-overlay header-card-overlay">
	<div class="card-body">
		<div class="card-media-wrap">
			<img class="card-img" src="<?php 
KentThemeHelper::getThemeWebRoot();
?>
assets/images/wires-3x2.jpg">
		</div>
		<div class="card-img-overlay-centered card-img-overlay-tinted">
			<div class="text-xs-center">
				<h2 class="card-subtitle">Sorry, something's gone wrong.</h2>
				<?php 
if (!empty($message)) {
    ?>
<p class="card-text"><?php 
    echo $message;
    ?>
</p><?php 
}
?>
			</div>
		</div>
		<div class="card-img-overlay-bottom card-img-overlay-link card-overlay-inline-sm card-overlay-inline-nopad">
			<form method="GET" action="<?php 
echo HOME_URL;
?>
Exemplo n.º 2
0
<?php

use unikent\kent_theme\KentThemeHelper;
include dirname(dirname(__FILE__)) . "/pattern_bootstrap.php";
KentThemeHelper::header(array("title" => "{{{title}}}", "title_link" => HOME_URL . "/patterns", 'menu' => 'placeholder', 'meta' => array('title' => '{{{title}}}'), 'beta_bar' => false, 'slim' => true, 'brand_header' => true, 'main_class' => 'content-page'));
?>
	{{>breadcrumb}}
	<div class="content-header">
		<h1 class="">{{sub_title}}</h1>
	</div>
	<div class="content-container">
		<div class="content-main">
		<p class="lead">{{lead}}</p>
		{{>page_nav}}
		</div>
		{{>subnav}}
	</div>

		{{{contents}}}

		<br>
		<br>
<?php 
KentThemeHelper::footer();
Exemplo n.º 3
0
<?php

use unikent\kent_theme\KentThemeHelper;
KentThemeHelper::header(array('title' => 'Permission denied', 'beta_bar' => false, 'meta' => array('title' => '403 - Permission denied - University of Kent', 'description' => "Sorry, you don't have permission to view this page.")));
?>
<div class="card card-overlay header-card-overlay">
	<div class="card-body">
		<div class="card-media-wrap">
			<img class="card-img" src="<?php 
KentThemeHelper::getThemeWebRoot();
?>
assets/images/padlock-3x2.jpg">
		</div>
		<div class="card-img-overlay-centered card-img-overlay-tinted">
			<div class="text-xs-center">
				<h2 class="card-subtitle">Sorry, you don't have permission to view this page.</h2>
				<?php 
if (!empty($message)) {
    ?>
<p class="card-text"><?php 
    echo $message;
    ?>
</p><?php 
}
?>
			</div>
		</div>
		<div class="card-img-overlay-bottom card-img-overlay-link card-overlay-inline-sm card-overlay-inline-nopad">
			<form method="GET" action="<?php 
echo HOME_URL;
?>
Exemplo n.º 4
0
<?php

use unikent\kent_theme\KentThemeHelper;
include dirname(dirname(__FILE__)) . "/pattern_bootstrap.php";
KentThemeHelper::header(array("title" => "{{{title}}}", 'menu' => 'placeholder', 'meta' => array('title' => '{{{title}}}'), 'beta_bar' => false, 'slim' => false, 'main_class' => 'content-page'));
?>
	<br>
	<br>
	<div class="container">
	{{>home_nav}}
	<div>
<br>
<br>
<?php 
KentThemeHelper::footer();
Exemplo n.º 5
0
<?php

use unikent\kent_theme\KentThemeHelper;
KentThemeHelper::header(array('title' => 'Authentication required', 'beta_bar' => false, 'meta' => array('title' => '401 - Authentication required - University of Kent', 'description' => "Sorry, you must authenticate to view this page.")));
?>
<div class="card card-overlay header-card-overlay">
	<div class="card-body">
		<div class="card-media-wrap">
			<img class="card-img" src="<?php 
KentThemeHelper::getThemeWebRoot();
?>
assets/images/padlock-3x2.jpg">
		</div>
		<div class="card-img-overlay-centered card-img-overlay-tinted">
			<div class="text-xs-center">
				<h2 class="card-subtitle">Sorry, you must authenticate to view this page.</h2>
				<?php 
if (!empty($message)) {
    ?>
<p class="card-text"><?php 
    echo $message;
    ?>
</p><?php 
}
?>
			</div>
		</div>
		<div class="card-img-overlay-bottom card-img-overlay-link card-overlay-inline-sm card-overlay-inline-nopad">
			<form method="GET" action="<?php 
echo HOME_URL;
?>
Exemplo n.º 6
0
<?php

use unikent\kent_theme\KentThemeHelper;
KentThemeHelper::header(array('title' => 'Page not found', 'beta_bar' => false, 'meta' => array('title' => '404 - Page not found - University of Kent', 'description' => 'Sorry, we can’t find the page you’re looking for.')));
?>
<div class="card card-overlay header-card-overlay">
	<div class="card-body">
		<div class="card-media-wrap">
			<img class="card-img" src="<?php 
KentThemeHelper::getThemeWebRoot();
?>
assets/images/kent-labrynth-3x2.jpg">
		</div>
		<div class="card-img-overlay-centered card-img-overlay-tinted">
			<div class="text-xs-center">
				<h2 class="card-subtitle">Sorry, we can’t find the page you’re looking for.</h2>
				<?php 
if (!empty($message)) {
    ?>
<p class="card-text"><?php 
    echo $message;
    ?>
</p><?php 
}
?>
			</div>
		</div>
		<div class="card-img-overlay-bottom card-img-overlay-link card-overlay-inline-sm card-overlay-inline-nopad">
			<form method="GET" action="<?php 
echo HOME_URL;
?>