Files
ctms-yii/vendor/fmsoft/modules/data/views/default/_step1.php
T
fm453 037f274ec5 优化ctms-api语法、修复已知BUG;
主要修复ctms-api、dacms对PHP新版本的支持问题
2025-07-13 19:37:42 +08:00

44 lines
1.6 KiB
PHP
Executable File

<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\helpers\Url;
use yii\bootstrap5\ActiveForm;
$this->title = '数据模型批处理工具-数据表生成器';
?>
<div class="container-fluid">
<div class="row-fluid">
<div class="col-lg-12">
<div class="page-header">
<h1>
预定义
</h1>
</div>
<?php $form = ActiveForm::begin(); ?>
<form action="" method="post" class="form-horizontal form" id="setting-form">
<input name="_csrf-backend" type="hidden" id="_csrf" value="<?= Yii::$app->request->csrfToken ?>">
<div class="form-group">
<label for="step2[database]">数据库名</label><input class="form-control" type="text" name="step2[database]" />
</div>
<div class="form-group">
<label for="step2[dbPrefix]">库前缀</label><input class="form-control" type="text" name="step2[dbPrefix]" />
</div>
<div class="form-group">
<label for="step2[tablePrefix]">表前缀</label><input class="form-control" type="text" name="step2[tablePrefix]" />
</div>
<div class="form-group">
<label for="step2[name]">表名</label><input class="form-control" type="text" name="step2[name]" />
</div>
<div class="form-group">
<label for="step2[tableTitle]">表备注(如:聊天室)</label><input class="form-control" type="text" name="step2[tableTitle]" />
</div>
<div class="form-group">
<label for="step2[type]">表归属类(如:all,sys,chat,shop,site,realty……)</label><input class="form-control" type="text" name="step2[type]" />
</div>
<button type="submit" class="btn btn-success">提交</button>
<?php ActiveForm::end(); ?>
</div>
</div>
</div>