From bbfceb41a4990068b1f76d33993318fbb757099c Mon Sep 17 00:00:00 2001 From: vkservicesllc <35149642+vkservicesllc@users.noreply.github.com> Date: Wed, 27 Mar 2019 11:27:58 -0400 Subject: [PATCH] update 1903271127 --- app/functions-owners.js | 49 ++++++++++++++++++++++++----------------- app/stylesheet.css | 5 +++++ 2 files changed, 34 insertions(+), 20 deletions(-) diff --git a/app/functions-owners.js b/app/functions-owners.js index e815c45..f17ef63 100644 --- a/app/functions-owners.js +++ b/app/functions-owners.js @@ -1,38 +1,44 @@ -const periods = ['January 2019', 'February 2019', 'March 2019'], - effDt = new Date('2019-02-28'); +const periods = ['February 2019', 'March 2019', 'April 2019'], + effDt = new Date('2019-03-30'); const urls = { 'CAROLINA LOGISTICS, Inc': { id: '70830516181943', - period1: '#', - period2: 'https://docs.google.com/spreadsheets/d/1O0sSWtoj8SByE1dyhsRy2Cg6WXYd2Q-7r9X4xGMsKbE/edit#gid=1165085359', - period3: 'https://docs.google.com/spreadsheets/d/1nTPBp1lQM2CjStMzUlHe9i2aD9U2ZQ0oMDi5zksjmF4/edit#gid=1165085359', + period1: 'https://docs.google.com/spreadsheets/d/1O0sSWtoj8SByE1dyhsRy2Cg6WXYd2Q-7r9X4xGMsKbE/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1nTPBp1lQM2CjStMzUlHe9i2aD9U2ZQ0oMDi5zksjmF4/edit#gid=1165085359', + period3: 'https://docs.google.com/spreadsheets/d/1P5a6PUXrKf4wwAt1b6CHRLASynvgI4V51kNajvKGMSo/edit#gid=1165085359', }, 'DELTA EXPRESS, Inc': { id: '70830515177576', - period1: 'https://docs.google.com/spreadsheets/d/1m20SlaOddjd449cbF6SpdC7k5x-ZCB4WZ6U_loi6pMo/edit#gid=1165085359', - period2: 'https://docs.google.com/spreadsheets/d/1UN5CDshgEaziW9VFLIs1jErC7kvj1TcVZNfNo1rB-MA/edit#gid=1165085359', - period3: 'https://docs.google.com/spreadsheets/d/1Sp2wmtABSsPFCmy3SHohcYK_YIE2gOrVmI4tq9-pDps/edit#gid=1165085359', + period1: 'https://docs.google.com/spreadsheets/d/1UN5CDshgEaziW9VFLIs1jErC7kvj1TcVZNfNo1rB-MA/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1Sp2wmtABSsPFCmy3SHohcYK_YIE2gOrVmI4tq9-pDps/edit#gid=1165085359', + period3: 'https://docs.google.com/spreadsheets/d/1rJ0Jh62ypF-YuAJFjXPcaD-yZg90CsN2yHtCXSl9SPU/edit#gid=1165085359', + }, + 'DELTA EXPRESS SERVICES, Inc': { + id: '', + period1: '-', + period2: '-', + period3: '-', }, 'DELTA LOGISTICS, Inc': { id: '70830517302592', - period1: '#', - period2: 'https://docs.google.com/spreadsheets/d/1cbdhGctbi_0Rd3dTnM4WFEZ14QkmEmbxp_nyyRJTiKM/edit#gid=1165085359', - period3: 'https://docs.google.com/spreadsheets/d/1liSGmxnJIpvoa5n3a0ErXfkQlJfwcrpGOghrrZdGEWo/edit#gid=1165085359', + period1: 'https://docs.google.com/spreadsheets/d/1cbdhGctbi_0Rd3dTnM4WFEZ14QkmEmbxp_nyyRJTiKM/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1liSGmxnJIpvoa5n3a0ErXfkQlJfwcrpGOghrrZdGEWo/edit#gid=1165085359', + period3: 'https://docs.google.com/spreadsheets/d/1IREZlVnUSgiYBnl9vyxYbjwgD0nztFkG-5czZd55wEc/edit#gid=1165085359', }, 'ONTRACK TRANSPORTATION, Inc': { id: '70830517305886', - period1: '#', - period2: 'https://docs.google.com/spreadsheets/d/1FVNvCDFYcUkzCCbTDtfddl6-JNT3nlrS1GWykXJv9tE/edit#gid=1165085359', - period3: 'https://docs.google.com/spreadsheets/d/1RpQ06ulIlJcje_3ciVUWrSlVWOK30dJ83DJi-7tImcI/edit#gid=1165085359', + period1: 'https://docs.google.com/spreadsheets/d/1FVNvCDFYcUkzCCbTDtfddl6-JNT3nlrS1GWykXJv9tE/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1RpQ06ulIlJcje_3ciVUWrSlVWOK30dJ83DJi-7tImcI/edit#gid=1165085359', + period3: 'https://docs.google.com/spreadsheets/d/1hplR0OBU_2ebxg4qjs5e8YOJLrpd2q3FUIilOWBu6Vw/edit#gid=1165085359', }, 'PRECISE TRANSPORTATION, Inc': { id: '70830517302433', - period1: '#', - period2: 'https://docs.google.com/spreadsheets/d/1yt13FktUUqzpgJHyqdnEeUJuaqu0-7oTu8HqamJ_jaA/edit#gid=1165085359', - period3: 'https://docs.google.com/spreadsheets/d/1gtP3jhq7CEWyaNQgVJqRxIafeNCOqHzdvNoFn_SblE4/edit#gid=1165085359', + period1: 'https://docs.google.com/spreadsheets/d/1yt13FktUUqzpgJHyqdnEeUJuaqu0-7oTu8HqamJ_jaA/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1gtP3jhq7CEWyaNQgVJqRxIafeNCOqHzdvNoFn_SblE4/edit#gid=1165085359', + period3: 'https://docs.google.com/spreadsheets/d/19SXcVUxLiY_bbs-T4-x-Wv0pA5vBqVm-v0nzSUHUdlU/edit#gid=1165085359', }, 'RAINIER TRANSPORTATION, Inc': { - id: '70830517307425', + id: '', // '70830517307425', period1: '-', period2: '-', period3: '-', @@ -50,12 +56,15 @@ for (let i = 0; i < keys.length; i++) { (link1 != '#') ? periods[0] + '' : '' + periods[0], anchName2 = (link2 == '-') ? '' : - (link2 != '#' && effDt <= new Date()) ? periods[1] + '' : + (link2 != '#') ? periods[1] + '' : '' + periods[1], anchName3 = (link3 == '-') ? '' : (link3 != '#' && effDt <= new Date()) ? periods[2] + '' : '' + periods[2]; - table += '' + keys[i] + '  ' + urls[keys[i]].id + ''; + let efsKey = urls[keys[i]].id, efsKeyEl; + let redCl = (!efsKey) ? ' class="redundant"' : ''; + efsKeyEl = (efsKey) ? '  ' + efsKey + '' : ''; + table += '' + keys[i] + efsKeyEl + ''; table += '' + anchor1 + anchName1 + '' + anchor2 + anchName2 + '' + anchor3 + anchName3 + ''; } document.getElementById('omcMon').innerHTML = table; diff --git a/app/stylesheet.css b/app/stylesheet.css index bc50b6e..0dea8a0 100644 --- a/app/stylesheet.css +++ b/app/stylesheet.css @@ -227,6 +227,11 @@ fieldset.favs td.rsp:hover ul { display: block; } +fieldset.favs th.redundant { + text-decoration: line-through; + opacity: 0.5; +} + fieldset.favs td a.h { color: blue; cursor: pointer;