update kopf
This commit is contained in:
parent
c1120d5745
commit
2cbec540b9
3 changed files with 12 additions and 4 deletions
4
pom.xml
4
pom.xml
|
@ -283,7 +283,7 @@
|
|||
<url
|
||||
url="${maven.release.repo.url}/org/codelibs/elasticsearch-langfield/1.7.0/elasticsearch-langfield-1.7.0.zip" />
|
||||
<url
|
||||
url="http://maven.codelibs.org/archive/elasticsearch/plugin/kopf/elasticsearch-kopf-1.5.7.zip" />
|
||||
url="http://maven.codelibs.org/archive/elasticsearch/plugin/kopf/elasticsearch-kopf-1.5.7.1.zip" />
|
||||
</get>
|
||||
<delete dir="${basedir}/plugins" />
|
||||
<mkdir dir="${basedir}/plugins" />
|
||||
|
@ -296,7 +296,7 @@
|
|||
<unzip dest="${basedir}/plugins/langfield"
|
||||
src="${basedir}/target/plugins/elasticsearch-langfield-1.7.0.zip" />
|
||||
<unzip dest="${basedir}/plugins/kopf"
|
||||
src="${basedir}/target/plugins/elasticsearch-kopf-1.5.7.zip" />
|
||||
src="${basedir}/target/plugins/elasticsearch-kopf-1.5.7.1.zip" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
|
|
|
@ -13,12 +13,13 @@
|
|||
<jsp:param name="menuType" value="system" />
|
||||
</jsp:include>
|
||||
|
||||
<div class="content-wrapper">
|
||||
<iframe src="<%=request.getContextPath()%>/admin/server/_plugin/kopf/" width="100%" height="800" seamless></iframe>
|
||||
<div id="content" class="content-wrapper">
|
||||
<iframe id="contentFrame" src="<%=request.getContextPath()%>/admin/server/_plugin/kopf/" width="100%" height="400" seamless></iframe>
|
||||
</div>
|
||||
|
||||
<jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
|
||||
</div>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/foot.jsp"></jsp:include>
|
||||
<script src="${f:url('/js/admin/system.js')}" type="text/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
7
src/main/webapp/js/admin/system.js
Normal file
7
src/main/webapp/js/admin/system.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
$(function(){
|
||||
var $content = $('#content');
|
||||
var $contentFrame = $('#contentFrame');
|
||||
$contentFrame.load(function(){
|
||||
$(this).height($content.height());
|
||||
});
|
||||
});
|
Loading…
Add table
Reference in a new issue