Compare commits

...

13 Commits

Author SHA1 Message Date
Martin Donnelly
abb2145f0d Merge branch 'TRAINTIMES-1' into 'development'
TRAINTIMES-1 Websocket work

See merge request martind2000/traintimesPWA!15
2020-09-16 10:06:52 +00:00
Martin Donnelly
b2df620cc0 TRAINTIMES-1 Websocket work 2020-09-16 11:06:11 +01:00
Martin Donnelly
918a94090a Merge branch 'ttpwa-004' into 'development'
Forcing twitter.js to exit when the processor 'stops'.

See merge request martind2000/traintimesPWA!14
2020-08-21 08:03:15 +00:00
Martin Donnelly
e6695008ab removed db 2020-08-20 20:02:13 +01:00
Martin Donnelly
f872e0c5bb merged db? 2020-08-20 19:58:36 +01:00
Martin Donnelly
4feabbfdd3 Merge branch 'ttpwa-004' into 'development'
Fixes on the front end to handle twitter websocket a bit better

See merge request martind2000/traintimesPWA!13
2020-08-20 18:56:04 +00:00
Martin Donnelly
ac37a52bef Merge branch 'ttpwa-004' into 'development'
Fixes and tidying up the server side of the sockets

See merge request martind2000/traintimesPWA!12
2020-08-20 14:36:51 +00:00
Martin Donnelly
a960fa2e07 Merge branch 'ttpwa-004' into 'development'
Fixes and tidying up the server side of the sockets

See merge request martind2000/traintimesPWA!11
2020-08-20 14:32:12 +00:00
Martin Donnelly
e5be72a769 Merge branch 'ttpwa-004' into 'development'
Fixes and tidying up the server side of the sockets

See merge request martind2000/traintimesPWA!10
2020-08-20 14:08:47 +00:00
Martin Donnelly
66ddf4c29b Merge branch 'ttpwa-004' into 'development'
Tracking down json retrieval issue

See merge request martind2000/traintimesPWA!9
2020-08-20 11:53:44 +00:00
Martin Donnelly
dddc49cf74 Merge branch 'ttpwa-004' into 'development'
Tracking down json retraval issue

See merge request martind2000/traintimesPWA!8
2020-08-20 11:42:46 +00:00
Martin Donnelly
3fdabc5322 Merge branch 'ttpwa-004' into 'development'
Tracking down json retraval issue

See merge request martind2000/traintimesPWA!7
2020-08-20 11:21:03 +00:00
Martin Donnelly
396086e3cd Merge branch 'ttpwa-004' into 'development'
Svelte app bump

See merge request martind2000/traintimesPWA!6
2020-08-20 11:04:06 +00:00
29 changed files with 16228 additions and 6 deletions

Binary file not shown.

0
live/bridger.js Normal file
View File

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.bbm-wrapper{position:fixed;left:0;top:0;width:100%;height:100%;z-index:1;padding:50px 10px;overflow:auto}.bbm-wrapper,.bbm-wrapper *{box-sizing:border-box}.bbm-modal{border-radius:3px;margin:auto;width:auto;max-width:550px}.bbm-views{width:100%;box-sizing:border-box}

File diff suppressed because one or more lines are too long

1
live/css/common.css Normal file
View File

@ -0,0 +1 @@
body{background-color:#eee}.card{position:relative;background-color:#fff;min-height:48px;margin:8px;border-bottom-color:#666;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.mui--text-display3,.mui--text-display4{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial}.temp0,.temp1,.temp2,.temp3,.temp4,.temp5{color:#50b5dd}.temp6{color:#4eb2ce}.temp7{color:#4cb0be}.temp8{color:#49adaf}.temp9{color:#48ab9f}.temp10{color:#46a88e}.temp11{color:#44a67d}.temp12{color:#42a46c}.temp13{color:#66ad5e}.temp14{color:#87be40}.temp15{color:#b3cc1a}.temp16{color:#d6d51c}.temp17{color:#f9ca03}.temp18{color:#f6b503}.temp19{color:#f4961a}.temp20{color:#ec6e05}.day{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;text-transform:uppercase}.summary:first-letter{text-transform:capitalize}

1
live/css/mui.custom.css Normal file

File diff suppressed because one or more lines are too long

1
live/css/style.min.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
live/fonts/GothamSSm-Black.otf Executable file

Binary file not shown.

BIN
live/fonts/GothamSSm-Bold.otf Executable file

Binary file not shown.

BIN
live/fonts/GothamSSm-Book.otf Executable file

Binary file not shown.

BIN
live/fonts/GothamSSm-Light.otf Executable file

Binary file not shown.

BIN
live/fonts/GothamSSm-Medium.otf Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

32
live/fonts/fonts.css Normal file
View File

@ -0,0 +1,32 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: url(Roboto-normal-400.woff) format('woff');
unicode-range: U+0-10FFFF;
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 400;
src: url(Roboto_Condensed-normal-400.woff) format('woff');
unicode-range: U+0-10FFFF;
}
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url(Roboto_Mono-normal-400.woff) format('woff');
unicode-range: U+0-10FFFF;
}
@font-face {
font-family: 'Roboto Slab';
font-style: normal;
font-weight: 400;
src: url(Roboto_Slab-normal-400.woff) format('woff');
unicode-range: U+0-10FFFF;
}

209
live/fonts/fujicons.css Normal file
View File

@ -0,0 +1,209 @@
@font-face {
font-family: 'Fujicons';
font-style: normal;
font-weight: 400;
src: url(fujicons.ttf) format('truetype');
unicode-range: U+0-10FFFF;
}
.fa {
display: inline-block;
font: normal normal normal 14px/1 Fujicons;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* makes the font 33% larger relative to the icon container */
.fa-lg {
font-size: 1.33333333em;
line-height: 0.75em;
vertical-align: -15%;
}
.fa-2x {
font-size: 2em;
}
.fa-3x {
font-size: 3em;
}
.fa-4x {
font-size: 4em;
}
.fa-5x {
font-size: 5em;
}
.fa-fw {
width: 1.28571429em;
text-align: center;
}
.fa-ul {
padding-left: 0;
margin-left: 2.14285714em;
list-style-type: none;
}
.fa-ul > li {
position: relative;
}
.fa-li {
position: absolute;
left: -2.14285714em;
width: 2.14285714em;
top: 0.14285714em;
text-align: center;
}
.fa-li.fa-lg {
left: -1.85714286em;
}
.fa-border {
padding: .2em .25em .15em;
border: solid 0.08em #eeeeee;
border-radius: .1em;
}
.fa-pull-left {
float: left;
}
.fa-pull-right {
float: right;
}
.fa.fa-pull-left {
margin-right: .3em;
}
.fa.fa-pull-right {
margin-left: .3em;
}
/* Deprecated as of 4.4.0 */
.pull-right {
float: right;
}
.pull-left {
float: left;
}
.fa.pull-left {
margin-right: .3em;
}
.fa.pull-right {
margin-left: .3em;
}
.fa-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
.fa-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
}
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
.fa-rotate-90 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.fa-rotate-180 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.fa-rotate-270 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
-webkit-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(270deg);
}
.fa-flip-horizontal {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
.fa-flip-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
-webkit-transform: scale(1, -1);
-ms-transform: scale(1, -1);
transform: scale(1, -1);
}
:root .fa-rotate-90,
:root .fa-rotate-180,
:root .fa-rotate-270,
:root .fa-flip-horizontal,
:root .fa-flip-vertical {
filter: none;
}
.fa-stack {
position: relative;
display: inline-block;
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: middle;
}
.fa-stack-1x,
.fa-stack-2x {
position: absolute;
left: 0;
width: 100%;
text-align: center;
}
.fa-stack-1x {
line-height: inherit;
}
.fa-stack-2x {
font-size: 2em;
}
.fa-inverse {
color: #ffffff;
}
.fa-back:before {
content: "";
}
.fa-forward:before {
content: "";
}
.fa-globe:before {
content: "\EA12"
}
.fa-up:before {
content: "\E925"
}
.fa-down:before {
content: "\E922"
}
.fa-work:before {
content: "\E998"
}
.fa-home:before {
content: "\EA1E"
}
.fa-refresh:before {
content: "\EA88"
}

BIN
live/fonts/fujicons.ttf Executable file

Binary file not shown.

39
live/fonts/gotham.css Normal file
View File

@ -0,0 +1,39 @@
@font-face {
font-family: 'Gotham';
font-style: normal;
font-weight: 400;
src: url(GothamSSm-Book.otf) format('opentype');
unicode-range: U+0-10FFFF;
}
@font-face {
font-family: 'Gotham Light';
font-style: normal;
font-weight: 400;
src: url(GothamSSm-Light.otf) format('opentype');
unicode-range: U+0-10FFFF;
}
@font-face {
font-family: 'Gotham Medium';
font-style: normal;
font-weight: 400;
src: url(GothamSSm-Medium.otf) format('opentype');
unicode-range: U+0-10FFFF;
}
@font-face {
font-family: 'Gotham Bold';
font-style: normal;
font-weight: 400;
src: url(GothamSSm-Bold.otf) format('opentype');
unicode-range: U+0-10FFFF;
}
@font-face {
font-family: 'Gotham Black';
font-style: normal;
font-weight: 400;
src: url(GothamSSm-Black.otf) format('opentype');
unicode-range: U+0-10FFFF;
}

15886
live/js/bundle.js Normal file

File diff suppressed because one or more lines are too long

1
live/js/bundle.js.map Normal file

File diff suppressed because one or more lines are too long

1
live/js/vendor.js Normal file

File diff suppressed because one or more lines are too long

46
live/site.webmanifest Normal file
View File

@ -0,0 +1,46 @@
{
"name": "Train Times",
"short_name": "Train Times",
"icons": [
{
"src": "/img/Icon-36.png",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "/img/Icon-48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/img/Icon-72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/img/Icon-96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/img/Icon-144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/img/Icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/img/Icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"start_url": ".",
"imgdisplay": "standalone",
"display": "standalone"
}

View File

@ -3,7 +3,10 @@
"version": "1.0.0",
"description": "Train Times Progressive Web App",
"main": "app.js",
"scripts": {},
"scripts": {
"start:twitter": "node twitter.js",
"start:server": "node server.js"
},
"author": "",
"license": "ISC",
"dependencies": {