当前位置: 首页>>代码示例>>PHP>>正文


PHP ST::setUserCss方法代码示例

本文整理汇总了PHP中ST::setUserCss方法的典型用法代码示例。如果您正苦于以下问题:PHP ST::setUserCss方法的具体用法?PHP ST::setUserCss怎么用?PHP ST::setUserCss使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ST的用法示例。


在下文中一共展示了ST::setUserCss方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: showOnly

<?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;
?>
">
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:edit.php

示例2:

<?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");
?>
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:index.php

示例3: function

<?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');
        })
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:schedule_list.php

示例4:

<?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;
?>
"/>
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:editMyData.php


注:本文中的ST::setUserCss方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。