copy data/view
This commit is contained in:
parent
08723b8a43
commit
df1f6d3a22
|
@ -337,8 +337,11 @@ endforeach;
|
|||
<?php else: ?>
|
||||
<?php
|
||||
if(!empty($this->dataService)) { ?>
|
||||
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||
<?php if($this->dataService['service_type'] == 2) { ?>
|
||||
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="Select the subset" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>',this);">
|
||||
<?php }else if($this->dataService['service_type'] == 3) {?>
|
||||
<a href="#selectDataWindow" role="button" class="btn btn-primary btn-large btn-block" data-toggle="modal">
|
||||
<?php } ?>
|
||||
<?php }else{ ?>
|
||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="Free of Charge!">
|
||||
<?php } ?>
|
||||
|
@ -475,3 +478,45 @@ var bound = {
|
|||
<?php else: ?>
|
||||
<p>Cannot find the metadata.</p>
|
||||
<?php endif;?>
|
||||
<?php if(!empty($this->dataService)) { ?>
|
||||
<?php if($this->dataService['service_type'] == 2) { ?>
|
||||
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||
<script src="/js/lib/custom/models/dataservice.js"></script>
|
||||
<?php }else if($this->dataService['service_type'] == 3) {?>
|
||||
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||
<!-- <script src="/js/lib/custom/models/dataservice.geodata.js"></script> -->
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php if(!empty($this->dataService)) { ?>
|
||||
<?php if($this->dataService['service_type'] == 2) { ?>
|
||||
|
||||
<?php }else if($this->dataService['service_type'] == 3) {?>
|
||||
<!-- Modal -->
|
||||
<div id="selectDataWindow" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3 id="myModalLabel">选择数据范围</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<h4>按流域</h4>
|
||||
<p>
|
||||
<a href="" class="btn btn-default">黄河流域</a>
|
||||
<a href="" class="btn btn-default">长江流域</a>
|
||||
<a href="" class="btn btn-default">黑河流域</a>
|
||||
<a href="" class="btn btn-default">塔里木河流域</a>
|
||||
</p>
|
||||
<hr />
|
||||
<h4>按山脉</h4>
|
||||
<p>
|
||||
<a href="" class="btn btn-default">祁连山脉</a>
|
||||
<a href="" class="btn btn-default">天山山脉</a>
|
||||
<a href="" class="btn btn-default">昆仑山脉</a>
|
||||
<a href="" class="btn btn-default">横断山山脉</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
Loading…
Reference in New Issue