Interactive interface for browsing global, full-resolution satellite imagery
Mobile about now goes directly to page
Mike McGann5fe66fb41122
diff --git a/etc/brand.worldview/src/pages/brand/about.html b/etc/brand.worldview/src/pages/brand/about.htmlindex c177afa2e..7a3096da3 100644--- a/etc/brand.worldview/src/pages/brand/about.html+++ b/etc/brand.worldview/src/pages/brand/about.html@@ -4,7 +4,6 @@<title>@OFFICIAL_NAME@ - About</title><link type="text/css" href="../css/wv.document.css?v=@BUILD_NONCE@" rel="Stylesheet" /><link type="text/css" href="../css/wv.standalone.css?v=@BUILD_NONCE@" rel="Stylesheet" />- <link type="text/css" href="../css/wv.about.css?v=@BUILD_NONCE@" rel="Stylesheet" /><meta name="viewport" content="width=device-width, initial-scale=1"></head>@@ -15,7 +14,7 @@Version @BUILD_VERSION@</div></div>- <h1 class="title">Welcome to @NAME@</h1>+ <h1>Welcome to @NAME@</h1><p>This tool from NASA's<a href='https://earthdata.nasa.gov/about-eosdis' target='_blank'>EOSDIS</a>diff --git a/etc/deploy/wv.css.json b/etc/deploy/wv.css.jsonindex f48470ae0..851135047 100644--- a/etc/deploy/wv.css.json+++ b/etc/deploy/wv.css.json@@ -12,7 +12,6 @@"src/css/splash.css","src/css/products.css","src/css/projection.css",- "src/css/about.css","src/css/indicator.css","src/css/events.css","src/css/dataDownload.css",diff --git a/etc/deploy/wv.js.json b/etc/deploy/wv.js.jsonindex 6760f4828..dc463a589 100644--- a/etc/deploy/wv.js.json+++ b/etc/deploy/wv.js.json@@ -6,7 +6,6 @@"src/js/util/wv.util.events.js","src/js/ui/wv.ui.js",- "src/js/ui/wv.ui.about.js","src/js/ui/wv.ui.indicator.js","src/js/ui/wv.ui.info.js",diff --git a/src/css/about.css b/src/css/about.cssdeleted file mode 100644index 361c34320..000000000--- a/src/css/about.css+++ /dev/null@@ -1,59 +0,0 @@-.about {- text-align: center;-}--.about-title {- font-size: 10pt;- font-weight: bold;-}--.about-version {- font-size: 10pt;-}--.about-build {- font-size: 8pt;-}--.about a:link {- font-weight: bold;-}--.about a:visited {- font-weight: bold;-}--#about-page {- background-color: #000000;- color: #FFFBE7;-}--#about-page .content {- background-color: rgba(38, 43, 49, 0.65);- margin: 10px auto;- padding-top: 10px;- padding-bottom: 10px;- padding-left: 20px;- padding-right: 20px;- border-radius: 5px;- max-width: 600px;--}--#about-page a:link {- color: #82cdfa;-}--#about-page a:visited {- color: #82cdfa;-}--#about-page h3 {- margin-top: 20px;- font-size: 10pt;- font-weight: bold;-}--#about-page p {- margin-bottom: 10px;-}diff --git a/src/index.html b/src/index.htmlindex 13a377420..f5a2b5e7b 100644--- a/src/index.html+++ b/src/index.html@@ -76,7 +76,6 @@<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/selector.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/splash.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/products.css">- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/about.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/indicator.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/events.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/dataDownload.css">@@ -129,7 +128,6 @@<!-- link.dev --> <script type="text/javascript" src="js/util/wv.util.events.js"></script><!-- link.dev --> <script type="text/javascript" src="js/ui/wv.ui.js"></script>- <!-- link.dev --> <script type="text/javascript" src="js/ui/wv.ui.about.js"></script><!-- link.dev --> <script type="text/javascript" src="js/ui/wv.ui.indicator.js"></script><!-- link.dev --> <script type="text/javascript" src="js/ui/wv.ui.info.js"></script>diff --git a/src/js/ui/wv.ui.about.js b/src/js/ui/wv.ui.about.jsdeleted file mode 100644index d28423e8d..000000000--- a/src/js/ui/wv.ui.about.js+++ /dev/null@@ -1,116 +0,0 @@-/*- * NASA Worldview- *- * This code was originally developed at NASA/Goddard Space Flight Center for- * the Earth Science Data and Information System (ESDIS) project.- *- * Copyright (C) 2013 - 2014 United States Government as represented by the- * Administrator of the National Aeronautics and Space Administration.- * All Rights Reserved.- */--/**- * @module wv.ui- */-var wv = wv || {};-wv.ui = wv.ui || {};--/**- * Displays the Worldview about box. If this is a desktop device, a full- * dialog box is shown with all the relevant information. If this is a mobile- * device, a small dialog box is shown with links to a page that contains- * the full information.- *- * @class wv.ui.about- * @static- */-wv.ui.about = wv.ui.about || (function() {-- var self = {};- var overlay;-- /**- * Show the about dialog box.- *- * @method show- */- self.show = function() {- if ( wv.util.browser.small ) {- showMobile();- } else {- showDesktop();- }- };-- var showDesktop = function() {- var $dialog = wv.ui.getDialog();-- //=============================================================- // NOTE: pages/about.html MUST also be updated!- //=============================================================- var item = "<div>"+- "<h3>Welcome to Worldview</h3>"+- "<p>This tool from NASA's <a href='https://earthdata.nasa.gov/about-eosdis' target='_blank'>EOSDIS</a> provides the capability to interactively browse global, full-resolution satellite imagery and then download the underlying data. Most of the 100+ available products are updated within three hours of observation, essentially showing the entire Earth as it looks \"right now\". This supports time-critical application areas such as wildfire management, air quality measurements, and flood monitoring. Arctic and Antarctic views of several products are also available for a \"full globe\" perspective. Browsing on tablet and smartphone devices is generally supported for mobile access to the imagery.</p>"+- "<br /><p>Worldview uses the <a href='https://earthdata.nasa.gov/gibs' target='_blank'>Global Imagery Browse Services (GIBS)</a> to rapidly retrieve its imagery for an interactive browsing experience. While Worldview uses <a href='http://openlayers.org/' target='_blank'>OpenLayers</a> as its mapping library, GIBS imagery can also be accessed from Google Earth, NASA World Wind, and several other clients. We encourage interested developers to build their own clients or integrate NASA imagery into their existing ones using these services.</p>"+-- "<br /><h3>Imagery Use</h3>"+- "<p>NASA supports an <a href='http://science.nasa.gov/earth-science/earth-science-data/data-information-policy/' target='_blank'>open data policy</a> and we encourage publication of imagery from Worldview; when doing so, please cite it as \"NASA Worldview\" and also consider including a permalink (such as <a href='https://earthdata.nasa.gov/labs/worldview/?map=-126.907471,36.373535,-117.415283,42.815918&products=baselayers,MODIS_Aqua_CorrectedReflectance_TrueColor~overlays,MODIS_Fires_All,sedac_bound&time=2012-08-23&switch=geographic' target='_blank'>this one</a>) to allow others to explore the imagery.</p>"+- "<br /><h3>Acknowledgements</h3>"+- "<p>Near-real time data is courtesy of <a href='http://lance.nasa.gov/' target='_blank'>LANCE</a> data providers: <a href='http://lance.nasa.gov/home/about/amsr-e-sips/' target='_blank'>AMSR-E SIPS</a>, <a href='http://lance.nasa.gov/home/about/ges-disc/' target='_blank'>GES DISC</a>, <a href='http://lance.nasa.gov/home/about/modaps/' target='_blank'>MODAPS</a>, <a href='http://lance.nasa.gov/home/about/omi-sips/' target='_blank'>OMI SIPS</a>, and <a href='http://earthdata.nasa.gov/data/near-real-time-data/firms' target='_blank'>FIRMS</a>. Ocean color and temperature data provided by <a href='http://oceancolor.gsfc.nasa.gov/' target='_blank'>OBPG</a> and <a href='http://podaac.jpl.nasa.gov/' target='_blank'>PO.DAAC</a>. Socioeconomic data supplied by <a href='http://sedac.ciesin.org/' target='_blank'>SEDAC</a>. Freeze / Thaw products supplied by <a href='http://nsidc.org' target='_blank'>NSIDC</a>. Orbit tracks provided by <a href='https://www.space-track.org' target='_blank'>space-track.org</a>. Polar coastlines and graticules courtesy of <a href='http://www.add.scar.org/' target='_blank'>ADD SCAR</a>, <a href='http://www.openstreetmap.org/' target='_blank'>OpenStreetMap</a>, and <a href='http://www.polarview.aq/' target='_blank'>PolarView</a>. User-selectable color palettes are primarily derived from <a href='http://neo.sci.gsfc.nasa.gov/' target='_blank'>NEO</a>. The imagery ingest and serving system (GIBS) is built by NASA/JPL and operated by NASA/GSFC. Worldview is built by the NASA/GSFC Earth Science Data Information System (<a href='http://earthdata.nasa.gov/esdis' target='_blank'>ESDIS</a>) Project and is grateful for the use of many <a href='pages/worldview-opensourcelibs.html' target='_blank'>open source projects</a>.</p>"+- "<br /><h3>Disclaimer</h3>"+- "<p>The information presented through this interface is provided \"as is\" and users bear all responsibility and liability for their use of the data. Please read the <a href='https://earthdata.nasa.gov/data/nrt-data/disclaimer' target='_blank'>full disclaimer</a>.</p>"+- "<br /><p>"+- "Version: " + wv.brand.VERSION + " - " + wv.brand.BUILD_TIMESTAMP + " (<a href='pages/release_notes.html' target='_blank'>release notes</a>)<br />"+- "Release Manager: <a href='mailto:[email protected]'>Mike McGann</a><br />"+- "Responsible NASA Official: <a href='mailto:[email protected]'>Ryan Boller</a><br />"+- "</p>"+- "</div>";-- /*- $dialog.html(item);- $dialog.dialog({- title: "About",- width: 800,- show: { effect: "fade" },- hide: { effect: "fade" }- });- */- $dialog.dialog({- title: "About",- width: 625,- height: 525,- show: { effect: "fade" },- hide: { effect: "fade" }- }).load("pages/brand/about.html?v=@BUILD_NONCE@ #page");- };--- var showMobile = function() {- html = [- "<div class='about about-title'>" + wv.brand.NAME + "</div>",- "<div class='about about-version'>Version " + wv.brand.VERSION + "</div>",- "<div class='about about-build'>" + wv.brand.BUILD_TIMESTAMP + "</div>",- "<br/>",- "<div class='about'>",- "<a href='pages/about.html' target='_blank'>Welcome to Worldview</a>",- "</div>",- "<div class='about'>",- "<a href='pages/about.html#imagery-use' target='_blank'>Imagery Use</a>",- "</div>",- "<div class='about'>",- "<a href='pages/about.html#acknowledgements' target='_blank'>Acknowledgements</a>",- "</div>",- "<div class='about'>",- "<a href='pages/about.html#disclaimer' target='_blank'>Disclaimer</a>",- "</div>",- "<div class='about'>",- "<a href='pages/release_notes.html' target='_blank'>Release Notes</a>",- "</div>",- ].join("\n");- wv.ui.notify(html, " ");- };-- return self;--})();-diff --git a/src/js/ui/wv.ui.info.js b/src/js/ui/wv.ui.info.jsindex cabe6a640..4d7e25d20 100644--- a/src/js/ui/wv.ui.info.js+++ b/src/js/ui/wv.ui.info.js@@ -46,7 +46,17 @@ wv.ui.info = wv.ui.info || (function(ui) {$menuItems.hide().menu();$about.click(function() {- wv.ui.about.show();+ if ( wv.util.browser.small ) {+ window.open("pages/brand/about.html?v=@BUILD_NONCE@", "_blank");+ } else {+ wv.ui.getDialog().dialog({+ title: "About",+ width: 625,+ height: 525,+ show: { effect: "fade" },+ hide: { effect: "fade" }+ }).load("pages/brand/about.html?v=@BUILD_NONCE@ #page");+ }});$tour.click(function() {diff --git a/src/pages/css/wv.document.css b/src/pages/css/wv.document.cssindex 94ce31639..a4dc7ed22 100644--- a/src/pages/css/wv.document.css+++ b/src/pages/css/wv.document.css@@ -6,11 +6,18 @@.wv-document p,.wv-document li,-.wv-document div {+.wv-document div,+.wv-document h1,+.wv-document h2 {font-weight: 100;+ font-family: "helvetica",sans-serif;+}++.wv-document p,+.wv-document li,+.wv-document div {font-size: 16px;line-height: 22px;- font-family: "helvetica",sans-serif;}.wv-document h1 {diff --git a/src/pages/css/wv.standalone.css b/src/pages/css/wv.standalone.cssindex 857d41eba..0c6fdaf2d 100644--- a/src/pages/css/wv.standalone.css+++ b/src/pages/css/wv.standalone.css@@ -14,4 +14,6 @@ body {max-width: 600px;}-+.wv-document ul {+ margin-left: auto;+}