2014-08-30 10:00:22 +00:00
|
|
|
<!-- Modal -->
|
|
|
|
<div class="modal fade" id="mdref-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">×</span><span class="sr-only">Close</span></button>
|
|
|
|
<h4 class="modal-title" id="myModalLabel">添加数据文献</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form id="mdref" 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="refid" id="inputfid" placeholder="文献ID" class="form-control" value="<?= empty($this->refid) ? "":$this->refid ?>" >
|
2013-10-09 10:02:11 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-30 10:00:22 +00:00
|
|
|
<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">
|
2013-11-05 02:23:49 +00:00
|
|
|
<span class="help-block"><a href="javascript:void(0);" onclick="$(this).parent('span').prev('input').val('e31f5ea7-a4af-4ae3-9ac1-1a84132c4338')">设为数据中心文献</a></span>
|
2013-10-09 10:02:11 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-30 10:00:22 +00:00
|
|
|
<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">
|
2013-10-09 10:02:11 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-30 10:17:57 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-3 control-label">文献类型</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<?php foreach($this->referenceType as $k=>$v) { ?>
|
|
|
|
<label class="radio">
|
2014-08-30 10:21:44 +00:00
|
|
|
<input type="radio" name="reftype" value="<?= $k ?>" /> <?= $v ?>
|
2014-08-30 10:17:57 +00:00
|
|
|
</label>
|
|
|
|
<?php } ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-10-10 02:19:46 +00:00
|
|
|
<input type="hidden" name="id" value="" />
|
2013-10-09 10:02:11 +00:00
|
|
|
</form>
|
2014-08-30 10:00:22 +00:00
|
|
|
</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="$('#mdref')[0].reset();" class="btn">重置</button>
|
|
|
|
<button onclick="$('#mdref-form').modal('hide');" class="btn">关闭</button>
|
|
|
|
<button onclick="mdref.create()" class="btn btn-primary" id="submit_btn">保存</button>
|
|
|
|
</div>
|
2013-10-09 10:02:11 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|