52 lines
2.1 KiB
PHTML
52 lines
2.1 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
|
$this->breadcrumb('同步GEONETWORK元数据</a>');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row">
|
|
<div class="span3">
|
|
<?= $this->partial('data/left.phtml'); ?>
|
|
</div>
|
|
|
|
<div class="span9">
|
|
<h3>添加可视化要素</h3>
|
|
<hr />
|
|
<form class="form-horizontal">
|
|
<div class="control-group">
|
|
<label class="control-label" for="inputUUID">UUID</label>
|
|
<div class="controls">
|
|
<input type="text" id="inputUUID" placeholder="UUID" value="<?= $this->data['uuid'] ?>" class="input-block-level">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label" for="inputVariable">可视化要素</label>
|
|
<div class="controls">
|
|
<input type="text" id="inputVariable" placeholder="Variable" class="input-block-level">
|
|
</div>
|
|
</div>
|
|
<div class="control-group" id="last-control-group">
|
|
<div class="controls">
|
|
<button type="button" class="btn btn-defualt" id="addVariable">添加要素</button>
|
|
<button type="submit" class="btn btn-primary">提交</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$('#addVariable').click(function(e) {
|
|
html = '<div class="control-group">
|
|
<label class="control-label" for="inputVariable">可视化要素</label>
|
|
<div class="controls">
|
|
<input type="text" id="inputVariable" placeholder="Variable" class="input-block-level">
|
|
</div>
|
|
</div>';
|
|
$('#last-control-group').prepend();
|
|
});
|
|
</script>
|