added button instead of href
This commit is contained in:
parent
49c595191b
commit
1765e13846
|
@ -3,6 +3,14 @@
|
|||
<head>
|
||||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
||||
<meta content="utf-8" http-equiv="encoding">
|
||||
|
||||
<script type="text/javascript">
|
||||
function goToURL(relativePath) {
|
||||
var x = "/wekeo/" + relativePath;
|
||||
window.open(x, "_blank");
|
||||
}
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: #f8f6f2;
|
||||
|
@ -18,11 +26,11 @@ body {
|
|||
height: 300px;
|
||||
margin-top: -150px; /*set to a negative number 1/2 of your height*/
|
||||
margin-left: -300px; /*set to a negative number 1/2 of your width*/
|
||||
/* border: 1px solid #ccc; */
|
||||
/* border: 1px solid #ccc; */
|
||||
/* background-color: #9b9b9b; */
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
/* vertical-align: middle; */
|
||||
/* vertical-align: middle; */
|
||||
}
|
||||
|
||||
.myTitle {
|
||||
|
@ -37,10 +45,9 @@ body {
|
|||
}
|
||||
|
||||
.uri-footer {
|
||||
padding: 20px 20px;
|
||||
font-size: 14px;
|
||||
padding: 20px 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
@ -49,15 +56,18 @@ body {
|
|||
<img alt=""
|
||||
src="https://www.d4science.org/image/layout_set_logo?img_id=12630" />
|
||||
<div class="myTitle">The Wekeo Resolver</div>
|
||||
<div class="myListOperations">Available Operations:
|
||||
<p>
|
||||
# authentication operator <a href="/wekeo/gettoken" target="_blank" title="gettoken operation">gettoken</a> (gCube AuthN required)
|
||||
</p>
|
||||
<div class="myListOperations">
|
||||
Available Operations:
|
||||
<p>
|
||||
# authentication operator
|
||||
<button onclick="goToURL('getoken')">Get Token</button>
|
||||
(gCube AuthN required)
|
||||
</p>
|
||||
</div>
|
||||
<div class="uri-footer">
|
||||
See wiki page at <a
|
||||
href="https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#Wekeo_Resolver" target="_blank">gCube Wiki Wekeo
|
||||
Resolver</a>
|
||||
href="https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#Wekeo_Resolver"
|
||||
target="_blank">gCube Wiki Wekeo Resolver</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue