westdc-zf1/application/admin/views/scripts/data/fund-mdfund-form.phtml

45 lines
2.0 KiB
PHTML
Raw Permalink Normal View History

<!-- Modal -->
<div class="modal fade" id="mdfund-form" >
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">数据和项目的关联</h4>
</div>
<div class="modal-body">
<form id="mdfund" method="post" class="form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label" for="inputRefid">项目ID</label>
<div class="col-sm-8">
<input type="text" name="fid" id="inputfid" placeholder="项目ID" class="form-control" value="<?= empty($this->fid) ? "":$this->fid ?>" >
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label" for="inputUuid">元数据UUID</label>
<div class="col-sm-8">
<input type="text" name="uuid" id="inputUuid" placeholder="UUID" class="form-control">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label" for="inputPlace">排序数值(数字)</label>
<div class="col-sm-8">
<input type="text" name="place" id="inputPlace" placeholder="排序" class="form-control">
</div>
</div>
<input type="hidden" name="id" value="" />
</form>
</div>
<div class="modal-footer">
<div class="progress progress-striped active" id="submit-loading" style="display:none;">
<div class="bar" style="width:100%;"></div>
</div>
<button onclick="$('#mdfund')[0].reset();" class="btn">重置</button>
<button onclick="$('#mdfund-form').modal('hide');" class="btn">关闭</button>
<button onclick="mdfund.create()" class="btn btn-primary" id="submit_btn">保存</button>
</div>
</div>
</div>
</div>