Skip to content

Commit 19690e1

Browse files
Support todo lists.
1 parent bb7952e commit 19690e1

File tree

4 files changed

+51
-5
lines changed

4 files changed

+51
-5
lines changed

_includes/construction.html

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,42 @@
1+
<style>
2+
.construction-table {
3+
border-collapse: collapse;
4+
width: 100%;
5+
}
6+
.construction-row {
7+
width: 100%;
8+
}
9+
.construction-data {
10+
border: 1px solid #ff0000;
11+
padding: 8px;
12+
width: 100%;
13+
text-align:left
14+
}
15+
</style>
116

2-
{% if page.published %}
17+
18+
{% if page.complete %}
319
{% else %}
20+
<table class="construction-table">
21+
<tr class="construction-row">
22+
<td class="construction-data">
23+
424

5-
<p>👷🚧🏗️👷‍♂️👷‍♀️ This page is under construction.</p>
25+
<div>
26+
<p>👷🚧🏗️👷‍♂️👷‍♀️ <b>This page is under construction. </b> 👷🚧🏗️👷‍♂️👷‍♀️</p>
27+
28+
{%- if page.todos -%}
29+
<p><b>Page Todo List</b></p>
30+
<ol>
31+
{%- for todo in page.todos -%}
32+
<li>
33+
{{todo}}
34+
</li>
35+
{% endfor %}
36+
<ol>
37+
{% endif %}
38+
</div>
639
{% endif %}
40+
</td>
41+
</tr>
42+
</table>

_safs/s/s01.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ description: Exec Design Authority
99
requirement: |
1010
The solution **SHOULD** be aligned to stated strategy approved by the Exec Design Authority
1111
12+
## Todos only displayed when page is not set to complete
13+
complete: false
14+
todos:
15+
- Complete the more info section
16+
- What is EDA?
17+
- Who to talk to about EDA?
18+
- Add examples
19+
- Any tech links?
20+
- Complete further reading
21+
22+
1223
more_info: |
1324
asd
1425
asd

guidance/guidance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Overall Guidance
33
nav_order: 1.3
44
parent: SAF Introduction
5-
published: true
5+
complete: true
66
---
77

88
The assessment mechanism described below is intended to be risk based and several factors should be considered whilst undertaking a review:

guidance/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: SAF Introduction
33
nav_order: 1.0
4-
published: true
5-
4+
complete: true
65
---
76

87
The NHS England Solution Architecture Framework (SAF) is intended to describe what good looks like when developing the architecture which delivers our products and services by defining:

0 commit comments

Comments
 (0)