123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Logo_image')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-logo_image" class="form-control" size="50" name="row[logo_image]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-logo_image" class="btn btn-danger faupload" data-input-id="c-logo_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-logo_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-logo_image" class="btn btn-primary fachoose" data-input-id="c-logo_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-logo_image"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-logo_image"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-title" class="form-control" name="row[title]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-number" class="form-control" name="row[number]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Version')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-version" class="form-control" name="row[version]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Bianzhiren')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-bianzhiren" class="form-control" name="row[bianzhiren]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pizhunren')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-pizhunren" class="form-control" name="row[pizhunren]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Shenheren')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-shenheren" class="form-control" name="row[shenheren]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Kongzhiren')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-kongzhiren" class="form-control" name="row[kongzhiren]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Department')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-department" class="form-control" name="row[department]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Wenjianstatus')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-wenjianstatus" class="form-control" name="row[wenjianstatus]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-name" class="form-control" name="row[name]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Cate_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-cate_id" data-source="traincate/index" class="form-control selectpage" name="row[cate_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Level_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-level_id" data-source="trainlevel/index" class="form-control selectpage" name="row[level_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Fangshi')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-fangshi" class="form-control" name="row[fangshi]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-starttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[starttime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-endtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-address" class="form-control" name="row[address]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Zhuchiren')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-zhuchiren" class="form-control" name="row[zhuchiren]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Zhujiangren')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-zhujiangren" class="form-control" name="row[zhujiangren]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Type_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-type_id" data-source="traintype/index" class="form-control selectpage" name="row[type_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Info')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-info" class="form-control" name="row[info]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Files')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-files" class="form-control" size="50" name="row[files]" type="text">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-files" class="btn btn-danger faupload" data-input-id="c-files" data-multiple="true" data-preview-id="p-files"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-files" class="btn btn-primary fachoose" data-input-id="c-files" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-files"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-files"></ul>
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pingjia')}:</label>
- <div class="col-xs-12 col-sm-8">
- <textarea id="c-pingjia" class="form-control " rows="5" name="row[pingjia]" cols="50"></textarea>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pingjia_image')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-pingjia_image" class="form-control" size="50" name="row[pingjia_image]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-pingjia_image" class="btn btn-danger faupload" data-input-id="c-pingjia_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-pingjia_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-pingjia_image" class="btn btn-primary fachoose" data-input-id="c-pingjia_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-pingjia_image"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-pingjia_image"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pingjia_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-pingjia_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pingjia_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pingjia_uid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-pingjia_uid" data-source="user/user/index" data-params='{"custom[idcard_status]":"1"}' data-field="nickname" class="form-control selectpage" name="row[pingjia_uid]" type="text" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Sign_starttime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-sign_starttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sign_starttime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Sign_endtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-sign_endtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sign_endtime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Usercount')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-usercount" class="form-control" name="row[usercount]" type="number" value="0">
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('User_ids')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-user_ids" data-source="user/user/index" data-params='{"custom[idcard_status]":"1"}' data-field="nickname" data-multiple="true" class="form-control selectpage" name="row[user_ids]" type="text" value="">
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Userauth_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="userauthStatusList" item="vo"}
- <label for="row[userauth_status]-{$key}"><input id="row[userauth_status]-{$key}" name="row[userauth_status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>-->
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
- </div>
- </div>
- </form>
|