diff --git a/.gitignore b/.gitignore
index 3c3629e..3a1ffc1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
node_modules
+config/key
+etc
diff --git a/article.css b/article.css
deleted file mode 100644
index 5e160b8..0000000
--- a/article.css
+++ /dev/null
@@ -1,61 +0,0 @@
-article {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
-
- display: flex;
- flex-direction: column;
-}
-
-header {
- border-bottom: 2px solid #fcba19;
- background-color: #036;
- font-family: Helvetica,Arial,sans-serif;
- color: white;
-
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 0 5px;
-}
-
-header .translink-logo {
- background-image: url( "https://tlweblibs.translink.ca/TransLink-logo-white.svg" );
- background-position: center;
- background-repeat: no-repeat;
- height: 40px;
- width: 80px;
- margin-right: 10px;
-}
-
-header h1 {
- display: flex;
- justify-content:center;
- align-items: center;
- font-size: 18px;
- margin: 0;
- padding: 0;
-}
-
-header h3 {
- margin: 0;
- padding: 0;
-}
-
-header h3 .release {
- font-weight: bold;
- font-size: 14px;
- font-style: italic;
-}
-
-header h3 .version {
- font-size: 12px;
- opacity: 50%;
-}
-
-#smk-map-frame {
- flex-grow: 1;
-}
diff --git a/config/layer-display.json b/config/layer-display.json
index abe4034..32ffb3d 100644
--- a/config/layer-display.json
+++ b/config/layer-display.json
@@ -3,6 +3,21 @@
{
"type": "layers",
"display": [
+ {
+ "type": "group",
+ "title": "COVID 19 Relief",
+ "isVisible": true,
+ "items": [
+ { "id": "covid19-relief-cardlock" },
+ { "id": "covid19-relief-food-truck" },
+ { "id": "covid19-relief-hotel" },
+ { "id": "covid19-relief-inspection-station" },
+ { "id": "covid19-relief-portable-toilet" },
+ { "id": "covid19-relief-rest-area" },
+ { "id": "covid19-relief-temporary-truck-parking" },
+ { "id": "covid19-relief-tourist-centre" }
+ ]
+ },
{
"type": "group",
"title": "Truck Routes",
diff --git a/config/map.json b/config/map.json
index 32ec2b7..3b39b9e 100644
--- a/config/map.json
+++ b/config/map.json
@@ -116,7 +116,10 @@
"url": "https://geocoder.api.gov.bc.ca/",
"parameter": {
"maxDistance": 50,
- "locationMode": "input"
+ "locationMode": "input",
+ "brief": false,
+ "minScore": 50,
+ "echo": true
}
},
"truck": true,
diff --git a/fragments/about.css b/fragments/about.css
index 900720d..27539d6 100644
--- a/fragments/about.css
+++ b/fragments/about.css
@@ -1,3 +1,8 @@
+section.trp-about {
+ display: flex;
+ flex-direction: column;
+}
+
section.trp-about p {
margin-top: 0;
font-size: 14px;
diff --git a/fragments/about.html b/fragments/about.html
index 4b80cd3..61e71a7 100644
--- a/fragments/about.html
+++ b/fragments/about.html
@@ -25,8 +25,8 @@
Do not operate a vehicle while using this application.
-
-
+
+ Version {{ package.version }}, built {{ package[ 'build-date' ] }}
diff --git a/fragments/disclaimer.css b/fragments/disclaimer.css
index f35f82f..b98c5d7 100644
--- a/fragments/disclaimer.css
+++ b/fragments/disclaimer.css
@@ -1,80 +1,4 @@
-dialog {
- top: 50%;
- max-width: 57em;
- max-height: 80vh;
- transform: translateY(-50%);
- font-family:"Meta W01 Medium", Arial, Helvetica, sans-serif;
- z-index: 3;
- padding: 0;
- border: none;
- min-height: auto;
- display: flex;
-}
-
-dialog form {
- display: flex;
- flex-direction: column;
- min-height: auto;
-}
-
-dialog header {
- flex-shrink: 0;
-}
-
-dialog section {
- flex-shrink: 1;
-
- display:flex;
- flex-direction:column;
- font-size:18px;
- overflow-y: auto;
-}
-
-dialog section p {
- margin-bottom: 0;
- margin-left:18px;
- margin-right:18px;
-}
-
img.warningImage {
width: 150px;
align-self: center;
}
-
-dialog menu {
- margin: 0;
- padding: 5px;
- display: flex;
- justify-content: center;
- flex-shrink: 0;
-}
-
-dialog menu button {
- background-color:rgb(0, 53, 95);
- border: none;
- color:rgb(255, 255, 255);
- cursor:pointer;
- font-size:14px;
- outline: none;
- padding: 9px;
-}
-
-dialog::backdrop {
- background-color: black;
- opacity: 0.8;
- position: fixed;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
-}
-
-dialog + .backdrop {
- background-color: black;
- opacity: 0.8;
- position: fixed;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
-}
diff --git a/fragments/disclaimer.html b/fragments/disclaimer.html
index 2da2ddd..adbe688 100644
--- a/fragments/disclaimer.html
+++ b/fragments/disclaimer.html
@@ -1,6 +1,6 @@
\ No newline at end of file
diff --git a/images/BCID_H_rgb_pos.png b/images/BCID_H_rgb_pos.png
new file mode 100755
index 0000000..07e4176
Binary files /dev/null and b/images/BCID_H_rgb_pos.png differ
diff --git a/images/gov_bc_logo.svg b/images/gov_bc_logo.svg
new file mode 100755
index 0000000..bea6ad2
--- /dev/null
+++ b/images/gov_bc_logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/images/translink-logo-black.svg b/images/translink-logo-black.svg
new file mode 100644
index 0000000..9de7865
--- /dev/null
+++ b/images/translink-logo-black.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/images/translink-logo-white.svg b/images/translink-logo-white.svg
new file mode 100644
index 0000000..fa259b8
--- /dev/null
+++ b/images/translink-logo-white.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/index.html b/index.html
index 8e268d0..85660c3 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
-
+
TRP - Translink
@@ -12,33 +12,46 @@
-
+
-
+
+
+
-
-
-
- Truck Route Planner
-
-
?
- ?
-
+
-
+