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


PHP Html::SubmitButton方法代码示例

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


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

示例1:

                    
 
                    
                    
                      <div >
                        <label for="motif" class="col-lg-2 control-label">Motif du transfert:</label>
                          <?php 
echo $form->field($trans, 'motif')->textarea()->label(false);
?>
                    </div>
             

            <div>
             
                <?php 
echo Html::SubmitButton('Transférer', ['class' => 'btn btn-primary col-lg-offset-3', 'data' => ['confirm' => 'Voulez-vous vraiment transférer ce bien?', 'method' => 'post']]);
?>
                
                <?php 
echo Html::ResetButton('Annuler', ['class' => 'btn btn-primary ']);
?>

            </div>

               
    
    
    
     <?php 
ActiveForm::end();
?>
开发者ID:ikramadjissa,项目名称:Yii2Immo,代码行数:27,代码来源:_formTransfert.php

示例2:

    <div class="row">
        <div class="col-md-2"></div>
        <div class="col-md-6 button-box">
            <div class="row">
                 <div class="row">
                        <div class="col-md-12 button-box-title"><?php 
echo Yii::t('yii', 'Total price');
?>
 <span></span> <?php 
echo $jsondata['sign'];
?>
</div>
                    </div>
                <div class="col-md-12">
                    <?php 
echo Html::SubmitButton(Yii::t('yii', 'Confirm'));
?>
                </div>
            </div>

            <div class="row">
                    <div class="col-md-12">
                    </div>
            </div>

        </div>
        <div class="col-md-2">
        </div>
        <?php 
ActiveForm::end();
?>
开发者ID:asadovkamran,项目名称:365,代码行数:31,代码来源:chauffeurForm.php

示例3:

<?php 
echo Html::beginForm([''], 'post', ['data-pjax' => '']);
Pjax::begin();
?>



   <div class="col-lg-12">
   <label  class="col-lg-2 control-label">code bien:</label>
     <div class= "col-lg-8">
     <?php 
echo Html::input('text', 'code', Yii::$app->request->post('code'), ['class' => 'form-control col-lg-4 ']);
?>
    
      <?php 
echo Html::SubmitButton('search', ['value' => Url::to('index.php?r=bien/transfert'), 'class' => 'btn btn-primary']);
?>
  
     </div>
      
   </div>
        </br>  </br>     </br>  </br>
                        <div class="col-lg-offeset-6 " ><label style ="color: orange"> Etat actuel du bien : </label> </div>
                         </br>  
                      <div class="col-lg-12">
                        <label class=" control-label">Transferé du :</label>
                        <label class="control-label col-lg- 2" ><?php 
echo $bureau1;
?>
 </label>
                       </div> 
开发者ID:ikramadjissa,项目名称:Yii2Immo,代码行数:31,代码来源:test.php

示例4:

<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>

<?php 
$form = ActiveForm::begin();
?>

	<?php 
echo $form->field($model, 'name');
?>
	<?php 
echo $form->field($model, 'email');
?>

	<div class="form-group">
		<?php 
echo Html::SubmitButton('Submit', ['class' => 'btn btn-primary']);
?>
	</div>

<?php 
ActiveForm::end();
开发者ID:shiningflint,项目名称:LSI-Reservation,代码行数:25,代码来源:entry.php

示例5:

?>
    <br>
    <?php 
echo $form->field($model, 'regional_id')->dropdownList($items, ['prompt' => 'Выберите регионального представителя']);
?>


    <?php 
echo $form->field($model, 'status')->hiddenInput(['value' => '3'])->label(false);
?>

    <br><br>


    <?php 
echo Html::SubmitButton("{$submitValue}", ['class' => 'btn btn-success']);
?>

<!--
    <div style="float:right">
        <?php 
echo Html::Button("Удалить", ['class' => 'btn btn-danger', 'onclick' => 'if (confirm("Удалить?")) js:document.location.href="/user/delete/' . $model[id] . '"; else return false;']);
?>
    </div>
-->
<?php 
if (\Yii::$app->user->identity->id == $id) {
    ?>
    <div style="float: right">
        <a class="btn btn-warning" href="/auth/logout" data-method="post">
            <span class="glyphicon glyphicon-off" aria-hidden="true"></span> Выйти</a>
开发者ID:pumi11,项目名称:aau,代码行数:31,代码来源:pi.php

示例6:

		</div> <!-- Passenger form container end -->
		<div class="container">
                    <div class="row">
                        <div class="col-md-2"></div>
                        <div class="col-md-6 button-box">
                            <div class="row">
                                <div class="col-md-12 button-box-title">Total price <?php 
echo $jsondata['amount'];
?>
 AZN</div>
                            </div>
                            <div class="row">
                                <div class="col-md-12">

                                        <?php 
echo Html::SubmitButton('Go To Payment');
?>
                                </div>
                            </div>

                            <div class="row">
                                <div class="col-md-12">
                                </div>
                            </div>

                        </div>
                        <div class="col-md-2">
                        </div>
                            <?php 
ActiveForm::end();
?>
开发者ID:asadovkamran,项目名称:365,代码行数:31,代码来源:form_2.php

示例7:

        
<legend>Fiche d'investissment</legend>
</br>



<?php 
echo TabsX::widget(['position' => TabsX::POS_ABOVE, 'align' => TabsX::ALIGN_LEFT, 'encodeLabels' => false, 'items' => [['label' => 'Informations générales', 'content' => $this->render('_formAcquisition', ['model' => $model, 'famille' => $famille, 'soufamille' => $soufamille, 'dat' => $dat, 'cmd' => $cmd, 'fact' => $fact]), 'active' => true], ['label' => 'Amortissement', 'content' => $this->render('_formAmortAcquisition', ['model' => $model, 'compte' => $compte, 'model2' => $model2])]]]);
?>
  
    
 
  
 <div class="form-group">       
  <?php 
echo Html::SubmitButton('Enregistrer bien', ['class' => 'btn btn-primary col-lg-offset-3', 'id' => 'subr']);
?>

    </div>
    
    
 
   
  
  /*************************************************************************************************/

[
		'label' => 'Informations complementaires',
		'items' => [
		[
		'label' => 'Transport',
开发者ID:ikramadjissa,项目名称:Yii2Immo,代码行数:30,代码来源:_TabAcquisition.php

示例8: url

    background: #ffffff url("../images/loading.gif") top center no-repeat !important;
}
');
?>
<div class="infracciones-index">

    <h3><?php 
echo Html::encode($this->title . ' (' . Yii::$app->formatter->asDate($fd) . ' - ' . Yii::$app->formatter->asDate($fh) . ')');
?>
</h3>

    <?php 
$columns = [['class' => '\\kartik\\grid\\CheckboxColumn', 'checkboxOptions' => function ($model, $key, $index, $column) {
    return ['checked' => true];
}], 'fecha:date', 'hora:time', 'id', 'id_uf', 'lugar', 'concepto.concepto', 'descripcion', 'multaUnidad.unidad', 'multa_total'];
echo Html::SubmitButton('<span class="glyphicon glyphicon-plus-sign"></span>', ['class' => 'btn btn-lg btn-primary', 'title' => 'Emitir informes', 'onclick' => "var keys = \$('#gridInfracciones').yiiGridView('getSelectedRows');\n\t\t\t\t\t\t\t\t\t\t\$.post({\n\t\t\t\t\t\t\t\t\t\t   url: 'rendic-selec?fd={$fd}&fh={$fh}', \n\t\t\t\t\t\t\t\t\t\t   data: {keylist: keys}\n\t\t\t\t\t\t\t\t\t\t});"]);
/*		
$.post(
   [ "listeaffecter", 
    {
        pk : $('#grid').yiiGridView('getSelectedRows')
    },]

);		
*/
//echo Html::a('cuac', ['rendic-selec', 'fd'=>$fd,'fh'=>$fh,'keylist' => ''], ['class' => 'btn btn-primary'])
echo GridView::widget(['dataProvider' => $dataProvider, 'options' => ['id' => 'gridInfracciones'], 'columns' => $columns, 'condensed' => true]);
?>

</div>
开发者ID:ibergonzi,项目名称:country,代码行数:30,代码来源:rendicselec.php

示例9:

?>

                <?php 
echo 'Data Inicial' . DatePicker::widget(['name' => 'datainicial', 'id' => 'datainicial2', 'options' => ['placeholder' => 'Escolha a data Inicial ...'], 'pluginOptions' => ['todayHighlight' => true, 'todayBtn' => true, 'format' => 'dd-mm-yyyy', 'autoclose' => true]]);
echo '<br>';
echo 'Data Final' . DatePicker::widget(['name' => 'datafinal', 'id' => 'datafinal2', 'options' => ['placeholder' => 'Escolha a data Final ...'], 'pluginOptions' => ['todayHighlight' => true, 'todayBtn' => true, 'format' => 'dd-mm-yyyy', 'autoclose' => true]]);
?>
            
      </div>

        <div id = 'ErroDatas2' style="padding-left:20px; color: #FF0000" > </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Fechar</button>
        <?php 
echo Html::SubmitButton('Gerar Relatório', ['relatorios/eventopdf/', 'class' => 'btn btn-primary']);
?>
 
            <?php 
ActiveForm::end();
?>
      </div>
    </div>
  </div>
</div>
<!-- -->


            <div id="menu-relatorios" style="width: 100%; text-align: center;">

            <a data-toggle="modal" data-target="#modalCoordPdf">
开发者ID:schw,项目名称:SGE3,代码行数:31,代码来源:index.php

示例10: bien

              
              <div class="col-lg-12" >
              <label class="col-lg-2 control-label">Coût du bien (DA):</label>
               <?php 
echo $form->field($model, 'prixachat')->textInput()->label(false);
?>
              </div>
              
              <div class="col-lg-12" >
              <label class="col-lg-2 control-label">Type d'amortissement:</label>
               <?php 
echo $form->field($model, 'typeamort')->dropDownList(['Lineaire' => 'Linéaire', 'Degressif' => 'Dégressif'])->label(false);
?>
              </div>
              
            
              
</div>

                 <div>
                   <?php 
echo Html::SubmitButton('Suivant', ['amort', 'id' => $model->codebien, 'class' => 'btn btn-primary col-lg-offset-3']);
?>
  
                </div>
<?php 
ActiveForm::end();
?>
  
       
开发者ID:ikramadjissa,项目名称:Yii2Immo,代码行数:27,代码来源:_formAmortAcquisition.php

示例11:

<span class="label label-primary">Розничных точек: <strong><?php 
echo $col_apteki;
?>
</strong></span><br>
<span class="label label-primary">Юр.лиц в регионе: <strong><?php 
echo $col_ur_l;
?>
</strong></span><br>
<span class="label label-primary">Юр.лиц у этого регионального представителя в регионе: <strong><?php 
echo $col_ur_l_regpred;
?>
</strong></span><br>

<br><br>


    <?php 
echo $form->field($model, 'regional_id')->dropdownList(User::find()->select(['username', 'id'])->where(['status' => '2'])->indexBy('id')->column(), ['prompt' => 'Выберите регион']);
?>

    <br><br>


    <?php 
echo Html::SubmitButton("Сохранить", ['class' => 'btn btn-success']);
?>


<?php 
ActiveForm::end();
开发者ID:pumi11,项目名称:aau,代码行数:30,代码来源:region.php

示例12:



<?php 
echo Html::beginForm(['bien/historique'], 'post', ['data-pjax' => '']);
?>


<div class="col-lg-12">
   <label  class="col-lg-2 control-label">code bien:</label>
     <div class= "col-lg-8">
     <?php 
echo Html::input('text', 'code', Yii::$app->request->post('code'), ['class' => 'form-control col-lg-4 ']);
?>
    
      <?php 
echo Html::SubmitButton('', ['class' => 'btn btn-primary glyphicon glyphicon-search']);
?>
  
     </div>
      
   </div>
        </br>      </br>        </br>        </br>   
        <div class="col-lg-12">
                        <label class=" control-label">Désignation:</label>
                        <label class="control-label col-lg-offset-1" ><?php 
echo $designationBien;
?>
 </label>
                       </div> 
        </br>        </br>        </br>              
                       
开发者ID:ikramadjissa,项目名称:Yii2Immo,代码行数:28,代码来源:historique+(2).php

示例13: isset

?>
        <?php 
echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
        
<div class="bien-index">

    <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
 <?php 
echo Html::SubmitButton('Enregistrer bien', ['value' => Url::to('index.php?r=bien/try'), 'class' => 'btn btn-success', 'id' => 'modelAcquiButton']);
?>
  
    <p>
        
    </p>
  
  <?php 
Modal::Begin(['header' => '<h4> Affectation ou mise en instance </h4>', 'id' => 'modalAffect', 'size' => 'modal-lg']);
echo "<div id='modalContent'>\t\n\t\t\n\t\t</div>";
Modal::end();
?>
    
    
    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [['class' => 'yii\\grid\\SerialColumn'], 'codebien', 'codesousfamille', 'numfacture', 'numcmd', 'typebien', ['class' => 'yii\\grid\\ActionColumn']]]);
开发者ID:ikramadjissa,项目名称:Yii2Immo,代码行数:31,代码来源:index.php

示例14:

        <div class="col-lg-3 ">                 
     <?php 
echo $form->field($stru, 'designation')->dropDownList(['siege' => 'Siège central', 'Succursale Cheraga' => 'Succursale Chéraga', 'Succursale Annaba' => 'Succursale Annaba', 'Succursale Oran' => 'Succursale Oran', 'Succursale Constantine' => 'Succursale Constantine', 'Succursale Bouzareah' => 'Succursale Bouzareah'])->label(false);
?>
                                                               
                                                   
                    </div>
                    
        
                    
                    

                      <div >
                     
                              <?php 
echo Html::SubmitButton('Afficher', ['class' => 'btn btn-primary']);
?>
                               </div>  
                               
                                                     
                    </div>
                    
                    
                    
 <div class="row col-lg-6 col-lg-offset-2 ">
   
 <?php 
echo Highcharts::widget(['options' => ['chart' => ['type' => 'column'], 'title' => ['text' => "Valeur d'investissement par compte"], 'xAxis' => ['title' => ['text' => 'Comptes'], 'type' => 'category'], 'yAxis' => ['title' => ['text' => 'Investissement']], 'legend' => ['enabled' => true], 'plotOptions' => ['series' => ['borderWidth' => 0, 'dataLabels' => ['enabled' => true]]], 'tooltip' => ['headerFormat' => '<span style="font-size:11px">{series.name}</span><br>', 'pointFormat' => '<span style="color:{point.color}">{point.name}</span>: <b>{point.y:.2f}%</b> of total<br/>'], 'series' => [['name' => "Investissement", 'colorByPoint' => true, 'data' => [['name' => "218452", 'y' => $MaterielInformatique], ['name' => "2110", 'y' => $TerrainsDeConstruction], ['name' => "218440", 'y' => $MaterielAutomobile], ['name' => "218450", 'y' => $MobilierDeBureau]]]]]]);
?>
 
 
开发者ID:ikramadjissa,项目名称:Yii2Immo,代码行数:29,代码来源:statInvest.php

示例15:

                        <label class=" control-label">Code bien :</label>
                        <label class="control-label " > <?php 
echo $codeBien;
?>
</label>
                    </div>
                         </br>  </br>
                        <label class="col-lg-2 control-label">Date mise en instance:</label>
                                           <?php 
// with an ActiveForm instance
echo $form->field($dat, 'dt')->widget(DatePicker::className(), ['inline' => false, 'clientOptions' => ['autoclose' => true, 'format' => 'dd/mm/yyyy']])->label(false);
?>
                    </div>
                    
                    
                    
                       <div>
             
                <?php 
echo Html::SubmitButton('mettre en instance', ['class' => 'btn btn-primary col-lg-offset-3', 'name' => '']);
?>
                
                <a href="#" class="btn btn-primary" data-dissmiss="modal">Annuler</a>

            </div>
             
     <?php 
ActiveForm::end();
?>
            
  
开发者ID:ikramadjissa,项目名称:Yii2Immo,代码行数:29,代码来源:_formInstance.php


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