Browse Source

rdm layout

master
root 2 years ago
parent
commit
429f098e41
  1. 82
      templates/content/node--islandora-rdm-dataset.html.twig

82
templates/content/node--islandora-rdm-dataset.html.twig

@ -1,3 +1,4 @@
{{ dd(content) }}
{%
set node_classes = [
'node',
@ -43,55 +44,91 @@ set node_classes = [
{#=============#}
{#Dummy Content#}
{#=============#}
<hr>
<h3>Rob's dummy content</h3>
<section class="citation-block">
<div class="icon"><i class="ficon-file"></i></div>
<div class="data-citation"><h2>Title</h2>
<div class="data-citation"><h3>Title</h3>
<span>
Elit consequatur quasi expedita sint consectetur. Ipsa obcaecati sed dolores exercitationem iste Voluptate ipsam nihil aperiam numquam asperiores Sequi iste ad commodi eligendi sunt? Amet possimus ratione est exercitationem blanditiis?
</span></div>
</section>
<hr>
<h3>Rob's dummy content</h3>
{#Table#}
<table class="metadata">
<table class="rdm_metadata">
<tbody>
<tr id="row_id">
<th scope="row">Description</th>
<tr id="creator">
<th class="label" scope="row">Creator(s)</th>
<td>
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<div>{{ content.field_rdm_creator }}</div>
</td>
</tr>
<tr id="row_id">
<th scope="row">Subject</th>
<tr id="description">
<th class="label" scope="row">Description</th>
<td>
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<div>{{ content.field_rdm_description[0] }}</div>
</td>
</tr>
<tr id="row_id">
<th scope="row">Keywords</th>
<tr id="contibutors">
<th class="label" scope="row">Contributor(s)</th>
<td>
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<div>{{ content.field_rdm_contributors }}</div>
</td>
</tr>
<tr id="row_id">
<th scope="row">Related Publications</th>
<tr id="subjects">
<th class="label" scope="row">Subjects</th>
<td>
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<div>{{ content.field_subjects }}</div>
</td>
</tr>
<tr id="research_field">
<th class="label" scope="row">Field of Research</th>
<td>
<div>{{ content.field_rdm_field_of_research }}</div>
</td>
</tr>
<tr id="title">
<th class="label" scope="row">Title</th>
<td>
<div>{{ content.field_rdm_publication_title }}</div>
</td>
</tr>
<tr id="uri">
<th class="label" scope="row">URI</th>
<td>
<div>{{ content.field_rdm_gemini_uri }}</div>
</td>
</tr>
<tr id="publication_link">
<th class="label" scope="row">Publication Link</th>
<td>
<div>{{ content.field_rdm_publication_link }}</div>
</td>
</tr>
<tr id="organization">
<th class="label" scope="row">Organization</th>
<td>
<div>{{ content.field_organization }}</div>
</td>
</tr>
<tr id="link">
<th class="label" scope="row">Link</th>
<td>
<div>{{ content.field_rdm_publication_link }}</div>
</td>
</tr>
</tbody>
</table>
{{ content.content_moderation_control }}
{{ content.links }}
{{ content.group_dataset }}
{#/table#}
<!-- dummy tabs -->
<!-- Tab links -->
{#
<div class="tab">
<button id="defaultOpen" class="tablinks" onclick="openTab(event, 'Tab01')">Tab01</button>
<button class="tablinks" onclick="openTab(event, 'Tab02')">Tab02</button>
<button class="tablinks" onclick="openTab(event, 'Tab02')">Tab02</button>
<button class="tablinks" onclick="openTab(event, 'Tab03')">Tab03</button>
</div>
<!-- Tab content -->
@ -106,13 +143,14 @@ set node_classes = [
</div>
<div id="Tab02" class="tabcontent">
<h3>Tab02</h3>
<h3>Tab03</h3>
<p>Adipisicing ea dolorum eos excepturi nobis Ipsa officia accusamus omnis iure at Repudiandae quaerat ratione provident quos quae dolor Est voluptatibus aliquam fuga enim nostrum? Necessitatibus magni earum quo esse.</p>
</div>
<!-- /dummy tabs -->
{{ content.field_rdm_creator }}
{{ content.field_rdm_organization_name }}
#}
<hr>
{{ content }}

Loading…
Cancel
Save