From b669466e3c8a01a935b80152b55cad925a785637 Mon Sep 17 00:00:00 2001 From: martind2000 Date: Tue, 15 Mar 2016 22:00:38 +0000 Subject: [PATCH 1/7] Updating to Version 3 --- html/css/app.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html/css/app.css b/html/css/app.css index df9673d..872fab2 100644 --- a/html/css/app.css +++ b/html/css/app.css @@ -178,3 +178,8 @@ float:right; #footer, .mui-appbar { background-color: #775585; } + +.card{ + padding-bottom:5PX; + border-bottom:1px solid silver; + } From aa67e565514c4db5b732fca59a651a3c29ec501a Mon Sep 17 00:00:00 2001 From: martind2000 Date: Tue, 15 Mar 2016 22:08:45 +0000 Subject: [PATCH 2/7] limit image size to 900px --- .idea/workspace.xml | 272 +++++++++++++++++++++----------------------- gulpfile.js | 1 + html/css/app.css | 4 + 3 files changed, 136 insertions(+), 141 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 73a3613..4bd9e60 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,9 @@ - - + + @@ -31,37 +31,27 @@ - + - + - + - - - - - - - - - - - + @@ -71,18 +61,18 @@ - + - + - - + + @@ -114,7 +104,7 @@ - + @@ -123,7 +113,7 @@ - + @@ -133,7 +123,7 @@ - + @@ -144,21 +134,11 @@ - + - - - - - - - - - - - - + + @@ -176,20 +156,10 @@ - - - - - - - - - - - + @@ -238,7 +208,6 @@ @@ -268,10 +238,10 @@ - @@ -298,7 +268,7 @@ - + @@ -359,7 +329,11 @@ @@ -373,24 +347,24 @@ - + - + @@ -677,19 +651,25 @@ - + - + + - - + @@ -698,6 +678,7 @@ + @@ -753,7 +734,25 @@ - + + + + + + + + + + + + + + + + + + + @@ -761,11 +760,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -773,7 +804,6 @@ - @@ -781,7 +811,6 @@ - @@ -789,7 +818,6 @@ - @@ -797,7 +825,6 @@ - @@ -805,7 +832,6 @@ - @@ -813,7 +839,6 @@ - @@ -821,7 +846,6 @@ - @@ -829,7 +853,6 @@ - @@ -837,7 +860,6 @@ - @@ -845,7 +867,6 @@ - @@ -853,7 +874,6 @@ - @@ -861,7 +881,6 @@ - @@ -869,7 +888,6 @@ - @@ -877,7 +895,6 @@ - @@ -885,7 +902,6 @@ - @@ -893,7 +909,6 @@ - @@ -906,7 +921,6 @@ - @@ -952,20 +966,12 @@ - + - - - - - - - - @@ -978,7 +984,7 @@ - + @@ -992,27 +998,10 @@ - - - - - - - - - - - - - - - - - @@ -1020,7 +1009,6 @@ - @@ -1034,7 +1022,7 @@ - + @@ -1042,7 +1030,7 @@ - + @@ -1056,33 +1044,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1098,10 +1062,36 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gulpfile.js b/gulpfile.js index 5f41281..119f64e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -56,6 +56,7 @@ gulp.task('styles', function() { gulp.task('partials', function() { gulp.src(['html/ejs/**/*']).pipe(gulp.dest('dist/ejs')); gulp.src(['html/icons/**/*']).pipe(gulp.dest('dist/icons')); + gulp.src(['html/assets/fm.png']).pipe(gulp.dest('dist/assets')); }); diff --git a/html/css/app.css b/html/css/app.css index 872fab2..98a28dd 100644 --- a/html/css/app.css +++ b/html/css/app.css @@ -183,3 +183,7 @@ float:right; padding-bottom:5PX; border-bottom:1px solid silver; } + +img{ + max-width:900px !important; + } From 8b2807978883b4b05ae9bfdaf7fe96ca0a5cc5e7 Mon Sep 17 00:00:00 2001 From: martind2000 Date: Tue, 15 Mar 2016 22:28:40 +0000 Subject: [PATCH 3/7] force images through our image server --- .idea/workspace.xml | 97 ++++++++++++++++++++++++---------------- html/css/app.css | 8 ++-- html/index.html | 1 + html/js/jquery.unveil.js | 7 +++ 4 files changed, 72 insertions(+), 41 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4bd9e60..add56ce 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,9 @@ - + + @@ -31,8 +32,8 @@ - - + + @@ -68,16 +69,28 @@ - + - - + + + + + + + + + + + + + + @@ -137,7 +150,7 @@ - + @@ -211,7 +224,6 @@ @@ -238,10 +252,10 @@ - @@ -366,7 +380,7 @@ - + @@ -657,19 +671,25 @@ - + - + - + @@ -725,7 +745,8 @@ - @@ -734,16 +755,6 @@ - - - - - - - - - - @@ -1020,14 +1031,6 @@ - - - - - - - - @@ -1090,11 +1093,29 @@ - - + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/html/css/app.css b/html/css/app.css index 98a28dd..ab08c7e 100644 --- a/html/css/app.css +++ b/html/css/app.css @@ -184,6 +184,8 @@ float:right; border-bottom:1px solid silver; } -img{ - max-width:900px !important; - } +div.content img { + display: block; + float: none !important; + max-width: 1140px !important; +} diff --git a/html/index.html b/html/index.html index 8c1fd55..995e408 100644 --- a/html/index.html +++ b/html/index.html @@ -39,6 +39,7 @@ + diff --git a/html/js/jquery.unveil.js b/html/js/jquery.unveil.js index 38feb61..d530cf1 100644 --- a/html/js/jquery.unveil.js +++ b/html/js/jquery.unveil.js @@ -32,7 +32,14 @@ flag = true; } } + if (source && !flag) { + + if (!S(source).startsWith('http')) { + source = 'http://' + S(source).stripLeft('/').s; + } + source = 'http://image.silvrtree.co.uk/900,fit/' + source; + this.setAttribute("src", source); if (typeof callback === "function") callback.call(this); } From 5d4cf1e762ce6ab4c091c08d0195d3e5bb430559 Mon Sep 17 00:00:00 2001 From: martind2000 Date: Tue, 15 Mar 2016 22:33:26 +0000 Subject: [PATCH 4/7] force images through our image server --- .idea/workspace.xml | 61 ++++++++++++++++++++++++--------------------- html/index.html | 3 ++- 2 files changed, 35 insertions(+), 29 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index add56ce..2e117d2 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,9 +3,7 @@ - - @@ -29,10 +27,10 @@ - + - + @@ -79,10 +77,10 @@ - + - + @@ -150,8 +148,8 @@ - - + + @@ -236,8 +234,8 @@ @@ -677,7 +675,13 @@