Skip to content

Commit

Permalink
ro-crate previewer
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Sep 29, 2023
1 parent 5f5d0f2 commit 765ef89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions previewers/betatest/ROCrate.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link type="text/css" rel="stylesheet" href="css/preview.css" />
<style>
Expand All @@ -34,11 +31,13 @@ <h1 class="page-title rocratePreviewText">RO-Crate Preview</h1>
<div class='preview-container'>
<div class='preview-header'></div>
<div class='preview'>
<div id="scripts"></div>
<div class="jumbotron">
<div id="check"></div>
<div class="container">
<div id="scripts"></div>
<div class="jumbotron">
<div id="check"></div>
</div>
<div id="summary"></div>
</div>
<div id="summary"></div>
</div>
</div>
</main>
Expand Down
2 changes: 1 addition & 1 deletion previewers/betatest/js/rocrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ async function writeContentAndData(data, fileUrl, file, title, authors) {
document.getElementById("scripts").append(s1);
var s2 = document.createElement("script");
s2.type = "text/javascript";
s2.src = "https://unpkg.com/ro-crate-html-js/dist/ro-crate-dynamic.js";
s2.src = "js/ro-crate-dynamic.js";
document.getElementById("scripts").append(s2);
}

0 comments on commit 765ef89

Please sign in to comment.