Exemplo n.º 1
0
<?php

Auth::isAdminOrDie(App::$instance);
ST::deployTemplate('heads/ui_timepicker.inc');
ST::setUserCss('attendance/style.css');
ST::setUserCss('attendance/manage-style.css');
RenderEngine::MenuChanger();
//dump($data['backPack']->parent_id);
//dump($data);
?>
<script>
    $(document).ready(function () {
        showOnly(".show10-1", 5);
        showOnly(".show10-2", 5);
    })
</script>
<div class="container">
    <div class="col-lg-1 col-sm-offset-2"><a class="btn btn-default"
                                             href="?route=AttendanceNew/show/<?php 
echo $data['backPack']->parent_id;
?>
">
            Назад</a></div>
    <div class="col-md-6 block-border-shadow-normal-padding left-border padding25">
        <h4>Редактировать точку/контейнер</h4>
        <hr>
        <div class="alert alert-danger">Свойтво "техническая поддержка" используется в экспериментальном режиме и пока нигде не используется</div>
        <form class="form-horizontal" method="post" action="?route=AttendanceNew/update/<?php 
echo $data['backPack']->id;
?>
">
Exemplo n.º 2
0
<?php

ST::deployTemplate('heads/ui_timepicker.inc');
RenderEngine::MenuChanger();
ST::setUserCss('settings/core.css');
?>
<div class="container">
    <div class="col-md-8 col-md-offset-2 block-border-shadow-normal-padding ">
        <h4>Настройки</h4>
        <hr>
        <ul>
<!--            <li><a href="?route=Modules/edit/" class=""><h3 style="margin-top: -15px;"><span class="glyphicon glyphicon-compressed"></span></h3>Модули</a></li>-->
            <li><a href="?route=AttendanceNew/show/" class=""><h3 style="margin-top: -15px;"><span class="glyphicon glyphicon-book"></span></h3>Справочник точек</a></li>
            <li><a href="<?php 
echo ST::route("User/index");
?>
" class=""><h3 style="margin-top: -15px;"><span
                            class="glyphicon glyphicon-user"></span></h3>Пользователи системы</a></li>
            <li><a href="<?php 
echo ST::route("log/index");
?>
" class=""><h3 style="margin-top: -15px;"><span
                            class="glyphicon glyphicon-bed"></span></h3>Логи</a></li>
            <li><a href="<?php 
echo ST::route("Settings/editServersLoad");
?>
" class=""><h3 style="margin-top: -15px;"><span
                            class="glyphicon glyphicon-modal-window"></span></h3>Производ. серверов ВКС ТБ</a></li>
            <li><a href="<?php 
echo ST::route("Settings/editSimpleVksCodeSet");
?>
Exemplo n.º 3
0
<?php

ST::deployTemplate('heads/ui_timepicker.inc');
ST::setUserCss("renderVksNoApproved.css");
ST::setUserCss("attendance/style.css");
RenderEngine::MenuChanger();
?>
<div class="container-fluid">
    <div class="col-lg-12">
        <h4>Неутвержденные заявки</h4>
        <hr>
        <?php 
if (!count($vksList)) {
    ?>
            <div class="alert alert-danger">Неутвержденных заявок нет</div>
        <?php 
    die;
}
?>
        <table class="table table-spriped table-hover">
            <th>#</th><th class="text-center"><a href="<?php 
echo RenderEngine::makeOrderLink('id');
?>
">id</th>
            <th><a href="<?php 
echo RenderEngine::makeOrderLink('date');
?>
">Дата</a></th>
            <th><a href="<?php 
echo RenderEngine::makeOrderLink('start_date_time');
?>
Exemplo n.º 4
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main-fluid.php";
//timed_array
ST::setVarPhptoJS($date, 'date');
ST::setVarPhptoJS($attendance->id, 'requested_participant_id');
ST::setUserJs("vks/showAtParticipant_calendar.js");
ST::setUserJs("attendance/tree.js");
ST::setUserCss("attendance/tree.css");
$resuested_att = $attendance;
?>
<script>
    $(document).ready(function () {
        $(".date-pick").datepicker({
            defaultDate: date,
            dateFormat: "yy-mm-dd",
            onSelect: function (date) {
                location.href = "<?php 
echo App::$instance->opt->appHttpPath;
?>
?route=AttendanceNew/showSchedule/0/" + date + "/" + requested_participant_id;
            },
        });
        //autocomplete handler
        $(document).on('click', '#founded_results_attendance li', function () {
            var $this = $(this);
            location.href = "<?php 
echo App::$instance->opt->appHttpPath;
?>
?route=AttendanceNew/showSchedule/0/" + date + "/" + $this.data('id');
        })
Exemplo n.º 5
0
<?php

ST::deployTemplate('heads/ui_timepicker.inc');
RenderEngine::MenuChanger();
ST::setUserCss('render-vks.css');
ST::setUserJs('users/core.js');
ST::setUserCss('users/lk.css');
ST::setUserJs('users/core.js');
//dump($vksList);
ST::setVarPhptoJS(HTTP_PATH, 'core_http_path');
ST::setVarPhptoJS(HTTP_BASE_PATH, 'base_http_path');
?>
<div class="container-fluid">
    <div class="col-md-12">
        <h3 class="text-success">Мои видеоконференции</h3>

        <div class="lk-menu">
            <h4>
                <span class="text-muted">Показать:</span>
                <?php 
if ($filter != 'all') {
    ?>
                    <a href="<?php 
    echo ST::route("Lk/show/all");
    ?>
" class="lk-menu-item menu-span like-href">Все</a>
                <?php 
} else {
    ?>
                    <span class="lk-menu-item menu-span text-warning">Все</span>
                <?php 
Exemplo n.º 6
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
global $_TB_IDENTITY;
ST::setUserCss('render-vks.css');
?>

<div class="col-lg-6 col-lg-offset-3 right-border padding25">

    <form class="form-horizontal" method="post" action="<?php 
echo ST::route('User/storeMyData');
?>
">
        <div class="form-group">
            <div class="h3">Мои данные</div>
            <hr>
        </div>
        <div class="form-group">
            <label for="">Email</label>
            <input class="form-control" name="email" value="<?php 
echo $user->email;
?>
"/>
            <span class="help-block">*На этот адрес будут отправляться отчеты о созданных вами ВКС</span>
        </div>
        <div class="form-group">
            <label for="">ФИО</label>
            <input class="form-control" name="fio" value="<?php 
echo $user->fio;
?>
"/>