123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <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">{:__('User_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Company_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-company_id" data-rule="required" data-source="company/index" data-field="companyname" class="form-control selectpage" name="row[company_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Projectname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-projectname" class="form-control" name="row[projectname]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Projectaddress')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-projectaddress" class="form-control" name="row[projectaddress]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-image" class="form-control" size="50" name="row[image]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-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-image"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-image"></ul>
- </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">{:__('Header')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-header" class="form-control" name="row[header]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Header_avatar')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-header_avatar" class="form-control" size="50" name="row[header_avatar]" type="text" value="">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-header_avatar" class="btn btn-danger faupload" data-input-id="c-header_avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-header_avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-header_avatar" class="btn btn-primary fachoose" data-input-id="c-header_avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-header_avatar"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-header_avatar"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Header_mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-header_mobile" class="form-control" name="row[header_mobile]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Xiaofang')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-xiaofang" class="form-control" name="row[xiaofang]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Xiaofang_mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-xiaofang_mobile" class="form-control" name="row[xiaofang_mobile]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Weituo')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-weituo" class="form-control" name="row[weituo]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Fuwujigou')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-fuwujigou" class="form-control" name="row[fuwujigou]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Weibaofanwei')}:</label>
- <div class="col-xs-12 col-sm-8">
- <textarea id="c-weibaofanwei" class="form-control " rows="5" name="row[weibaofanwei]" cols="50"></textarea>
- </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>
|