Added web page to test the D4S Storage WEB components and JS libraries

This commit is contained in:
Mauro Mugnaini 2023-07-26 18:09:08 +02:00
parent 7d477a2231
commit 53bb1f97b6
1 changed files with 32 additions and 0 deletions

32
storage/index.html Normal file
View File

@ -0,0 +1,32 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<script src="d4s-storage.js"></script>
<script src="../common/js/keycloak.js" type="text/javascript"></script>
<script src="../boot/d4s-boot.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<body class="m-4">
<d4s-boot-2 context="%2Fgcube%2Fdevsec%2FdevVRE"
gateway="next.d4science.org"
redirect-url="https://cdn.dev.d4science.org/storage/"
url="https://accounts.dev.d4science.org/auth">
<!-- redirect-url="http://localhost:8080/storage/" -->
<div class="row h-100">
<div class="col-3 border">
<div class="row">
<d4s-storage-tree show-root="true" filelist-id="next-ws" base-url="https://workspace-repository.dev.d4science.org/storagehub/workspace"></d4s-storage-tree>
</div>
<div class="row">
<d4s-storage-tree filelist-id="next-ws" base-url="https://workspace-repository.dev.d4science.org/storagehub/workspace"></d4s-storage-tree>
</div>
</div>
<div class="col w-100 border overflow-auto mh-100">
<d4s-storage-folder id="next-ws" base-url="https://workspace-repository.dev.d4science.org/storagehub/workspace"></d4s-storage-folder>
</div>
</div>
</body>
</html>