后台弹窗修复
This commit is contained in:
parent
fef86470ca
commit
4c2f9582cf
|
@ -4,14 +4,14 @@
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
||||||
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
||||||
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
|
||||||
$this->headLink()->appendStylesheet('/css/author.css');
|
$this->headLink()->appendStylesheet('/css/author.css');
|
||||||
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
||||||
$this->breadcrumb('数据反馈管理</a>');
|
$this->breadcrumb('数据反馈管理</a>');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
$this->headScript()->appendFile('/js/lib/colorbox/jquery.colorbox-min.js');
|
||||||
|
$this->headLink()->appendStylesheet('/js/lib/colorbox/colorbox.css');
|
||||||
?>
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="hidden-sm hidden-xs col-md-2">
|
<div class="hidden-sm hidden-xs col-md-2">
|
||||||
|
|
|
@ -7,8 +7,10 @@
|
||||||
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
||||||
$this->breadcrumb('DOI');
|
$this->breadcrumb('DOI');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
// $this->theme->AppendPlus($this,'colorbox');
|
||||||
$this->theme->AppendPlus($this,'admin_plugin');
|
$this->theme->AppendPlus($this,'admin_plugin');
|
||||||
|
$this->headScript()->appendFile('/js/lib/colorbox/jquery.colorbox-min.js');
|
||||||
|
$this->headLink()->appendStylesheet('/js/lib/colorbox/colorbox.css');
|
||||||
?>
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="hidden-sm hidden-xs col-md-2">
|
<div class="hidden-sm hidden-xs col-md-2">
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<a class="label label-primary" href="/service/geonetwork?url=metadata.edit?id=<?php echo $item['id']; ?>" target="_blank"><span class="glyphicon glyphicon-pencil"></span> 在geonetwork里修改</a>
|
<a class="label label-primary" href="/service/geonetwork?url=metadata.edit?id=<?php echo $item['id']; ?>" target="_blank"><span class="glyphicon glyphicon-pencil"></span> 在geonetwork里修改</a>
|
||||||
<a class="label label-danger" href="/service/geonetwork?url=metadata.delete?id=<?php echo $item['id']; ?>" target="_blank"><span class="glyphicon glyphicon-remove"></span> 删除此条数据</a>
|
<a class="label label-danger" href="/service/geonetwork?url=metadata.delete?id=<?php echo $item['id']; ?>" target="_blank"><span class="glyphicon glyphicon-remove"></span> 删除此条数据</a>
|
||||||
<a class="label label-primary" onclick="validate(<?php echo $item['id'];?>);" class="more inline"><span class="glyphicon glyphicon-search"></span> 检查元数据错误</a>
|
<a class="label label-primary" onclick="validate(<?php echo $item['id'];?>);" class="more inline"><span class="glyphicon glyphicon-search"></span> 检查元数据错误</a>
|
||||||
<a class="label label-success" onclick="$('#commit_submit').attr('onclick','commit(\'<?php echo $item['id'];?>\');');" href="#commitform" class="more inline"><span class="glyphicon glyphicon-ok"></span> 提交评审发布</a>
|
<a class="label label-success more inline" onclick="$('#commit_submit').attr('onclick','commit(\'<?php echo $item['id'];?>\');');" href="#commitform" ><span class="glyphicon glyphicon-ok"></span> 提交评审发布</a>
|
||||||
<span class="text-primary"> 版本数:<?= $item['version_count'] ?>个</span>
|
<span class="text-primary"> 版本数:<?= $item['version_count'] ?>个</span>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
@ -84,7 +84,7 @@ function action(ac,id){
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$(".inline").colorbox({inline:true, width:"50%"});
|
$(".inline").colorbox({inline:true, width:"50%", height:"50%"});
|
||||||
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
||||||
function commit(id){
|
function commit(id){
|
||||||
action('commit&changelog='+$('#changelog').val(),id);
|
action('commit&changelog='+$('#changelog').val(),id);
|
||||||
|
@ -98,10 +98,10 @@ function validate(id){
|
||||||
<form>
|
<form>
|
||||||
<p>
|
<p>
|
||||||
<label>简要功能:</label><br />
|
<label>简要功能:</label><br />
|
||||||
<textarea class="full" style="resize:none;height:200px;" id="changelog"></textarea>
|
<textarea rows="12" class="full" style="width:100%;" id="changelog"></textarea>
|
||||||
<br /><small>请输入此数据的简要功能和特色</small>
|
<br /><small>请输入此数据的简要功能和特色</small>
|
||||||
</p>
|
</p>
|
||||||
<input type="button" onclick="" id="commit_submit" class="btn btn-green big" value="提交"/>
|
<input type="button" onclick="" id="commit_submit" class="btn btn-success pull-right" value="提交"/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="error"><img src="/images/alert_big_error.png" /><span></span></div>
|
<div class="error"><img src="/images/alert_big_error.png" /><span></span></div>
|
||||||
|
|
|
@ -8,9 +8,12 @@
|
||||||
$this->breadcrumb('黑河数据集');
|
$this->breadcrumb('黑河数据集');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->theme->AppendPlus($this,'jquery');
|
$this->theme->AppendPlus($this,'jquery');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
// $this->theme->AppendPlus($this,'colorbox');
|
||||||
$this->headLink()->appendStylesheet('/css/author.css');
|
$this->headLink()->appendStylesheet('/css/author.css');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
||||||
|
$this->headScript()->appendFile('/js/lib/colorbox/jquery.colorbox-min.js');
|
||||||
|
$this->headLink()->appendStylesheet('/js/lib/colorbox/colorbox.css');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="hidden-sm hidden-xs col-md-2">
|
<div class="hidden-sm hidden-xs col-md-2">
|
||||||
|
@ -74,7 +77,7 @@
|
||||||
<div id="confirm_dialog" class="cbox_content">
|
<div id="confirm_dialog" class="cbox_content">
|
||||||
<div class="sepH_c tac"><strong>状态修改</strong></div>
|
<div class="sepH_c tac"><strong>状态修改</strong></div>
|
||||||
<div id="cbox_dialog_content" class="sepH_c ">
|
<div id="cbox_dialog_content" class="sepH_c ">
|
||||||
<select id="status_selector" style="width:300px;" name="">
|
<select id="status_selector" style="width:300px;" name="" class="form-control">
|
||||||
<?php
|
<?php
|
||||||
foreach($this->project_status as $k=>$v)
|
foreach($this->project_status as $k=>$v)
|
||||||
{
|
{
|
||||||
|
@ -83,10 +86,10 @@
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="tac" id="cbox_ctl_btns">
|
<div class="tac pull-right" id="cbox_ctl_btns">
|
||||||
<a href="javascript:void(0);" class="btn btn-green" id="confirm_yes"
|
<a href="javascript:void(0);" class="btn btn-success btn-sm" id="confirm_yes"
|
||||||
onclick="changeStatusAction($('#status_selector').attr('name'),$('#status_selector').val());">OK</a>
|
onclick="changeStatusAction($('#status_selector').attr('name'),$('#status_selector').val());">确定</a>
|
||||||
<a href="javascript:void(0);" class="btn" id="confirm_no" onclick="$.colorbox.close();">Cancel</a>
|
<a href="javascript:void(0);" class="btn btn-danger btn-sm" id="confirm_no" onclick="$.colorbox.close();">取消</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -159,5 +162,5 @@ function invite(id){
|
||||||
function Alert(html){
|
function Alert(html){
|
||||||
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
||||||
}
|
}
|
||||||
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
$(".iframe").colorbox({iframe:true, width:"50%", height:"50%"});
|
||||||
</script>
|
</script>
|
Loading…
Reference in New Issue