From 96d5f68f701603c161765ff205853a26f98115b2 Mon Sep 17 00:00:00 2001 From: Mael PRIOUR <101335975+M-Priour@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:08:21 +0200 Subject: [PATCH 01/32] Template termino --- config.json | 30 ++- content/assets/css/style-ans.css | 87 ++++++- includes/fragment-base-navtabs.html | 110 +++++++++ includes/fragment-css.html | 1 + includes/fragment-footer.html | 2 +- includes/fragment-igTable.html | 3 + includes/fragment-intro.html | 15 ++ includes/fragment-modelType.html | 9 + includes/fragment-notes.html | 14 ++ includes/fragment-onto.html | 21 ++ includes/fragment-pageTable.html | 19 ++ includes/fragment-pagebegin.html | 2 +- includes/fragment-pageend.html | 305 ++++++++++++------------ includes/fragment-profile-navtabs.html | 120 ++++++++++ includes/fragment-resourceTable.html | 111 +++++++++ includes/fragment-simpletable.html | 32 +++ includes/template-page-md.html | 44 ++++ includes/template-page.html | 19 ++ layouts/layout-canonical-testing.html | 59 +++++ layouts/layout-canonical.html | 47 ++++ layouts/layout-changehistory.html | 21 ++ layouts/layout-codesystem.html | 49 ++++ layouts/layout-examplescenario.html | 50 ++++ layouts/layout-ext.html | 209 ++++++++++++++++ layouts/layout-histoire.html | 24 ++ layouts/layout-instance-base.html | 39 +++ layouts/layout-instance-format.html | 36 +++ layouts/layout-profile-definitions.html | 51 ++++ layouts/layout-profile-examples.html | 41 ++++ layouts/layout-profile-format.html | 39 +++ layouts/layout-profile-history.html | 21 ++ layouts/layout-profile-mappings.html | 27 +++ layouts/layout-profile-testing.html | 59 +++++ layouts/layout-profile.html | 302 +++++++++++++++++++++++ layouts/layout-telechargement.html | 45 ++++ layouts/layout-valueset.html | 97 ++++++++ 36 files changed, 1999 insertions(+), 161 deletions(-) create mode 100644 includes/fragment-base-navtabs.html create mode 100644 includes/fragment-css.html create mode 100644 includes/fragment-igTable.html create mode 100644 includes/fragment-intro.html create mode 100644 includes/fragment-modelType.html create mode 100644 includes/fragment-notes.html create mode 100644 includes/fragment-onto.html create mode 100644 includes/fragment-pageTable.html create mode 100644 includes/fragment-profile-navtabs.html create mode 100644 includes/fragment-resourceTable.html create mode 100644 includes/fragment-simpletable.html create mode 100644 includes/template-page-md.html create mode 100644 includes/template-page.html create mode 100644 layouts/layout-canonical-testing.html create mode 100644 layouts/layout-canonical.html create mode 100644 layouts/layout-changehistory.html create mode 100644 layouts/layout-codesystem.html create mode 100644 layouts/layout-examplescenario.html create mode 100644 layouts/layout-ext.html create mode 100644 layouts/layout-histoire.html create mode 100644 layouts/layout-instance-base.html create mode 100644 layouts/layout-instance-format.html create mode 100644 layouts/layout-profile-definitions.html create mode 100644 layouts/layout-profile-examples.html create mode 100644 layouts/layout-profile-format.html create mode 100644 layouts/layout-profile-history.html create mode 100644 layouts/layout-profile-mappings.html create mode 100644 layouts/layout-profile-testing.html create mode 100644 layouts/layout-profile.html create mode 100644 layouts/layout-telechargement.html create mode 100644 layouts/layout-valueset.html diff --git a/config.json b/config.json index 8df3c66..d9878d5 100644 --- a/config.json +++ b/config.json @@ -34,7 +34,15 @@ "name": "change-history", "description": "Resource Change History", "isHistory": true - } + }, + { + "name": "telechargement", + "description": " telechargement" + }, + { + "name": "histoire", + "description": "histoire" + } ], "_formats-documentation": "Lists the formats in the order format-specific pages should be generated. (Note that suppressed formats won't appear, even if listed here.)", "formats": [ @@ -143,20 +151,28 @@ "template-format": "template/layouts/layout-instance-format.html", "template-testing": "template/layouts/layout-canonical-testing.html", "template-change-history": "template/layouts/layout-changehistory.html", + "template-telechargement": "template/layouts/layout-telechargement.html", + "template-histoire": "template/layouts/layout-histoire.html", "base": "{{[type]}}-{{[id]}}.html", "format": "{{[type]}}-{{[id]}}.{{[fmt]}}.html", "testing": "{{[type]}}-{{[id]}}-testing.html", - "change-history": "{{[type]}}-{{[id]}}.change.history.html" + "change-history": "{{[type]}}-{{[id]}}.change.history.html", + "telechargement": "{{[type]}}-{{[id]}}.tel.html", + "histoire": "{{[type]}}-{{[id]}}.histoire.html" }, "ValueSet": { "template-base": "template/layouts/layout-valueset.html", "template-format": "template/layouts/layout-instance-format.html", "template-testing": "template/layouts/layout-canonical-testing.html", "template-change-history": "template/layouts/layout-changehistory.html", + "template-telechargement": "template/layouts/layout-telechargement.html", + "template-histoire": "template/layouts/layout-histoire.html", "base": "{{[type]}}-{{[id]}}.html", "format": "{{[type]}}-{{[id]}}.{{[fmt]}}.html", "testing": "{{[type]}}-{{[id]}}-testing.html", - "change-history": "{{[type]}}-{{[id]}}.change.history.html" + "change-history": "{{[type]}}-{{[id]}}.change.history.html", + "telechargement": "{{[type]}}-{{[id]}}.tel.html", + "histoire": "{{[type]}}-{{[id]}}.histoire.html" }, "ActivityDefinition": { "template-base": "template/layouts/layout-canonical.html", @@ -193,10 +209,12 @@ "template-format": "template/layouts/layout-instance-format.html", "template-testing": "template/layouts/layout-canonical-testing.html", "template-change-history": "template/layouts/layout-changehistory.html", + "template-histoire": "template/layouts/layout-histoire.html", "base": "{{[type]}}-{{[id]}}.html", "format": "{{[type]}}-{{[id]}}.{{[fmt]}}.html", "testing": "{{[type]}}-{{[id]}}-testing.html", - "change-history": "{{[type]}}-{{[id]}}.change.history.html" + "change-history": "{{[type]}}-{{[id]}}.change.history.html", + "histoire": "{{[type]}}-{{[id]}}.histoire.html" }, "ExampleScenario": { "template-base": "template/layouts/layout-examplescenario.html", @@ -273,10 +291,12 @@ "template-format": "template/layouts/layout-instance-format.html", "template-testing": "template/layouts/layout-canonical-testing.html", "template-change-history": "template/layouts/layout-changehistory.html", + "template-histoire": "template/layouts/layout-histoire.html", "base": "{{[type]}}-{{[id]}}.html", "format": "{{[type]}}-{{[id]}}.{{[fmt]}}.html", "testing": "{{[type]}}-{{[id]}}-testing.html", - "change-history": "{{[type]}}-{{[id]}}.change.history.html" + "change-history": "{{[type]}}-{{[id]}}.change.history.html", + "histoire": "{{[type]}}-{{[id]}}.histoire.html" }, "OperationDefinition": { "template-base": "template/layouts/layout-canonical.html", diff --git a/content/assets/css/style-ans.css b/content/assets/css/style-ans.css index 941674d..bb04fd9 100644 --- a/content/assets/css/style-ans.css +++ b/content/assets/css/style-ans.css @@ -125,7 +125,6 @@ video { -webkit-padding-before: 0; -webkit-padding-after: 0; border: 0; - font: inherit; margin: 0; /* padding: 0;*/ vertical-align: baseline; @@ -171,6 +170,7 @@ select { iframe { border: 0; } + [class*="svg-icon"] { stroke-width: 0; stroke: currentColor; @@ -5469,7 +5469,8 @@ a.btn--style1.btn--white { } .table thead td, .table thead th { - background-color: #f8f9fb; + background-color: #464c6d; + color : white; border-bottom-width: 0; } .table caption + tbody tr:first-child td, @@ -10189,3 +10190,85 @@ a[class*="border"]:hover { border-color: var(--gray-700) !important; } /*# sourceMappingURL=style-ans.css.map */ +.columns-3 { + -moz-column-count: 3; + -moz-column-gap: 10px; + -webkit-column-count: 3; + /* -webkit-column-gap: 10px; */ + /* column-count: 3; */ + /* column-gap: 10px; */ +} + tr[visible='false'], +.no-result{ + display:none; +} + + tr[visible='true']{ + display:table-row; +} + +.counter{ + padding:8px; + color:#ccc; +} +#terminologit-search-content-valueset-cld.accordion-group { + border: none; +} + + +#terminologit-search-content-valueset-cld.accordion-group { + border: none; +} + + + +#terminologit-search-content-valueset-cld .accordion-heading .accordion-toggle { + display: -webkit-inline-box; + padding: 0px; + margin-left: 5px; + position: absolute; + color: var(--btn-text-color); +} + +#orig .accordion-heading .accordion-toggle { + display: -webkit-inline-box; + padding: 0px; + margin-left: 5px; + position: absolute; + color: var(--btn-text-color); +} + +.accordion-toggle .gg-chevron-down { + box-sizing: border-box; + position: relative; + display: block; + transform: scale(var(--ggs,1)); + width: 22px; + height: 22px; + border: 2px solid transparent; + border-radius: 100px; + transition: all 0.5s; +} +.gg-chevron-down::before { + content: ""; + display: block; + box-sizing: border-box; + position: absolute; + width: 10px; + height: 10px; + border-bottom: 2px solid; + border-right: 2px solid; + transform: rotate(45deg); + left: 4px; + top: 2px +} + +.rotate-toggle.gg-chevron-down { + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + transform: rotate(180deg); +} + +table.codes td { + font-size : 10px; +} \ No newline at end of file diff --git a/includes/fragment-base-navtabs.html b/includes/fragment-base-navtabs.html new file mode 100644 index 0000000..1997c66 --- /dev/null +++ b/includes/fragment-base-navtabs.html @@ -0,0 +1,110 @@ +{% assign excludexml = site.data.info.excludexml | downcase | slice: 0 %} +{% assign excludejson = site.data.info.excludejson | downcase | slice: 0 %} +{% assign excludettl = site.data.info.excludettl | downcase | slice: 0 %} +{% assign excludelogbinaryformat = site.data.info.excludelogbinaryformat | downcase | slice: 0 %} +{% assign resource_ = include.type| append: '/'| append: include.id %} +{% assign has_history = site.data.resources[resource_].['history'] %} +{% if site.data.resources[resource_].sourceTail contains "#" %} +{% assign contained_resource = 'y' %} +{% endif %} +{% if excludelogbinaryformat == 'y' and site.data.artifacts[page.path].type == 'Binary' %} +{% assign profile_path = site.data.artifacts[page.path].exampleOf.url %} +{% assign profile_structure = site.data.structuredefinitions | where: "path", profile_path | first %} +{% if profile_structure.kind == 'logical' %} +{% assign suppressformat = 'y' %} +{% endif %} +{% endif %} + +
diff --git a/includes/fragment-css.html b/includes/fragment-css.html new file mode 100644 index 0000000..9462186 --- /dev/null +++ b/includes/fragment-css.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/includes/fragment-footer.html b/includes/fragment-footer.html index 2112973..bd06d3b 100644 --- a/includes/fragment-footer.html +++ b/includes/fragment-footer.html @@ -1,4 +1,4 @@ Liens: Table des matières | QA | Historique des versions -{% for feedbacklink in site.data.features.feedback %}{% if feedbacklink.dashboard %} | {{feedbacklink.dashboard.label}}{% endif %}{% endfor %} +{% for feedbacklink in site.data.features.feedback %}{% if feedbacklink.dashboard %} | {{feedbacklink.dashboard.label}}{% endif %}{% endfor %} \ No newline at end of file diff --git a/includes/fragment-igTable.html b/includes/fragment-igTable.html new file mode 100644 index 0000000..0ddec6d --- /dev/null +++ b/includes/fragment-igTable.html @@ -0,0 +1,3 @@ +{% assign resource_ = igId %} +{% assign table_prefix = 'IG' %} +{% include fragment-resourceTable.html %} \ No newline at end of file diff --git a/includes/fragment-intro.html b/includes/fragment-intro.html new file mode 100644 index 0000000..670286a --- /dev/null +++ b/includes/fragment-intro.html @@ -0,0 +1,15 @@ +{% assign intro = site.data.pages[page.path].intro %} +{% if intro != null %} +{% if site.data.pages[page.path].intro-type == 'xml' %} +
+ Requête sur le SMT
+
+ | + Page standards status: {{site.data.pages[page.path].status|capitalize}} + {% if site.data.pages[page.path].normativeVersion %} + (from v{{site.data.pages[page.path].normativeVersion}}) + {% endif %} + | + {% endif %} + {% if site.data.pages[page.path].fmm %} ++ Maturity Level: {{site.data.pages[page.path].fmm}} + | + {% endif %} +