64 lines
3.1 KiB
Smarty
64 lines
3.1 KiB
Smarty
<?php
|
|
use oat\tao\helpers\Template;
|
|
use oat\tao\helpers\Layout;
|
|
use oat\tao\model\theme\Theme;
|
|
?><!doctype html>
|
|
<html class="no-js no-version-warning" lang="<?= tao_helpers_I18n::getLangCode() ?>">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title><?= Layout::getTitle() ?></title>
|
|
<?= tao_helpers_Scriptloader::render() ?>
|
|
<link rel="stylesheet" href="<?= Template::css('tao-main-style.css', 'tao') ?>" />
|
|
<link rel="stylesheet" href="<?= Template::css('tao-3.css', 'tao') ?>" />
|
|
<link rel="stylesheet" href="<?= Template::css('proctoring.css', 'taoProctoring') ?>"/>
|
|
<link rel="stylesheet" href="<?= Layout::getThemeStylesheet(Theme::CONTEXT_FRONTOFFICE) ?>" />
|
|
<link rel="shortcut icon" href="<?= Template::img('favicon.ico', 'tao') ?>"/>
|
|
|
|
<?= Layout::getAmdLoader(Template::js('loader/app.min.js', 'taoProctoring'), 'taoProctoring/controller/app') ?>
|
|
</head>
|
|
<body class="proctoring-scope">
|
|
<?php Template::inc('blocks/requirement-check.tpl', 'tao'); ?>
|
|
|
|
<div class="content-wrap">
|
|
<header aria-label="<?=__('Main Menu')?>" class="dark-bar clearfix">
|
|
<?= Layout::renderThemeTemplate(Theme::CONTEXT_BACKOFFICE, 'header-logo') ?>
|
|
<div class="lft title-box"></div>
|
|
<nav class="rgt">
|
|
<div class="settings-menu">
|
|
<ul class="clearfix plain">
|
|
<li data-control="home">
|
|
<a id="home" href="<?= has_data('homeUrl') ? get_data('homeUrl') : _url('index', 'TestCenter', 'taoProctoring')?>">
|
|
<span class="icon-home"></span>
|
|
</a>
|
|
</li>
|
|
<li class="infoControl sep-before">
|
|
<span class="a">
|
|
<span class="icon-test-taker"></span>
|
|
<span><?= get_data('userLabel') ?></span>
|
|
</span>
|
|
</li>
|
|
<li class="infoControl sep-before" data-control="logout">
|
|
<a id="logout" href="<?= has_data('logout') ? get_data('logout') : _url('logout', 'Main', 'tao')?>">
|
|
<span class="icon-logout"></span>
|
|
<span class="text"><?= __("Logout") ?></span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
<div id="feedback-box"></div>
|
|
<div class="header toolbox"></div>
|
|
<?php /* actual content */
|
|
$contentTemplate = Layout::getContentTemplate();
|
|
Template::inc($contentTemplate['path'], $contentTemplate['ext']); ?>
|
|
</div>
|
|
|
|
<?= Layout::renderThemeTemplate(Theme::CONTEXT_BACKOFFICE, 'footer') ?>
|
|
|
|
<div class="loading-bar"></div>
|
|
</body>
|
|
</html>
|