added button instead of href

This commit is contained in:
Francesco Mangiacrapa 2021-04-08 13:15:55 +02:00
parent 49c595191b
commit 1765e13846
1 changed files with 21 additions and 11 deletions

View File

@ -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;
@ -40,7 +48,6 @@ body {
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:
<div class="myListOperations">
Available Operations:
<p>
# authentication operator <a href="/wekeo/gettoken" target="_blank" title="gettoken operation">gettoken</a> (gCube AuthN required)
# 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>