From f16807de7808f73a261e9fb529b2ff318fda6a35 Mon Sep 17 00:00:00 2001 From: Greg Kempe Date: Thu, 4 May 2023 12:12:09 +0200 Subject: [PATCH 1/7] scaffolding for scan stations --- scanstations.markdown | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 scanstations.markdown diff --git a/scanstations.markdown b/scanstations.markdown new file mode 100644 index 00000000..eebf4302 --- /dev/null +++ b/scanstations.markdown @@ -0,0 +1,37 @@ +--- +title: Scan Stations +lead: Something about scan stations. +layout: simple +stations: +- name: Scan Station Cape Town + location: Cape Town, South Africa + staff: X, Y and Z + launch_date: 2019-01-01 + coords: 0.123, -25.678 +- name: Scan Station Two + location: A place + staff: A, B and C + launch_date: 2022-01-01 + coords: 10.345, -35.678 +--- + +
+
+
+

foo

+

+ stuff +

+
+
+ +
+
+
    + {% for station in page.stations %} +
  • {{ station.name }}
  • + {% endfor %} +
+
+
+
From ead89bd9d30988544835a914040535f83a5b3176 Mon Sep 17 00:00:00 2001 From: Sandrava Date: Tue, 9 May 2023 11:26:32 +0100 Subject: [PATCH 2/7] updated maekdown --- scanstations.markdown | 53 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/scanstations.markdown b/scanstations.markdown index eebf4302..601a7ef4 100644 --- a/scanstations.markdown +++ b/scanstations.markdown @@ -13,25 +13,68 @@ stations: staff: A, B and C launch_date: 2022-01-01 coords: 10.345, -35.678 +map_js: +- +- |- + ---
-

foo

+

{{ page.title }}

- stuff + {{ page.lead }}

+
+
-
    +
    {% for station in page.stations %} -
  • {{ station.name }}
  • +
    +
    +
    {{ station.name }}
    +
    Location: {{ station.location }}
    +
    Launch Date: {{ station.launch_date }}
    +
    Coordinates: {{ station.coords }}
    +
    +
    {% endfor %} -
+
From 8adc0e23c0026e31ad15d78fe89b8073567809ea Mon Sep 17 00:00:00 2001 From: Sandrava Date: Tue, 9 May 2023 11:27:03 +0100 Subject: [PATCH 3/7] added links for leaflet map and script --- _layouts/base.html | 151 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 114 insertions(+), 37 deletions(-) diff --git a/_layouts/base.html b/_layouts/base.html index 733be1e2..3e408153 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -1,60 +1,137 @@ - + - + - - + + - {% if page.title %}{{ page.title | escape }} - {% endif %}{{ site.title | escape }} - - + + {% if page.title %}{{ page.title | escape }} - {% endif %}{{ site.title | + escape }} + + + - - - - - + + + + + {% if page.image %} - + {% endif %} - - - - + + + + - - - + + + - - - - - + + + + + + + + - {% include navbar.html %} - - {{ content }} + {% include navbar.html %} {{ content }} - - - + + + - {% for script in page.extra_js %} - {{ script}} - {% endfor %} + {% for script in page.extra_js %} {{ script}} {% endfor %} + {% for script in page.map_js %} {{ script}} {% endfor %} From 3585b47b8ff471c230fab3e048cb7a6bc3244b36 Mon Sep 17 00:00:00 2001 From: Sandrava Date: Tue, 9 May 2023 11:27:25 +0100 Subject: [PATCH 4/7] styled map --- css/main.scss | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/css/main.scss b/css/main.scss index 78aba56c..09f1476c 100644 --- a/css/main.scss +++ b/css/main.scss @@ -1,11 +1,19 @@ --- --- -@import 'variables'; -@import 'bootstrap/bootstrap'; - -@import 'core'; -@import 'docs'; -@import 'utilities'; -@import 'indigo'; -@import 'highlight'; +@import "variables"; +@import "bootstrap/bootstrap"; + +@import "core"; +@import "docs"; +@import "utilities"; +@import "indigo"; +@import "highlight"; + +#map { + height: 380px; +} + +.highlight-background { + background-color: lightgrey; +} From 0495f3e0d33bac4cbec58f25b3ca47da134cb520 Mon Sep 17 00:00:00 2001 From: Greg Kempe Date: Tue, 9 May 2023 19:34:56 +0200 Subject: [PATCH 5/7] minor tweaks --- scanstations.markdown | 67 ++++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 33 deletions(-) diff --git a/scanstations.markdown b/scanstations.markdown index 601a7ef4..c556d663 100644 --- a/scanstations.markdown +++ b/scanstations.markdown @@ -1,49 +1,49 @@ --- title: Scan Stations -lead: Something about scan stations. +lead: Laws.Africa's world-wide information digitisation network. layout: simple stations: - name: Scan Station Cape Town location: Cape Town, South Africa - staff: X, Y and Z launch_date: 2019-01-01 - coords: 0.123, -25.678 -- name: Scan Station Two - location: A place - staff: A, B and C - launch_date: 2022-01-01 - coords: 10.345, -35.678 + coords: -33.9576164, 18.4629253 + +- name: Scan Station Berlin + location: Berlin, Germany + launch_date: 2023-01-12 + coords: 52.5065133, 13.1445545 + map_js: -- +- - |- - @@ -54,7 +54,7 @@ map_js:

{{ page.title }}

- {{ page.lead }} + Our Scan Stations are a world-wide network of digitisation centers. Our expert staff and partners collect, scan and digitise African legal information including judgments, legislation, gazettes and law reports.

@@ -65,13 +65,14 @@ map_js:
{% for station in page.stations %} -
-
-
{{ station.name }}
-
Location: {{ station.location }}
-
Launch Date: {{ station.launch_date }}
-
Coordinates: {{ station.coords }}
-
+
+
+
+
{{ station.name }}
+
Location: {{ station.location }}
+
Launch date: {{ station.launch_date }}
+
+
{% endfor %}
From 3a343856184ee3ec5101c4638cfb9773beb52e7c Mon Sep 17 00:00:00 2001 From: Greg Kempe Date: Wed, 10 May 2023 10:40:57 +0200 Subject: [PATCH 6/7] homepage link, more stations --- index.html | 12 +++++++ scanstations.markdown | 82 +++++++++++++++++++++++++++++++++---------- 2 files changed, 75 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index cccbdfb1..5b01ea8a 100644 --- a/index.html +++ b/index.html @@ -237,6 +237,18 @@

Our work in action

+
+
+

Global Digitisation Network

+ +

+ Our Scan Stations are a world-wide network of digitisation centers. Our expert staff and partners collect, scan and digitise African legal information including judgments, legislation, gazettes and law reports. +

+ + Scan Station Network +
+
+

Recent articles

diff --git a/scanstations.markdown b/scanstations.markdown index c556d663..6a90c707 100644 --- a/scanstations.markdown +++ b/scanstations.markdown @@ -3,21 +3,65 @@ title: Scan Stations lead: Laws.Africa's world-wide information digitisation network. layout: simple stations: -- name: Scan Station Cape Town - location: Cape Town, South Africa - launch_date: 2019-01-01 - coords: -33.9576164, 18.4629253 +- name: Scan Station Accra + location: Accra, Ghana + coords: 5.6037, -0.1870 - name: Scan Station Berlin location: Berlin, Germany - launch_date: 2023-01-12 + launch_date: 2023 coords: 52.5065133, 13.1445545 +- name: Scan Station Cape Town + location: Cape Town, South Africa + launch_date: 2019 + coords: -33.9576164, 18.4629253 + +- name: Scan Station Dar es Salaam + location: Dar es Salaam, Tanzania + coords: -6.7924, 39.2083 + +- name: Scan Station Johannesburg + location: Johannesburg, South Africa + coords: -26.2041, 28.0473 + +- name: Scan Station Kampala + location: Kampala, Uganda + launch_date: + coords: 0.3476, 32.5825 + +- name: Scan Station Lagos + location: Lagos, Nigeria + coords: 6.5244, 3.3792 + +- name: Scan Station Lilongwe + location: Lilongwe, Malawi + launch_date: 2023 + coords: -13.9626, 33.7741 + +- name: Scan Station Lusaka + location: Lusaka, Zambia + coords: -15.3875, 28.3228 + +- name: Scan Station Mauritius + location: Mauritius + coords: -20.3484, 57.5522 + +- name: Scan Station Montréal + location: Montréal, Canada + coords: 45.5017, -73.5673 + +- name: Scan Station Victoria + location: Victoria, Seychelles + launch_date: 2023 + coords: -4.6191, 55.4513 + + map_js: - - |-