Branded UI Fixed
This commit is contained in:
39
bd-national-template/layouts/layout-instance-base.html
Normal file
39
bd-national-template/layouts/layout-instance-base.html
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
---
|
||||
{% include fragment-pagebegin.html %}
|
||||
<div class="col-12">
|
||||
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
|
||||
|
||||
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
|
||||
|
||||
<a name="root"> </a>
|
||||
{% if site.data.artifacts[page.path].example %}
|
||||
{% assign example = 'Example ' %}
|
||||
{% endif %}
|
||||
{% assign prefix = site.data.artifacts[page.path].type %}
|
||||
<h2 id="root">{{example}}{{prefix}}: {{site.data.pages[page.path].title | escape_once}}</h2>
|
||||
|
||||
{% include fragment-simpletable.html %}
|
||||
{% unless example %}
|
||||
{% if '{{[type]}}' == 'CapabilityStatement' %}
|
||||
<p>
|
||||
<a href="{{[id]}}.openapi.json" no-download="true">Raw OpenAPI-Swagger Definition file</a> | <a href="{{[id]}}.openapi.json" download>Download</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endunless %}
|
||||
|
||||
<!-- insert intro if present -->
|
||||
{% include fragment-intro.html type='{{[type]}}' id='{{[id]}}' %}
|
||||
|
||||
{% include {{[type]}}-{{[id]}}-html.xhtml %}
|
||||
|
||||
{% if site.data.resources[resource_].contained != nil %}
|
||||
<h4>Contained resources</h4>
|
||||
{% include {{[type]}}-{{[id]}}-contained-index.xhtml %}
|
||||
{% endif %}
|
||||
|
||||
<!-- insert notes if present -->
|
||||
{% include fragment-notes.html type='{{[type]}}' id='{{[id]}}' %}
|
||||
|
||||
</div>
|
||||
{% include fragment-pageend.html %}
|
||||
Reference in New Issue
Block a user