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 = [ set node_classes = [
'node', 'node',
@ -43,55 +44,91 @@ set node_classes = [
{#=============#} {#=============#}
{#Dummy Content#} {#Dummy Content#}
{#=============#} {#=============#}
<hr>
<h3>Rob's dummy content</h3>
<section class="citation-block"> <section class="citation-block">
<div class="icon"><i class="ficon-file"></i></div> <div class="icon"><i class="ficon-file"></i></div>
<div class="data-citation"><h2>Title</h2> <div class="data-citation"><h3>Title</h3>
<span> <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? 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> </span></div>
</section> </section>
<hr>
<h3>Rob's dummy content</h3>
{#Table#} {#Table#}
<table class="metadata"> <table class="rdm_metadata">
<tbody> <tbody>
<tr id="row_id"> <tr id="creator">
<th scope="row">Description</th> <th class="label" scope="row">Creator(s)</th>
<td> <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>{{ content.field_rdm_creator }}</div>
</div>
</td> </td>
</tr> </tr>
<tr id="row_id"> <tr id="description">
<th scope="row">Subject</th> <th class="label" scope="row">Description</th>
<td> <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>{{ content.field_rdm_description[0] }}</div>
</div>
</td> </td>
</tr> </tr>
<tr id="row_id"> <tr id="contibutors">
<th scope="row">Keywords</th> <th class="label" scope="row">Contributor(s)</th>
<td> <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>{{ content.field_rdm_contributors }}</div>
</div>
</td> </td>
</tr> </tr>
<tr id="row_id"> <tr id="subjects">
<th scope="row">Related Publications</th> <th class="label" scope="row">Subjects</th>
<td> <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>{{ content.field_subjects }}</div>
</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> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
{{ content.content_moderation_control }}
{{ content.links }}
{{ content.group_dataset }}
{#/table#} {#/table#}
<!-- dummy tabs --> <!-- dummy tabs -->
<!-- Tab links --> <!-- Tab links -->
{#
<div class="tab"> <div class="tab">
<button id="defaultOpen" class="tablinks" onclick="openTab(event, 'Tab01')">Tab01</button> <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, 'Tab02')">Tab02</button> <button class="tablinks" onclick="openTab(event, 'Tab03')">Tab03</button>
</div> </div>
<!-- Tab content --> <!-- Tab content -->
@ -106,13 +143,14 @@ set node_classes = [
</div> </div>
<div id="Tab02" class="tabcontent"> <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> <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> </div>
<!-- /dummy tabs --> <!-- /dummy tabs -->
{{ content.field_rdm_creator }} {{ content.field_rdm_creator }}
{{ content.field_rdm_organization_name }} {{ content.field_rdm_organization_name }}
#}
<hr> <hr>
{{ content }} {{ content }}

Loading…
Cancel
Save