Skip to content

Commit

Permalink
feat: iframe in relfinder page
Browse files Browse the repository at this point in the history
Signed-off-by: WoodenMaiden <[email protected]>
  • Loading branch information
WoodenMaiden committed Oct 10, 2023
1 parent 32620e4 commit 85f4ee0
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions agrold-javaweb/src/main/webapp/relfinder.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,28 @@
<title>AgroLD: Find Relationships</title>
<!-- Les includes -->
<jsp:include page="includes.jsp"></jsp:include>
</head>
<body>
<style>
iframe {
height: 100%;
width: 100%;
position: absolute;
left: 0;
top: 0;
border-style: none;
}
</style>
</head>
<body>
<jsp:include page="header.jsp"></jsp:include>
<%! String rfLink = System.getProperty("agrold.rf_link", "http://rf.southgreen.fr/"); %>
<div class="container-fluid arian-thread">
<div class="info_title">
<div class="container pos-l">Search > <span class="active-p">Explore relationship</span></div>
<div class="container pos-l">Search > <span class="active-p">Explore relationship</span> <em><a target="_blank" src="<%= rfLink %>">(Open Relfinder Reformed in new tab)</a></em></div>
</div>
</div>

<div class="foowrap">
<section>
<!-- <section>
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"
CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,040,0" >
<PARAM name="movie" VALUE="RelFinder.swf">
Expand All @@ -48,7 +60,17 @@
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" width="100%" height="700px" >
</EMBED>
</OBJECT>
</section>
</section> -->
<iframe
src="<%= rfLink %>"
sandbox="allow-downloads-without-user-activation allow-downloads allow-forms allow-same-origin allow-scripts"
allowfullscreen="true"
title="RelFinder Reformed"
name="relfinderreformed"
>

</iframe>

</div>
<jsp:include page="footer.html"></jsp:include>
</body>
Expand Down

0 comments on commit 85f4ee0

Please sign in to comment.