Initial commit,修正
This commit is contained in:
Executable
+47
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $form yii\bootstrap\ActiveForm */
|
||||
/* @var $model \common\models\LoginForm */
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\bootstrap\ActiveForm;
|
||||
|
||||
$this->title = Yii::t('backend' ,'System Name');
|
||||
$keywords = '';
|
||||
$description = '';
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<div class="middle-box text-center loginscreen animated fadeInDown">
|
||||
<div>
|
||||
<div>
|
||||
|
||||
<h1 class="logo-name">Hi</h1>
|
||||
|
||||
</div>
|
||||
<h3><?php echo $this->title ?></h3>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="">
|
||||
<?php $form = ActiveForm::begin(['id' => 'login-form']); ?>
|
||||
|
||||
<?= $form->field($model, 'username')->textInput(['autofocus' => true])->label(Yii::t('common' ,'Username')) ?>
|
||||
|
||||
<?= $form->field($model, 'password')->passwordInput()->label(Yii::t('common' ,'Password')) ?>
|
||||
|
||||
<?= $form->field($model, 'rememberMe')->checkbox()->label(Yii::t('common' ,'Remember Me')) ?>
|
||||
|
||||
<div class="form-group">
|
||||
<?= Html::submitButton(Yii::t('common' ,'Login'), ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
|
||||
</div>
|
||||
|
||||
<?php ActiveForm::end(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="">Copyright © <?=Yii::t('common' ,'Company Create Time') ?>-<?php echo date('Y',time()); ?> <a href="https://www.hiluker.com" target="_blank">嗨路客电商</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user