Esempio n. 1
0
        </h2>

        <?php 
echo $form->field($model, 'serverName')->hint(Yii::t('app', 'This is the hostname that your site will be using.'));
?>
        <?php 
echo $form->field($model, 'serverPort')->hint(Yii::t('app', 'This is port that your site will be using.'));
?>

        <h2>
            <?php 
echo Yii::t('app', 'Cache settings:');
?>
        </h2>
        <?php 
echo \kartik\widgets\TypeaheadBasic::widget(['model' => $model, 'attribute' => "cacheClass", 'data' => $cacheClasses, 'pluginOptions' => ['highlight' => true, 'limit' => 50]]);
?>
        <?php 
echo $form->field($model, 'useMemcached')->checkbox();
?>
        <?php 
echo $form->field($model, 'keyPrefix');
?>

    </div>
</div>


<div class="installer-controls">
    <a href="<?php 
echo Url::to(['admin-user']);
Esempio n. 2
0
?>

<?php 
echo $form->errorSummary($model);
?>

<div class="page-header">
  <h4>ข้อมูลส่วนตัว </h4>
</div>
 <?php 
echo $form->field($model, 'token_forupload')->hiddenInput()->label(false);
?>
<div class="row">
    <div class="col-xs-4 col-sm-2 col-md-2">
        <?php 
echo $form->field($model, 'title')->widget(TypeaheadBasic::classname(), ['data' => ['นาย', 'นาง', 'นางสาว'], 'pluginOptions' => ['highlight' => true]]);
?>
    </div>
    <div class="col-xs-4 col-sm-5 col-md-5">
        <?php 
echo $form->field($model, 'name')->textInput(['maxlength' => 50]);
?>
    </div>
    <div class="col-xs-4 col-sm-5 col-md-5">
        <?php 
echo $form->field($model, 'surname')->textInput(['maxlength' => 50]);
?>
    </div>
</div>

<div class="row">
?>

<div class="modal fade" id="add-auth-client-modal">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h4 class="modal-title"><?php 
echo Yii::t('app', 'Add auth client');
?>
</h4>
			</div>
			<div class="modal-body">

                <?php 
echo $form->field($authClientConfigModel, "[-1]class_name")->widget(\kartik\widgets\TypeaheadBasic::className(), ['data' => AuthClientConfig::classNameAutoComplete(), 'pluginOptions' => ['highlight' => true]]);
?>

			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default pull-left" data-dismiss="modal">
                    <?php 
echo Icon::show('times');
?>
 <?php 
echo Yii::t('app', 'Cancel');
?>
                </button>
				<button type="button" class="btn btn-primary" id="add-auth-client">
                    <?php 
echo Icon::show('floppy-o');
Esempio n. 4
0
// $form->field($model, 'brands')->textInput()->label(false)
?>
                    <?php 
echo TypeaheadBasic::widget(['model' => $model, 'attribute' => 'brands', 'data' => ArrayHelper::map(CarBrands::find()->all(), 'id', 'desc'), 'options' => ['placeholder' => 'Filter as Car Brands ...'], 'pluginOptions' => ['highlight' => true]]);
?>
                </div>
                <div class="col-xs-4"><span>แบบรถ</span>
                    <?php 
echo $form->field($model, 'models')->textInput(['maxlength' => true])->label(false);
?>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-4"><span>สีรถ</span>
                    <?php 
echo TypeaheadBasic::widget(['model' => $model, 'attribute' => 'car_color', 'data' => ArrayHelper::map(CarColor::find()->all(), 'id', 'color'), 'options' => ['placeholder' => 'Filter as Car Color ...'], 'pluginOptions' => ['highlight' => true]]);
?>
                </div>
                <div class="col-xs-4"><span>น้ำหนักรถ</span>
                    <?php 
echo $form->field($model, 'weight')->textInput()->label(false);
?>
                </div>
                <div class="col-xs-4"><span>น้ำหนักรวม</span>
                    <?php 
echo $form->field($model, 'total_weight')->textInput()->label(false);
?>
                </div>

            </div>
            <div class="row">