2019-02-27 20:39:31 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
error_reporting(E_ALL & ~E_NOTICE);
|
|
|
|
|
|
|
|
$pageLayout['full'] = <<<'FULL'
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="nl">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>lucidAuth</title>
|
|
|
|
<meta name="application-name" content="lucidAuth" />
|
|
|
|
<meta name="theme-color" content="#003399" />
|
|
|
|
<link href="misc/style.css" rel="stylesheet" />
|
|
|
|
<link href="misc/style.theme.css" rel="stylesheet" />
|
|
|
|
<link href="misc/style.button.css" rel="stylesheet" />
|
2019-03-13 09:59:12 +00:00
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
|
2019-02-27 20:39:31 +00:00
|
|
|
<script src="misc/script.translation.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="horizon">
|
|
|
|
<div id="content">
|
|
|
|
<div class="logo">
|
|
|
|
<div class="left"><div class="middle">lucidAuth</div></div><div class="right"></div>
|
|
|
|
<div class="sub"><em>Respect</em> the unexpected; mitigate your risks</div>
|
|
|
|
</div>
|
|
|
|
<div class="main">
|
|
|
|
%1$s
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
FULL;
|
|
|
|
|
2019-03-06 13:21:47 +00:00
|
|
|
$pageLayout['full_alt'] = <<<'FULL_ALT'
|
2019-03-05 10:14:17 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="nl">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>lucidAuth</title>
|
|
|
|
<meta name="application-name" content="lucidAuth" />
|
|
|
|
<meta name="theme-color" content="#003399" />
|
|
|
|
<link href="misc/style.css" rel="stylesheet" />
|
|
|
|
<link href="misc/style.panes.css" rel="stylesheet" />
|
|
|
|
<link href="misc/style.button.css" rel="stylesheet" />
|
|
|
|
<link href="misc/style.theme.css" rel="stylesheet" />
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
|
|
|
|
<script src="misc/script.translation.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="wrapper">
|
|
|
|
<section id="theme" class="content">
|
|
|
|
<div class="columns">
|
|
|
|
<main class="main">
|
|
|
|
<header class="header">
|
|
|
|
<div class="logo">
|
|
|
|
<div class="left"><div class="middle">lucidAuth</div></div><div class="right"></div>
|
|
|
|
<div class="sub"><em>Respect</em> the unexpected; mitigate your risks</div>
|
|
|
|
</div>
|
|
|
|
%1$s
|
|
|
|
</header>
|
|
|
|
<section>
|
|
|
|
%2$s
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
<aside class="sidebar-first"></aside>
|
|
|
|
<aside class="sidebar-second"></aside>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
2019-03-06 13:21:47 +00:00
|
|
|
FULL_ALT;
|
2019-03-05 10:14:17 +00:00
|
|
|
|
2019-06-19 10:09:46 +00:00
|
|
|
$pageLayout['frames'] = <<<'FRAMES'
|
2019-02-27 20:39:31 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="nl">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>lucidAuth</title>
|
|
|
|
<meta name="application-name" content="lucidAuth" />
|
2019-03-13 09:59:12 +00:00
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
|
2019-02-27 20:39:31 +00:00
|
|
|
<script src="misc/script.iframe.js"></script>
|
2019-06-19 10:09:46 +00:00
|
|
|
<script>%1$s</script>
|
2019-02-27 20:39:31 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2019-06-19 10:09:46 +00:00
|
|
|
%2$s
|
2019-02-27 20:39:31 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
2019-06-19 10:09:46 +00:00
|
|
|
FRAMES;
|
2019-02-27 20:39:31 +00:00
|
|
|
|
|
|
|
$contentLayout['login'] = <<<'LOGIN'
|
|
|
|
<script src="misc/script.index.js"></script>
|
2019-03-04 09:43:08 +00:00
|
|
|
<section>
|
2019-02-27 20:39:31 +00:00
|
|
|
<ul>
|
2019-03-04 09:43:08 +00:00
|
|
|
<li class="misc">
|
|
|
|
<span class="indent"> </span>
|
|
|
|
</li>
|
2019-02-27 20:39:31 +00:00
|
|
|
<li>
|
2019-03-06 13:21:47 +00:00
|
|
|
<label class="pre" for="username" data-translation="label_username">Username:</label>
|
2019-02-27 20:39:31 +00:00
|
|
|
<input type="text" id="username" name="username" tabindex="100" />
|
|
|
|
<label for="username">@lucidAuth</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
2019-03-06 13:21:47 +00:00
|
|
|
<label class="pre" for="password" data-translation="label_password">Password:</label>
|
2019-02-27 20:39:31 +00:00
|
|
|
<input type="password" id="password" name="password" tabindex="200" />
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="hidden" id="ref" name="ref" value="%1$s" />
|
|
|
|
<button id="btnlogin" class="bttn-simple bttn-xs bttn-primary" tabindex="300" data-translation="button_login">login</button>
|
|
|
|
</li>
|
|
|
|
<li class="misc">
|
2019-03-06 13:21:47 +00:00
|
|
|
<span class="indent" data-translation="span_credentialsavailable">Login credentials available upon request!</span>
|
2019-02-27 20:39:31 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2019-03-04 09:43:08 +00:00
|
|
|
</section>
|
2019-02-27 20:39:31 +00:00
|
|
|
<img src="/images/tag_lock.png" style="position: absolute; top: 175px; left: 20px;" alt="Secure!" />
|
|
|
|
LOGIN;
|
|
|
|
|
2019-03-05 10:14:17 +00:00
|
|
|
$contentLayout['manage']['header'] = <<<'MANAGE_HEADER'
|
2019-03-04 09:43:08 +00:00
|
|
|
<script src="misc/script.editable.table.js"></script>
|
2019-02-27 20:39:31 +00:00
|
|
|
<script src="misc/script.manage.js"></script>
|
2019-03-13 09:59:12 +00:00
|
|
|
<span id="user"><span data-translation="span_loggedinas">Logged in as</span> %1$s --- [<a id="linklanguage-en" class="current" href="#" tabindex="700">EN</a> <a id="linklanguage-nl" href="#" tabindex="700">NL</a>] [<a id="linklogout" href="#" tabindex="800" data-translation="link_logout">Logout</a>]</span>
|
2019-03-05 10:14:17 +00:00
|
|
|
<ul style="clear: both; margin-top: 20px;">
|
|
|
|
<li class="buttons">
|
2019-03-06 13:21:47 +00:00
|
|
|
<button id="btnnewuser" class="bttn-simple bttn-xs bttn-primary" data-translation="button_new">new</button>
|
|
|
|
|
|
|
|
<button id="btnsave" class="bttn-simple bttn-xs bttn-primary" data-translation="button_save">save</button>
|
|
|
|
<button id="btncancel" class="bttn-simple bttn-xs bttn-primary" data-translation="button_cancel">cancel</button>
|
2019-03-05 10:14:17 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
MANAGE_HEADER;
|
|
|
|
$contentLayout['manage']['section'] = <<<'MANAGE_SECTION'
|
2019-02-27 20:39:31 +00:00
|
|
|
<ul>
|
|
|
|
<li>
|
2019-03-04 09:43:08 +00:00
|
|
|
<table id="usertable">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2019-03-06 13:21:47 +00:00
|
|
|
<th class="immutable" data-translation="th_username">Username</th>
|
|
|
|
<th class="immutable" data-translation="th_role">Role</th>
|
|
|
|
<th class="immutable" data-translation="th_manage">Manage</th>
|
2019-03-04 09:43:08 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2019-03-05 10:14:17 +00:00
|
|
|
%1$s
|
2019-03-04 09:43:08 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2019-02-27 20:39:31 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2019-03-05 10:14:17 +00:00
|
|
|
MANAGE_SECTION;
|
2019-02-27 20:39:31 +00:00
|
|
|
|
2019-01-16 10:37:35 +00:00
|
|
|
?>
|