2019-08-23 11:39:42 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<?php
|
|
|
|
$partial = new Partial('head');
|
2019-10-11 14:38:20 +00:00
|
|
|
$partial->prepare('baseDir', $BASEDIR);
|
2019-08-23 11:39:42 +00:00
|
|
|
$partial->render();
|
|
|
|
?>
|
|
|
|
<title><?php echo $TITLE ?></title>
|
|
|
|
</head>
|
|
|
|
<body class="no-transitions">
|
|
|
|
<div class="row no-gutters main">
|
|
|
|
<div class="col-md-3 d-sm-none"></div>
|
|
|
|
<div class="col-md-3 nav-container">
|
2019-09-19 12:48:31 +00:00
|
|
|
<?php
|
|
|
|
$partial = new Partial('menu');
|
|
|
|
$partial->prepare('item', 'setting');
|
2019-10-11 12:12:05 +00:00
|
|
|
$partial->prepare('langMng',$LANGMNG);
|
2019-09-19 12:48:31 +00:00
|
|
|
$partial->render();
|
|
|
|
?>
|
2019-08-23 11:39:42 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-md-9 main-body">
|
|
|
|
<div class="col-12 col-sm-9 mx-auto mt-4">
|
2019-10-11 12:12:05 +00:00
|
|
|
<h4 class="mb-4">
|
|
|
|
<?php $LANGMNG->echo('t_pageAfterLogIn') ?>
|
|
|
|
</h4>
|
2019-08-23 11:39:42 +00:00
|
|
|
<form method="post" enctype="multipart/form-data">
|
|
|
|
<div class="">
|
|
|
|
<div class="field">
|
|
|
|
<select class="input" name="loadPage">
|
|
|
|
<option value="0" <?php echo (UserManager::getUserData("startPage") == 0 ? "selected" : ""); ?>>Default</option>
|
|
|
|
<option value="1" <?php echo (UserManager::getUserData("startPage") == 1 ? "selected" : ""); ?>>Dashboard</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2019-10-11 12:12:05 +00:00
|
|
|
<input type="submit" name="submit" class="button" value="<?php $LANGMNG->echo('b_save') ?>"/>
|
2019-08-23 11:39:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<div class="col-12 col-sm-9 mx-auto mt-4">
|
2019-10-11 12:12:05 +00:00
|
|
|
<h4 class="mb-4"><?php $LANGMNG->echo('t_profile') ?></h4>
|
2019-08-23 11:39:42 +00:00
|
|
|
<div class="field">
|
2019-10-11 12:12:05 +00:00
|
|
|
<a href="logout" class="button is-primary"><?php $LANGMNG->echo('b_logOut') ?></a>
|
2019-08-23 11:39:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-sm-9 mx-auto mt-4">
|
2019-10-11 12:12:05 +00:00
|
|
|
<h4 class="mb-4"><?php $LANGMNG->echo('t_notification') ?></h4>
|
2019-10-11 08:44:13 +00:00
|
|
|
<input id="notifications" type="checkbox" onChange="toggleNotificationPermissions(this);" />
|
2019-10-11 12:12:05 +00:00
|
|
|
<div class="label"><?php $LANGMNG->echo('l_notificationStatus') ?></div>
|
2019-08-23 11:39:42 +00:00
|
|
|
<div class="field">
|
2019-10-11 12:12:05 +00:00
|
|
|
<a onClick="sendTestNotification();" class="button"><?php $LANGMNG->echo('b_sendTestNotification');?></a>
|
2019-08-23 11:39:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-19 12:48:31 +00:00
|
|
|
<div class="col-12 col-sm-9 mx-auto mt-4">
|
2019-10-11 12:12:05 +00:00
|
|
|
<h4 class="mb-4"><?php $LANGMNG->echo('t_experimental') ?></h4>
|
2019-09-19 12:48:31 +00:00
|
|
|
<div class="field">
|
2019-10-11 12:12:05 +00:00
|
|
|
<a href="rooms" class="button"><?php $LANGMNG->echo('b_rooms') ?></a>
|
2019-09-19 12:48:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-08-23 11:39:42 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2019-10-11 08:44:13 +00:00
|
|
|
<script src="./app/templates/js/setting.js"></script>
|
2019-08-23 11:39:42 +00:00
|
|
|
<?php
|
|
|
|
$partial = new Partial('footer');
|
|
|
|
$partial->render();
|
|
|
|
//TODO js do main.js
|
|
|
|
?>
|
|
|
|
<script>
|
|
|
|
$( "#enable-features" ).click(function(e) {
|
|
|
|
var selectRoomId = localStorage.getItem("enableFeature");
|
|
|
|
if (selectRoomId){
|
|
|
|
localStorage.setItem("enableFeature", true);
|
|
|
|
}else {
|
|
|
|
localStorage.setItem("enableFeature", false);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|