Example #1
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
ST::setUserJs('flot/jquery.flot.min.js');
ST::setUserJs('flot/jquery.flot.time.js');
ST::setUserJs('flot/jquery.flot.selection.js');
ST::setUserJs('flot/jquery.flot.threshold.js');
$plotTicks = array();
$randomData = array();
$threshold = array();
$thresholdCounter = 100;
$dateCur = date_create()->setTime(8, 0);
$dateEnd = date_create()->setTime(20, 0);
$c = 0;
while ($dateCur <= $dateEnd) {
    if (in_array($dateCur->format('i'), ['00', '30'])) {
        $plotTicks[] = array($c, $dateCur->format('H:i'));
    } else {
        $plotTicks[] = array($c, '');
    }
    $randomData[] = array($c, rand(0, 120));
    $threshold[] = array($c, $thresholdCounter);
    $c++;
    $dateCur->modify("+15 minutes");
}
?>



    <div class="demo-container"><button class="btn btn-default pull-right" id="reset" type="button">Сброс</button>
        <div id="placeholder" class="demo-placeholder" style="width:960px;height:450px"></div>
<?php

ST::setUserJs('attendance/v2/core-participants.js');
?>

<script>
    $(document).ready(function () {
        $(".nav-container").each(function () {
            $(this).hide();
        });
        $("#main-container").show();

        $("[name='in_place_participants_count_modal']").val($("[name='in_place_participants_count']").val());

    });

    $(function () {
        $('[data-toggle="tooltip"]').tooltip()
    })
</script>

<div class="container-response">
    <div class="errors-cnt-simple"></div>
    <div class="col-lg-12 navigation">
        <span class="col-md-9">
        <button class="btn btn-default btn-success active" id="nav-points" type="button"><span
                class="glyphicon glyphicon-camera"></span> Справочник
            точек
        </button>
        </span>
        <span class="col-md-3 text-right nopadding">
Example #3
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main-fluid.php";
ST::setVarPhptoJS($date, 'currentDate');
ST::setUserJs("vks/day_calendar.js");
?>
<script>
    $(document).ready(function () {
        $('#btn_another_date').click(function () {
            $('#dp_another_date').datepicker({
                'dateFormat': "yy-mm-dd"
            });

            $('#dp_another_date').datepicker("show");
        });
        $(document).on('change', '#dp_another_date', function () {
            location.href = '?route=Vks/day/' + $(this).val();
        })
        $('.fc-toolbar').remove();
    })

</script>
<div class="container100">
    <h3 class="text-center">
        <input class="hidden" id="dp_another_date" disabled/>
        <button type="button" class="btn btn-info btn-sm pull-left" id="btn_another_date">Другая дата</button>
        Список ВКС на <b><?php 
echo date_create($date)->format("d.m.Y");
?>
</b>
        <div class="btn-group pull-right btn-group-sm">
Example #4
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
$p = new Select2Assert();
$p->init();
ST::setUserJs('users/search.js');
?>
<style>
    .li-hover:hover {
       color: #ff7800 !important;
    }
</style>
<div class="container">
    <div class="col-lg-1">
        <a class="btn btn-default" href="<?php 
echo ST::route("AttendanceNew/show/" . $attendance->parent_id);
?>
">Назад</a>
        </div>
    <div class="col-lg-8 left-border padding25">
        <h4>Параметры технической поддержки точки<br> <span
                class="text-success"><?php 
echo AttendanceNew_controller::makeFullPath($attendance->id);
?>
</span></h4>

        <?php 
if ($attendance->container) {
    ?>
            <div class="alert alert-danger">
                Вы выбрали контейнер, все нижестоящие точки будут наследовать эту тех. поддержку (если она включена)
Example #5
0
<?php

//ST::deployTemplate('heads/ui_timepicker.inc');
ST::setUserJs('attendance/v3/RepositoryPoints.class.js');
ST::setUserJs('attendance/v3/RenderEngine.class.js');
ST::setUserJs('attendance/v3/actions-script.js');
ST::setUserJs('jquery/jquery.cookie.js');
?>
<style>
    .breadcrumbs {
        /*background-color: #f5f5f5;*/
        margin-bottom: 3px;
    }

    #points_container {
        /*background-color: #f5f5f5;*/
        min-height: 500px;
        max-height: 500px;
        overflow: auto;
        margin-top: 10px;

    }

    #points_container > li, #selected_points_container > li {
        font-size: 13px !important;
        /*padding: 1px;*/
        padding-left: 15px;
    }

    #selected_points_container > li {
        font-size: 12px !important;
Example #6
0
<?php

ST::deployTemplate('heads/ui_timepicker.inc');
ST::setUserJs('settings/users.js');
RenderEngine::MenuChanger();
//dump($data['users']);
?>
<div class="container">
    <div class="col-md-12">
        <h3>Пользователи системы</h3>
        <hr>
        <div class="col-md-12 form-inline search-block alert alert-info">
            <b><span class="glyphicon glyphicon-search"></span> Поиск пользователей (по логину):</b>
            <input class="form-control" id="user-search-field"/>
        </div>

        <table id="founded-table" class="table table-striped table-hover"></table>

        <table class="table table-striped table-hover" id="user-table">
            <th>#</th>
            <th><a href="<?php 
echo RenderEngine::makeOrderLink('id');
?>
">id</a></th>
            <th><a href="<?php 
echo RenderEngine::makeOrderLink('login');
?>
">Логин</a></th>
            <th><a href="<?php 
echo RenderEngine::makeOrderLink('role');
?>
Example #7
0
<?php

ST::setUserJs('attendance/autocomplete.js');
?>
<div class="search-form col-lg-12 no-left-padding" style="margin: 0 0 25px 0;">
        <span class="text-primary" style="width: 30%; padding-top: 5px; font-size: 14px;"><b>Поиск подразделения</b></span>
        <span class="" style="width: 70%;">
            <input style="padding: 7px; width: 100%;" id="search_attendance"/>
            <div id="result_search_attendance" class="hidden"
                 style="padding: 3px; z-index: 999; position: absolute; background-color: white; width: 100%;"></div>
        </span>
</div>
Example #8
0
            <!--                        onclick="document.getElementById('captcha').src = 'securimage/securimage_show.php?' + Math.random(); return false"><span-->
            <!--                            class="glyphicon glyphicon-refresh" title="обновить картинку"></span> </a>-->
            <!---->
            <!--                    <input type="text" class="form-control" name="captcha_code" size="10" maxlength="6"/>-->
            <!--                </div>-->
            <!---->
            <!--            </div>-->
            <?php 
ST::setUpErrorContainer();
?>
            <div class="form-group">
                <div class="col-md-5 col-lg-offset-4">
                    <button id="submit" type="button" class="btn btn-success btn-lg">Отправить</button>
                </div>
            </div>

            <!--    <block start -->


        </form>
    </div>
</div>
</body>
<?php 
ST::setUserJs('uf-2.js');
ST::setUserJs('vks/block_checker.js');
$p = new ParticipationsV3Assert();
$p->init();
?>

Example #9
0
<?php

ST::deployTemplate('heads/ui_timepicker.inc');
RenderEngine::MenuChanger();
$backPack = ST::lookAtBackPack();
ST::setUserJs('settings/code_delivery/core.js');
?>
<div class="container">
    <div class="col-lg-2">
        <button type="button" class="btn btn-info" id="add">
            Добавить шаблон
        </button>
    </div>
    <div class="col-lg-9">
        <div class="alert alert-danger">
            <h4>Обратите внимание</h4>
            <ul>
                <li>
                    Диапазоны в которых больше 100 значений будут подвешивать интерфейс, желательно не превышать этого значения
                </li>
                <li>
                    Недостающие цифры в хвосте заполняются нулями
                </li>
            </ul>
        </div>
        <form class="form-horizontal" method='post' action="<?php 
echo ST::route("Settings/storeCodeDelivery");
?>
">
            <?php 
echo Token::castTokenField();
Example #10
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 
Example #11
0
<html>
<?php 
ST::setUserJs('attendance/v3/init.js');
//
?>
<style>
    .breadcrumbs {
        /*background-color: #f5f5f5;*/
        margin-bottom: 3px;
    }

    #points_container {
        /*background-color: #f5f5f5;*/
        min-height: 500px;
        max-height: 500px;
        overflow: auto;
        margin-top: 10px;

    }

    .disabled {
        color: #ccc;
    }

    #points_container > li, #selected_points_container > li {
        font-size: 13px !important;
        /*padding: 1px;*/
        padding-left: 15px;
    }

    #selected_points_container > li {
Example #12
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main-fluid.php";
RenderEngine::MenuChanger();
//timed_array
ST::setVarPhptoJS($date, 'date');
ST::setVarPhptoJS($attendance->id, 'requested_participant_id');
ST::setUserJs("vks/showAtParticipant_calendar.js");
?>
<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=test/test2/" + date + "/" + requested_participant_id;
            },
        });
    })
</script>

    <div class="pull-left">
        <h3 class="text-muted">ВКС в <?php 
echo AttendanceNew_controller::makeFullPath($attendance->id);
?>
            на <?php 
echo date_create($date)->format("d.m.Y");
?>
Example #13
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
ST::setUserJs('react/react.js');
ST::setUserJs('react/react-dom.js');
ST::setUserJs('react/react-with-addons.js');
ST::setUserJs('react/marked.min.js');
ST::setUserJs('react/browser-polyfill.js');
ST::setUserJs('react/browser.min.js');
?>
<div class='col-lg-6 col-lg-offset-3'>
<div id="content"></div>

<script type="text/babel" src="<?php 
echo CORE_REPOSITORY_HTTP_PATH;
?>
/js/react-tutorial-master/public/scripts/tutorial1.js"></script>

<script type="text/babel" src="<?php 
echo CORE_REPOSITORY_HTTP_PATH;
?>
/js/react-tutorial-master/public/scripts/tutorial2.js"></script>
    </div>
Example #14
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
ST::setVarPhptoJS(HTTP_PATH, 'core_http_path');
ST::setUserJs("vks/calendar.js");
?>
</div>
<div class="container-fluid">
    <?php 
include_once CORE_REPOSITORY_REAL_PATH . "views/pleaseEnter.php";
?>
</div>
<div class="container">

    <div class="clearfix"></div>
    <div id='calendar' style="min-height: 640px; margin-top: 25px;"></div>
    <div style='clear:both'></div>
    <div style="margin-top: 1.9em;">
        &nbsp
    </div>
    <?php 
ST::deployTemplate('footer/closeContainer.inc');
?>
    <div class="container100">
        <?php 
ST::deployTemplate('footer/mainFooter.inc');
?>
    </div>


    <script>
Example #15
0
<?php

ST::deployTemplate('heads/ui_timepicker.inc');
RenderEngine::MenuChanger();
ST::setUserJs('dhtmlxScheduler/dhtmlxscheduler.js');
ST::setUserJs('dhtmlxScheduler/ext/dhtmlxscheduler_timeline.js');
?>
<link rel="stylesheet" type="text/css" href="<?php 
echo CORE_REPOSITORY_HTTP_PATH;
?>
js/dhtmlxScheduler/dhtmlxscheduler.css"/>
<link rel="stylesheet" type="text/css"
      href="<?php 
echo CORE_REPOSITORY_HTTP_PATH;
?>
js/dhtmlxScheduler/dhtmlxscheduler_classic.css"/>
<script type="text/javascript" charset="utf-8">
    function init() {

        scheduler.locale.labels.timeline_tab = "Timeline";
        scheduler.locale.labels.section_custom="Section";
        scheduler.config.details_on_create=true;
        scheduler.config.details_on_dblclick=true;
        scheduler.config.xml_date="%Y-%m-%d %H:%i";

        //===============
        //Configuration
        //===============
        var sections=[
            {key:1, label:"James Smith"},
            {key:2, label:"John Williams"},
Example #16
0
<?php

ST::deployTemplate('heads/ui_timepicker.inc');
ST::setUserJs('uf-2.js');
$p = new ParticipationsV3Assert();
$p->init();
$p = new Select2Assert();
$p->init();
RenderEngine::MenuChanger();
$vks = ST::lookAtBackPack();
$vks = $vks->request;
ST::setUserJs('users/search.js');
ST::setUserJs('vks/approve/in_direct_insertion.js');
ST::setUserJs('codes/askFreeCodes.js');
?>
<script>
    function localAskFreeCodes() {
        var date = $("#date-with-support").val();
        var start_time = $("#start_time").val();
        var end_time = $("#end_time").val();

        if (!date || !start_time || !end_time) {
            alert("Заполните поля: дата, время начала/окончания");
            return false;
        }

        askFreeCodes('#askCodes', date + " " + start_time, date + " " + end_time);
    }
</script>
<div class="container">
    <div class="col-md-2">
Example #17
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');
        })
Example #18
0
?>
<script type='text/javascript'>
    <?php 
echo "var plotTicks = " . json_encode($graph->plotTicks) . ";\n";
echo "var randomData = " . json_encode($graph->data) . ";\n";
echo "var thresholdCou = " . json_encode($graph->threshold) . ";\n";
?>
</script>
<div class="container">
    <div class="col-lg-12" style="margin-bottom: 200px;">
        <h3>График нагрузки на <?php 
echo date_create(FrontController::getParams())->format("d.m.Y");
?>
<span class="pull-right"><input id="dp_another_date" class="hidden" disabled/><button type="button" class="btn btn-default btn-sm" id="btn_another_date">Другая дата</button> </span></h3>
        <hr>
        <div class="demo-container">

            <div>
                <div id="placeholder" class="demo-placeholder" style="width:100%;height:450px"></div>
            </div>
            <div class="clearfix"></div>
            <div><button class="btn btn-default btn-sm pull-right" id="reset" type="button">Сброс</button></div>


        </div>
    </div>

</div>
<?php 
echo ST::setUserJs('graph/renderMainGraph.js');
Example #19
0
<?php

ST::deployTemplate('heads/ui_timepicker.inc');
RenderEngine::MenuChanger();
ST::setUserJs('uf-2.js');
?>
<div class="container">

    <div class="col-md-12">
        <h3 class="text-muted heading-main">Заявка на проведение ВКС</h3>
        <hr>

            <h4 class="text-info">Выберите тип создаваемой ВКС</h4>

            <div class="col-md-6 alert alert-warning">

                <a href="<?php 
echo ST::route('Vks/create');
?>
" class='btn  btn-warning btn-lg  col-lg-12'><span
                        class="glyphicon glyphicon-eye-open"></span> Стандартная заявка
                </a>
            </div>
            <div class="col-md-6 alert alert-success">
                <a href="<?php 
echo ST::route('Vks/createSimple');
?>
" class='btn btn-success btn-lg col-lg-12'><span
                        class="glyphicon glyphicon-eye-close"></span> Упрощенная заявка
                </a>
            </div>
Example #20
0
<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
ST::setUserJs("settings/blockedtime_calendar.js");
?>
<p>
<a class="btn btn-success" href="<?php 
echo ST::route('BlockedTime/create');
?>
">Добавить блокировку</a>
</p>
<div class="alert alert-danger">Блокировка создания упрощенных ВКС</div>
<div id="calendar"></div>

</div>
<?php 
//ST::deployTemplate('footer/mainFooter.inc');
?>


Example #21
0
<!--                <div class="form-group">-->
<!--                    <div class="col-md-12  no-left-padding">-->
<!--                        <label class="">Введите код проверки</label>-->
<!--                    </div>-->
<!--                    <div class="col-md-12  no-left-padding">-->
<!---->
<!--                        <img id="captcha" src="securimage/securimage_show.php" alt="CAPTCHA Image"/>&nbsp&nbsp<a-->
<!--                            href="#" class="refresh-captcha"-->
<!--                            onclick="document.getElementById('captcha').src = 'securimage/securimage_show.php?' + Math.random(); return false"><span-->
<!--                                class="glyphicon glyphicon-refresh" title="обновить картинку"></span> </a></div>-->
<!--                    <div class="col-md-4  no-left-padding">-->
<!--                        <input type="text" class="form-control" name="captcha_code" size="10" maxlength="6"/>-->
<!---->
<!--                    </div>-->
<!--                </div>-->
                <div class="form-group">
                    <button type="button" id="submit"  class="btn btn-success btn-lg">Сохранить</button>

                </div>
                <br><br><br><br>
            </div>
        </form>
    </div>
</div>
<?php 
$p = new ParticipationsV3Assert();
$p->init();
ST::setUserJs('uf-2.js');
//ST::setUserJs('vks/block_checker.js');
ST::setUserJs('ajaxfileupload.js');