Interactive interface for browsing global, full-resolution satellite imagery
Removed unused data-download CSS file.
Stephan Wlodarczykd44935264cf9
diff --git a/web/css/dataDownload.css b/web/css/dataDownload.cssdeleted file mode 100644index 02a5ea208..000000000--- a/web/css/dataDownload.css+++ /dev/null@@ -1,282 +0,0 @@-#wv-datacontent {- position: relative;-}--#wv-data-selection ul {- display: list;- margin: 0 5px;-}--#wv-data-selection li {- font: 300 12px/12px 'Open Sans', sans-serif;- margin-top: 3px;- display: list-item;- list-style-type: none;-}--#wv-data-selection div.product li {- list-style-type: disc;- margin-left: 10px;-}--#wv-data-selection .link {- margin-left: 10px;- list-style-type: disc;-}--#DataDownload_DownloadListPanel .BulkDownload li {- list-style-type: disc;- margin-left: 10px;-}--ul.BulkDownload li a.link {- color: #7bf;-}--#wv-data-selection h3 {- font-size: 16px;- line-height: 16px;- font-weight: 700;- color: #fffbe7;-}--#wv-data-selection h4 {- font-size: 15px;- line-height: 15px;- font-weight: 700;- color: #fffbe7;-}--#wv-data-selection h5 {- font-size: 13px;- line-height: 13px;- margin-top: 10px;- margin-bottom: 5px;- color: #fffbe7;-}--#wv-data-selection hr {- display: block;- height: 1px;- border: 0;- border-top: 1px solid #404040;- margin: 1em 0;- padding: 0;-}--#wv-data-selection td {- border-bottom: 1px solid #404040;- vertical-align: middle;- padding: 5px;-}--#wv-data-selection .remove {- display: block;- padding: 3px;- border: 1px solid #707070;- background: #191c20;- color: #c0c0c0;- border-radius: 5px;-}--#wv-data-selection .remove:hover {- background: #eee;- border-color: #444;- color: #444;-}--#wv-data-selection .remove:active {- background: #888;- border-color: #444;- color: #000;-}--#wv-data-selection table {- width: 100%;- border-collapse: collapse;-}--#wv-data-selection tr:hover {- background-color: rgb(55, 58, 62);-}--#wv-data-selection .wv-data-granule-link {- width: 100%;-}--#wv-data-selection .collapse {- width: 100%;- border: 0;-}--#wv-data-selection .collapse .ui-accordion-header {- background: rgba(0, 0, 0, 0);- border: 0;- font-weight: 400;-}--#wv-data-selection .bulk h5 {- margin-top: 5px;-}--#wv-data-selection .collapse .ui-accordion-content {- border: 0;- padding: 0 0 0.5em 2.5em;-}--#wv-data-bulk-download-links {- border-top: 1px solid #bebebe;-}--#wv-data-bulk-download-links div.bulk {- padding: 10px;-}--#wv-data-bulk-download-links h5 {- font-size: 15px;- font-weight: 700;- margin: 0 0 10px;-}--#wv-data-bulk-download-links li {- list-style-type: disc;- margin-left: 10px;- display: list-item;- margin-top: 3px;-}--.wv-data-unavailable-header {- color: #eee;- font-size: 16px;- font-weight: 700;- margin-bottom: 10px;-}--#wv-data-selection-notice {- width: 80%;- margin: 0 auto 15px;- padding: 5px;-}--#wv-data-selection-notice svg.svg-inline--fa {- float: left;-}--#wv-data-selection-notice .text {- margin-left: 47px;-}--#wv-data-list table {- width: 100%;-}--#wv-data-list td {- padding: 3px;- vertical-align: middle;-}--#wv-data-list tr:nth-child(even) {- background-color: rgb(45, 48, 52);-}--#DataDownload #DataDownloadcontent h3 span {- font-weight: 700;- color: #8f939f;- cursor: pointer;- font-size: 130%;-}--#DataDownload #DataDownloadcontent h3 span:hover {- color: #000;- background-color: #ccc;-}--#DataDownload_DownloadListPanel .ft {- background-color: rgb(25, 28, 32);- padding: 10px;-}--.dl-group {- cursor: pointer;-}-.dl-group .head input,-.dl-group .head h3 {- display: inline;-}--.dl-group .head i {- display: inline-block;-}-.dl-group ul {- padding-bottom: 5px;-}--.dl-group li.item-static,-.dl-group ul {- cursor: pointer;-}--.dl-group li.item-static {- background: #ccc;-}--.dl-group:hover {- background: rgba(100, 100, 100, 0.6);-}--.dl-group[value='__NO_PRODUCT'] ul li {- background: #999;-}--.dl-group[value='__NO_PRODUCT'] ul li:hover {- background: #999;-}--.dl-group[value='__NO_PRODUCT'] li,-.dl-group[value='__NO_PRODUCT'] ul {- cursor: default;-}--.dl-group[value='__NO_PRODUCT']:hover {- background: none;- cursor: default;-}--.dynamic {- font-size: inherit;- border-radius: 5px;- background: #8cc3de;- padding: 2px;- text-align: center;- color: #000;- font-weight: 700;- display: inline-block;- margin: 0 10px 0 5px;-}--#wv-datacontent > div {- padding: 0 5px;- box-sizing: border-box;- -moz-box-sizing: border-box;- -webkit-box-sizing: border-box;- -o-box-sizing: border-box;-}--#wv-datacontent div[data-product='__NO_PRODUCT'] a {- color: #000;-}--#wv-datacontent .dl-group .head {- line-height: 14px;-}--#wv-datacontent .dl-group .head input {- margin: 4px 4px 2px 0;-}--.wv-datacategory {- list-style: none;-}-#indicator {- z-index: 100;-}diff --git a/web/css/smart-handoff.css b/web/css/smart-handoff.cssindex 96eb8cbd3..98300a296 100644--- a/web/css/smart-handoff.css+++ b/web/css/smart-handoff.css@@ -75,8 +75,9 @@ label[for='chk-crop-toggle'] {}#granule-count span {color: #fff;- font-size: 12px;+ font-size: 16px;font-weight: 900;+ margin: 14px 0 10px}.loading-granule-count {font-size: 30px;diff --git a/web/js/app.js b/web/js/app.jsindex 318962e8d..12e735146 100644--- a/web/js/app.js+++ b/web/js/app.js@@ -69,7 +69,6 @@ import '../css/tour.css';import '../css/products.css';import '../css/indicator.css';import '../css/events.css';-import '../css/dataDownload.css';import '../css/smart-handoff.css';import '../css/sidebar.css';import '../css/layer-categories.css';@@ -133,13 +132,13 @@ class App extends React.Component {// get user IP address for GTM/GA using https://www.ipify.org/ APIconst getIpAddress = async() => {- const response = await fetch('https://api.ipify.org?format=json');- const json = await response.json();- const ipAddress = json.ip;+ // const response = await fetch('https://api.ipify.org?format=json');+ // const json = await response.json();+ // const ipAddress = json.ip;googleTagManager.pushEvent({event: 'ipAddress',- ipAddress,+ // ipAddress,});};diff --git a/web/js/containers/sidebar/smart-handoff.js b/web/js/containers/sidebar/smart-handoff.jsindex 122882cdb..2b5dee70b 100644--- a/web/js/containers/sidebar/smart-handoff.js+++ b/web/js/containers/sidebar/smart-handoff.js@@ -232,7 +232,7 @@ class SmartHandoff extends Component {}/**- * Default render which displays the data-download panel+ * Default render which displays the download panel*/render() {const {@@ -255,7 +255,7 @@ class SmartHandoff extends Component {showBoundingBox,} = this.state;- // Determine if data-download 'smart-handoff' tab is activated by user+ // Determine if download 'smart-handoff' tab is activated by userif (!isActive) return null;const {@@ -275,6 +275,8 @@ class SmartHandoff extends Component {const availableLayers = activeLayers.filter((layer) => layer.conceptId !== undefined).length;const areThereLayersToDownload = availableLayers > 0;+ const dateSelection = moment.utc(selectedDate).format('YYYY MMM DD');+if (areThereLayersToDownload) {return (<div id="smart-handoff-side-panel">@@ -334,7 +336,10 @@ class SmartHandoff extends Component {<div id="granule-count"><h1>- Granules available:+ Granules available for+ {' '}+ {dateSelection}+ :{' '}{ !isSearchingForGranules && totalGranules === 0 && (<span className="fade-in constant-width">NONE</span>)}{ !showBoundingBox && !isSearchingForGranules && totalGranules !== 0 && (<span className="fade-in constant-width">{totalGranules}</span>)}@@ -349,7 +354,7 @@ class SmartHandoff extends Component {else openEarthDataSearch(selectedDate, selectedLayer, currentExtent, showBoundingBox)();}}id="download-btn"- text="GO TO EARTHDATA SEARCH"+ text="DOWNLOAD VIA EARTHDATA SEARCH"className="red"valid={isValidDownload}/>