Exemplo n.º 1
0
                </div>
                <br>
                <div>
                    <input class="btn btn-primary" type="submit" value="Сохранить">
                    <span class="slink" ng-click="struktura.closeEditForm()">Отмена</span>
                </div>
            </form>
        </div>
    </div>

    <div ng-controller="IspytaniyaController as isp" ng-show="isp.selectedList != -1" class="col-md-6">
        <form class="" ng-submit="isp.addIspytanie()">
            <div class="col-md-9 form-group no-padding">
                <label for="">Форма испытания</label>
                <?php 
echo \app\helpers\Html::dropDownList('ispytaniya', null, [null => 'Выберите испытание'] + $ispytaniyaList, ['class' => 'form-control', 'placeholder' => 'Выберите испытание', 'ng-model' => 'isp.ispytanie']);
?>
            </div>
            <div class="col-md-3">
                <label>&nbsp;</label>
                <button class="btn btn-primary">Добавить</button>
            </div>
        </form>
        <table class="att-tb" style="width: 100%;">
            <tr class="thead">
                <td style="width: 90%;">Название</td>
                <td>&nbsp;</td>
            </tr>
            <tr ng-repeat="item in isp.list">
                <td>{{item.nazvanie}}</td>
                <td>
Exemplo n.º 2
0
$periods_for_dropdown = [];
foreach ($periods as $period) {
    if ($period['nachalo'] > '2016-08-30') {
        $periods_for_dropdown[$period['id']] = 'с ' . \Yii::$app->formatter->asDate($period['nachalo'], 'php:d.m.Y') . ' по ' . \Yii::$app->formatter->asDate($period['konec'], 'php:d.m.Y');
    }
}
?>
<div ng-app="otsenki">

    <div  ng-show="s.is_show" class="inline-block" ng-controller="SpisokController as s">
        <div class="inline-block filter-block">
            <?php 
echo Html::label('Период прохождения аттестации', 'periods', []);
?>
            <?php 
echo Html::dropDownList('periods', null, $periods_for_dropdown, ['id' => 'periods', 'class' => 'form-control inline-block', 'ng-model' => 's.period', 'ng-disabled' => 's.allUnfinished']);
?>
        </div>
        <div class="inline-block checkbox filter-block">
            <label for="all_unfinished">
                <input type="checkbox" id="all_unfinished" ng-change="s.toggleUnfinished()" ng-model="s.allUnfinished"/>
                Все необработанные
            </label>
        </div>
        <div class="inline-block relative" style="top: -1px">
            <?php 
echo Html::button('Загрузить список заявлений', ['class' => 'btn btn-primary', 'ng-click' => 's.loadZayavleniya()']);
?>
        </div>
        <p></p>
        <div>
Exemplo n.º 3
0
$periods_for_dropdown = [];
foreach ($periods as $period) {
    if ($period['nachalo'] > '2016-08-30') {
        $periods_for_dropdown[$period['id']] = 'с ' . \Yii::$app->formatter->asDate($period['nachalo'], 'php:d.m.Y') . ' по ' . \Yii::$app->formatter->asDate($period['konec'], 'php:d.m.Y');
    }
}
?>

<div ng-app="list" ng-controller="MOListController as mol">
    <div class="row">
        <div class="inline-block filter-block">
            <?php 
echo Html::label('Период прохождения аттестации', 'periods', []);
?>
            <?php 
echo Html::dropDownList('periods', null, $periods_for_dropdown, ['id' => 'periods', 'class' => 'form-control inline-block', 'ng-model' => 'mol.period']);
?>
        </div>
        <div class="inline-block relative" style="top: -1px">
            <?php 
echo Html::button('Загрузить список заявлений', ['class' => 'btn btn-primary', 'ng-click' => 'mol.loadZayavleniya()']);
?>
        </div>
    </div>
    <p></p>
    <div class="row">
        <table class="tb" ng-show="mol.list.length > 0">
            <tr class="thead">
                <td style="width: 300px">ФИО</td>
                <td style="width:400px;">Школа</td>
                <td>Портфолио</td>