Skip to content

Commit

Permalink
Updated previews
Browse files Browse the repository at this point in the history
moved signposting to the profile
  • Loading branch information
stain committed Nov 12, 2021
1 parent 86d9ab4 commit d9f3f87
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 143 deletions.
53 changes: 14 additions & 39 deletions Workflow-RO-Crate/1.0-DRAFT/example/ro-crate-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,12 @@
<head>


<!-- https://signposting.org/FAIR/ markup --->

<link href="https://about.workflowhub.eu/Workflow-RO-Crate/example" rel="cite-as" /> <!-- SHOULD be w3id or DOI -->
<link href="https://about.workflowhub.eu/Workflow-RO-Crate/" rel="type" /> <!-- SHOULD be w3id or DOI -->
<link href="http://purl.org/dc/terms/Standard" rel="type" />
<link href="https://schema.org/CreativeWork" rel="type" />

<link href="https://spdx.org/licenses/CC0-1.0" rel="license" />

<link href="https://orcid.org/0000-0001-9842-9718" rel="author" />

<link href="ro-crate-metadata.json" rel="describedby" type='application/ld+json; profile="https://w3id.org/ro/crate"' />
<link href="ro-crate-metadata.jsonld" rel="describedby" type='application/ld+json; profile="https://w3id.org/ro/crate"' />
<link href="ro-crate-preview.html" rel="describedby" type='text/html' />

<!-- repeat of hasPart in RO-Crate although these do not currently exist in example/
<link href="example_workflow.cwl" rel="item" />
<link href="diagram.svg" rel="item" />
<link href="README.md" rel="item" />
-->


<script type="application/ld+json">
{
"@context": "https://w3id.org/ro/crate/1.1/context",
"@graph": [
{
"@id": "ro-crate-metadata.jsonld",
"@id": "ro-crate-metadata.json",
"@type": "CreativeWork",
"about": {
"@id": "./"
Expand All @@ -41,19 +19,19 @@
"@id": "https://w3id.org/ro/crate/1.1"
},
{
"@id": "https://about.workflowhub.eu/Workflow-RO-Crate/"
"@id": "https://w3id.org/workflowhub/workflow-ro-crate/1.0"
}
]
},
{
"@id": "https://about.workflowhub.eu/Workflow-RO-Crate/",
"@id": "https://w3id.org/workflowhub/workflow-ro-crate/1.0",
"@type": "CreativeWork",
"name": "Workflow RO-Crate profile",
"version": "0.2.0",
"version": "1.0.0",
"@reverse": {
"conformsTo": [
{
"@id": "ro-crate-metadata.jsonld"
"@id": "ro-crate-metadata.json"
}
]
}
Expand Down Expand Up @@ -88,7 +66,7 @@
"@reverse": {
"about": [
{
"@id": "ro-crate-metadata.jsonld"
"@id": "ro-crate-metadata.json"
},
{
"@id": "ro-crate-preview.html"
Expand Down Expand Up @@ -181,12 +159,9 @@
<!-- script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script -->
<script src="https://unpkg.com/ro-crate-html-js/dist/ro-crate-dynamic.js"></script>

<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
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 rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<meta charset='utf-8'/>
<style>
Expand Down Expand Up @@ -214,7 +189,11 @@ <h3 class="item_name">Example Workflow</h4>


<a href="./ro-crate-metadata.json">⬇️🏷️ Download all the metadata for <span class='name'>Example Workflow</span> in JSON-LD format</a>


<div id="check"></div>


</div>


Expand Down Expand Up @@ -260,7 +239,7 @@ <h3> Example Workflow</h3>
</tr><tr><th colspan="2" style="text-align:center">Items that reference this one</th><tr><tr>
<th style="text-align:left;" class="prop">about<span>&nbsp;</span><a href="http://schema.org/about">[?]</a></th>
<td style='text-align:left'><ul>
<li><a href="#ro-crate-metadata.jsonld">ro-crate-metadata.jsonld</a></li>
<li><a href="#ro-crate-metadata.json">ro-crate-metadata.json</a></li>

<li><a href="#ro-crate-preview.html">ro-crate-preview.html</a></li>
</ul></td>
Expand Down Expand Up @@ -373,11 +352,7 @@ <h3><a href="README.md">⬇️ Download: </a> README.md</h3>
</div>


<p>This file was created at 1624556553066 by
<a href='https://code.research.uts.edu.au/eresearch/calcytejs'>
Calcyte</a> which implements the <a href=''>
Draft RO-Crate format</a>, version
</p>



</body>
Expand Down
Loading

0 comments on commit d9f3f87

Please sign in to comment.