@@ -460,6 +460,10 @@ def information_page(
460460 --line: #d9e1ea;
461461 --brand: #005ea8;
462462 --brand-2: #0d6b5f;
463+ --legend-knowledge-stroke: #cc7a00;
464+ --legend-service-stroke: #2d6ea3;
465+ --legend-test-stroke: #2b8a3e;
466+ --legend-doc-stroke: #7a4ab3;
463467 --surface-soft: #f6f9fc;
464468 --shadow: 0 2px 10px rgba(19, 34, 53, 0.06);
465469 }
@@ -839,6 +843,22 @@ def information_page(
839843 padding: 8px 12px;
840844 }
841845
846+ .section-emphasis.section-knowledge {
847+ border-left-color: var(--legend-knowledge-stroke);
848+ }
849+
850+ .section-emphasis.section-service {
851+ border-left-color: var(--legend-service-stroke);
852+ }
853+
854+ .section-emphasis.section-doc {
855+ border-left-color: var(--legend-doc-stroke);
856+ }
857+
858+ .section-emphasis.section-test {
859+ border-left-color: var(--legend-test-stroke);
860+ }
861+
842862 .metadata h3 {
843863 margin: 8px 0;
844864 font-size: 1rem;
@@ -1133,7 +1153,7 @@ def information_page(
11331153
11341154 {% if knowledge_items!=[] %}
11351155 <hr>
1136- <h2 class="section-emphasis">Knowledge</h2>
1156+ <h2 class="section-emphasis section-knowledge ">Knowledge</h2>
11371157 {% for knowledge in knowledge_items %}
11381158 {% set hasKnowledgeObject = knowledge.get("https://kgrid.org/koio#hasKnowledgeObject", [{}]) %}
11391159 {% set knowledgeType = knowledge.get("@type", ["Undefined"])[0]%}
@@ -1271,7 +1291,7 @@ def information_page(
12711291
12721292 {% if services != [] %}
12731293 <hr>
1274- <h2 class="section-emphasis">Services</h2>
1294+ <h2 class="section-emphasis section-service ">Services</h2>
12751295
12761296 {% for service in services %}
12771297
@@ -1327,7 +1347,7 @@ def information_page(
13271347 <div class="right-column">
13281348 <div class="doc-section" id="doc-section">
13291349 {% if documentation %}
1330- <h2 class="section-emphasis">Documentation</h2>
1350+ <h2 class="section-emphasis section-doc ">Documentation</h2>
13311351 <ul>
13321352 {% for doc in documentation %}
13331353 <li>
@@ -1376,7 +1396,7 @@ def information_page(
13761396
13771397 <div class="test-section" id="test-section">
13781398 {% if tests %}
1379- <h2 class="section-emphasis">Tests</h2>
1399+ <h2 class="section-emphasis section-test ">Tests</h2>
13801400 <ul>
13811401 {% for test in tests %}
13821402 <li>
@@ -1737,16 +1757,16 @@ def init(name: str):
17371757# "/home/faridsei/dev/code/agent_experiments/template_filler1/index.html",
17381758# False,
17391759# )
1740- # information_page(
1741- # "C:/dev/FAIR-DO-Workshop/collection/wagner/metadata.json",
1742- # "C:/dev/FAIR-DO-Workshop/collection/wagner/index.html",
1743- # False
1744- # )
1745- # information_page(
1746- # "C:/dev/FAIR-DO-Workshop/collection/dfu-hbo2-treatment-decision/metadata.json",
1747- # "C:/dev/FAIR-DO-Workshop/collection/dfu-hbo2-treatment-decision/index.html",
1748- # False
1749- # )
1760+ information_page (
1761+ "C:/dev/FAIR-DO-Workshop/collection/wagner/metadata.json" ,
1762+ "C:/dev/FAIR-DO-Workshop/collection/wagner/index.html" ,
1763+ False
1764+ )
1765+ information_page (
1766+ "C:/dev/FAIR-DO-Workshop/collection/dfu-hbo2-treatment-decision/metadata.json" ,
1767+ "C:/dev/FAIR-DO-Workshop/collection/dfu-hbo2-treatment-decision/index.html" ,
1768+ False
1769+ )
17501770# init("test")
17511771
17521772if __name__ == "__main__" :
0 commit comments