@wwtelescope/webclient 6.4.0 → 6.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/Gruntfile.js +2 -2
- package/README.md +30 -22
- package/ci/azure-deployment.yml +3 -3
- package/controllers/MainController.js +30 -37
- package/controllers/modals/DataVizController.js +10 -2
- package/index.html +10 -22
- package/package.json +3 -3
- package/views/modals/intro.html +9 -27
- package/images/aas-white110.png +0 -0
- package/images/logo_aas.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
# @wwtelescope/webclient 6.4.2 (2023-06-21)
|
|
2
|
+
|
|
3
|
+
- Update sponsorship branding
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# @wwtelescope/webclient 6.4.1 (2023-02-15)
|
|
7
|
+
|
|
8
|
+
- Make sliders in layer properties window be initialized with the correct value
|
|
9
|
+
(#354, @Carifio24).
|
|
10
|
+
|
|
11
|
+
|
|
1
12
|
# @wwtelescope/webclient 6.4.0 (2022-07-12)
|
|
2
13
|
|
|
3
14
|
- Finally update this to expose all of our new datasets (@pkgw, #353)! These
|
package/Gruntfile.js
CHANGED
|
@@ -16,8 +16,8 @@ module.exports = function (grunt) {
|
|
|
16
16
|
pkg: grunt.file.readJSON('package.json'),
|
|
17
17
|
|
|
18
18
|
banner: '/**\n' +
|
|
19
|
-
'*
|
|
20
|
-
'* Copyright 2014-
|
|
19
|
+
'* WorldWide Telescope Web Client\n' +
|
|
20
|
+
'* Copyright 2014-2023 .NET Foundation\n' +
|
|
21
21
|
'* Licensed under the MIT License\n' +
|
|
22
22
|
'* Git hash <%= gitinfo.local.branch.current.SHA %>\n' +
|
|
23
23
|
'**/\n',
|
package/README.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
[](https://dev.azure.com/aasworldwidetelescope/WWT/_build/latest?definitionId=4&branchName=master)
|
|
2
2
|
[](https://www.npmjs.com/package/@wwtelescope/webclient)
|
|
3
|
+
[](http://numfocus.org)
|
|
3
4
|
|
|
4
|
-
# The
|
|
5
|
+
# The WorldWide Telescope Web Client
|
|
5
6
|
|
|
6
|
-
The “web client” of
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
The “web client” of [WorldWide Telescope](http://worldwidetelescope.org/home)
|
|
8
|
+
(WWT) is a web application that lets you explore the universe from the comfort
|
|
9
|
+
of your chair.
|
|
9
10
|
|
|
10
11
|
### <https://worldwidetelescope.org/webclient/>
|
|
11
12
|
|
|
@@ -17,17 +18,29 @@ JavaScript library.
|
|
|
17
18
|
[AngularJS]: https://angularjs.org/
|
|
18
19
|
[WWT WebGL Engine]: https://github.com/WorldWideTelescope/wwt-webgl-engine
|
|
19
20
|
|
|
21
|
+
[//]: # (numfocus-fiscal-sponsor-attribution)
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
The WorldWide Telescope project uses an [open governance
|
|
24
|
+
model](https://worldwidetelescope.org/about/governance/) and is fiscally
|
|
25
|
+
sponsored by [NumFOCUS](https://numfocus.org/). Consider making a
|
|
26
|
+
[tax-deductible donation](https://numfocus.org/donate-for-worldwide-telescope)
|
|
27
|
+
to help the project pay for developer time, professional services, travel,
|
|
28
|
+
workshops, and a variety of other needs.
|
|
29
|
+
|
|
30
|
+
<div align="center">
|
|
31
|
+
<a href="https://numfocus.org/donate-for-worldwide-telescope">
|
|
32
|
+
<img height="60px"
|
|
33
|
+
src="https://raw.githubusercontent.com/numfocus/templates/master/images/numfocus-logo.png">
|
|
34
|
+
</a>
|
|
35
|
+
</div>
|
|
22
36
|
|
|
23
|
-
In order to build and test the app, you need:
|
|
24
37
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
## Building and Testing
|
|
39
|
+
|
|
40
|
+
In order to build and test the app, you need: [Node.js](https://nodejs.org/),
|
|
41
|
+
specifically the `npm` command. If you need to install Node.js, use your
|
|
42
|
+
operating system’s package manager or visit [nodejs.org](https://nodejs.org/)
|
|
43
|
+
for installation instructions.
|
|
31
44
|
|
|
32
45
|
The first time you check out these files, run:
|
|
33
46
|
|
|
@@ -38,7 +51,7 @@ npm install
|
|
|
38
51
|
Once that has been done, you can build the website with:
|
|
39
52
|
|
|
40
53
|
```
|
|
41
|
-
grunt dist-dev
|
|
54
|
+
npx grunt dist-dev
|
|
42
55
|
```
|
|
43
56
|
|
|
44
57
|
This will create the app files in the `dist` subdirectory of your repository
|
|
@@ -96,18 +109,13 @@ All participation in WWT communities is conditioned on your adherence to the
|
|
|
96
109
|
|
|
97
110
|
## Acknowledgments
|
|
98
111
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
and Betty Moore Foundation], and [Microsoft].
|
|
112
|
+
Work on the WorldWide Telescope system has been supported by the [American
|
|
113
|
+
Astronomical Society] (AAS), the [.NET Foundation], and other partners. See [the
|
|
114
|
+
WWT user website][acks] for details.
|
|
103
115
|
|
|
104
116
|
[American Astronomical Society]: https://aas.org/
|
|
105
117
|
[.NET Foundation]: https://dotnetfoundation.org/
|
|
106
|
-
[
|
|
107
|
-
[1550701]: https://www.nsf.gov/awardsearch/showAward?AWD_ID=1550701
|
|
108
|
-
[1642446]: https://www.nsf.gov/awardsearch/showAward?AWD_ID=1642446
|
|
109
|
-
[Gordon and Betty Moore Foundation]: https://www.moore.org/
|
|
110
|
-
[Microsoft]: https://www.microsoft.com/
|
|
118
|
+
[acks]: https://worldwidetelescope.org/about/acknowledgments/
|
|
111
119
|
|
|
112
120
|
|
|
113
121
|
## Legalities
|
package/ci/azure-deployment.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2020-
|
|
1
|
+
# Copyright 2020-2023 the .NET Foundation
|
|
2
2
|
# Licensed under the MIT License
|
|
3
3
|
|
|
4
4
|
parameters:
|
|
@@ -85,11 +85,11 @@ jobs:
|
|
|
85
85
|
azurePowerShellVersion: 'LatestVersion'
|
|
86
86
|
scriptType: 'inlineScript'
|
|
87
87
|
inline: |
|
|
88
|
-
|
|
88
|
+
Clear-AzCdnEndpointContent `
|
|
89
89
|
-ProfileName wwt-cdn-01 `
|
|
90
90
|
-ResourceGroupName wwt-web01 `
|
|
91
91
|
-EndpointName wwtweb-prod `
|
|
92
|
-
-
|
|
92
|
+
-ContentPath @('/$(WEBCLIENT_DEPLOYMENT_TAG)/*')
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
# Deployment jobs that should only happen on updates to `rc`, i.e.
|
|
@@ -33,9 +33,8 @@ wwt.controllers.controller(
|
|
|
33
33
|
'$popover',
|
|
34
34
|
|
|
35
35
|
function ($scope, $rootScope, uiLibrary, $q, appState, loc, $timeout, finderScope,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{
|
|
36
|
+
searchDataService, places, util, hashManager, skyball, searchUtil, $modal,
|
|
37
|
+
$element, $cookies, AutohidePanels, $window, $popover) {
|
|
39
38
|
//TODO - figure out how to clean up lame long list of dependencies injected
|
|
40
39
|
var ctl;
|
|
41
40
|
|
|
@@ -136,7 +135,7 @@ wwt.controllers.controller(
|
|
|
136
135
|
};
|
|
137
136
|
|
|
138
137
|
$scope.setLookAt = function (lookAt, imageryName, noUpdate, keepCamera) {
|
|
139
|
-
if (!lookAt || !isNaN(parseInt(lookAt))){
|
|
138
|
+
if (!lookAt || !isNaN(parseInt(lookAt))) {
|
|
140
139
|
lookAt = wwtlib.WWTControl.singleton.renderContext.get_backgroundImageset()._dataSetType;
|
|
141
140
|
lookAt = $scope.lookTypes[lookAt];
|
|
142
141
|
if ($scope.lookAt === lookAt) {
|
|
@@ -184,7 +183,7 @@ wwt.controllers.controller(
|
|
|
184
183
|
}
|
|
185
184
|
}
|
|
186
185
|
|
|
187
|
-
angular.element($window).bind('resize', function() {
|
|
186
|
+
angular.element($window).bind('resize', function () {
|
|
188
187
|
$rootScope.$apply(update_window_size);
|
|
189
188
|
});
|
|
190
189
|
|
|
@@ -361,7 +360,7 @@ wwt.controllers.controller(
|
|
|
361
360
|
$scope.ribbon = {
|
|
362
361
|
// The "home" tab is special-cased since it has no associated panel.
|
|
363
362
|
home_tab: {
|
|
364
|
-
label: '
|
|
363
|
+
label: 'WorldWide Telescope',
|
|
365
364
|
button: 'rbnHome',
|
|
366
365
|
menu: {
|
|
367
366
|
'Main Website': [util.nav_user, '/home'],
|
|
@@ -369,15 +368,14 @@ wwt.controllers.controller(
|
|
|
369
368
|
'Contributor Hub': [function () { window.open('https://worldwidetelescope.github.io/'); }],
|
|
370
369
|
'GitHub Home': [function () { window.open('https://github.com/WorldWideTelescope'); }],
|
|
371
370
|
'Sign up for Newsletter': [function () { window.open('https://bit.ly/wwt-signup'); }],
|
|
372
|
-
'Support WWT ❤️': [function () { window.open('https://
|
|
371
|
+
'Support WWT ❤️': [function () { window.open('https://numfocus.org/donate-for-worldwide-telescope'); }],
|
|
373
372
|
sep1: null,
|
|
374
373
|
'@WWTelescope on Twitter': [function () { window.open('https://twitter.com/WWTelescope'); }],
|
|
375
374
|
'@AASWorldWideTelescope on YouTube': [function () { window.open('https://www.youtube.com/c/AASWorldWideTelescope'); }],
|
|
376
375
|
'@WWTelescope on Facebook': [function () { window.open('https://www.facebook.com/wwtelescope'); }],
|
|
377
376
|
sep2: null,
|
|
378
|
-
'Download Windows App': [util.nav_user, '/Download#
|
|
379
|
-
'About
|
|
380
|
-
'About American Astronomical Society': [function () { window.open('https://aas.org/about-aas'); }]
|
|
377
|
+
'Download Windows App': [util.nav_user, '/Download#windows-client'],
|
|
378
|
+
'About WorldWide Telescope': [util.nav_user, '/About'],
|
|
381
379
|
}
|
|
382
380
|
},
|
|
383
381
|
|
|
@@ -559,7 +557,7 @@ wwt.controllers.controller(
|
|
|
559
557
|
}
|
|
560
558
|
}
|
|
561
559
|
|
|
562
|
-
var placeNameForQueryString = function(item) {
|
|
560
|
+
var placeNameForQueryString = function (item) {
|
|
563
561
|
// Various "research" menus like to put an item's name into URL query
|
|
564
562
|
// strings. Compute the proper (well, good-enough) representation. When
|
|
565
563
|
// the name has multiple semicolon-separated identifiers, usually the
|
|
@@ -595,8 +593,8 @@ wwt.controllers.controller(
|
|
|
595
593
|
});
|
|
596
594
|
|
|
597
595
|
var finderTimer,
|
|
598
|
-
|
|
599
|
-
|
|
596
|
+
finderActive = false,
|
|
597
|
+
finderMoved = true;
|
|
600
598
|
|
|
601
599
|
$scope.showFinderScope = function (event) {
|
|
602
600
|
// On Windows, right-click brings up the finder scope and control-click
|
|
@@ -646,14 +644,14 @@ wwt.controllers.controller(
|
|
|
646
644
|
}
|
|
647
645
|
|
|
648
646
|
finderTimer = setInterval(pollFinder, 400);
|
|
649
|
-
viewportChange(null, {finderMove: true});
|
|
647
|
+
viewportChange(null, { finderMove: true });
|
|
650
648
|
}
|
|
651
649
|
};
|
|
652
650
|
|
|
653
651
|
var pollFinder = function () {
|
|
654
652
|
if (checkVisibleFinderScope()) {
|
|
655
653
|
if (finderMoved) {
|
|
656
|
-
viewportChange(null, {finderMove: true});
|
|
654
|
+
viewportChange(null, { finderMove: true });
|
|
657
655
|
finderMoved = false;
|
|
658
656
|
}
|
|
659
657
|
}
|
|
@@ -734,11 +732,6 @@ wwt.controllers.controller(
|
|
|
734
732
|
}
|
|
735
733
|
};
|
|
736
734
|
|
|
737
|
-
$scope.setSurveyProperties = function () {
|
|
738
|
-
$scope.propertyItem = $scope.backgroundImagery;
|
|
739
|
-
$scope.propertyItem.isSurvey = true;
|
|
740
|
-
};
|
|
741
|
-
|
|
742
735
|
$scope.setActiveItem = function (item) {
|
|
743
736
|
$scope.activeItem = item;
|
|
744
737
|
if (item.guid) {
|
|
@@ -749,7 +742,7 @@ wwt.controllers.controller(
|
|
|
749
742
|
$scope.activeItem.imageSet = item.get_studyImageset();
|
|
750
743
|
}
|
|
751
744
|
};
|
|
752
|
-
|
|
745
|
+
|
|
753
746
|
$scope.addCatalogHiPS = function (item) {
|
|
754
747
|
if (item.guid) {
|
|
755
748
|
$scope.shareUrl = hashManager.setHashVal('place', item.guid, true, true);
|
|
@@ -762,14 +755,14 @@ wwt.controllers.controller(
|
|
|
762
755
|
|
|
763
756
|
//Catalog HiPS are controlled through the layer manager
|
|
764
757
|
// & multiple items can be selected at the same time.
|
|
765
|
-
// So it does not make sense to highlight single items in the folder menu
|
|
758
|
+
// So it does not make sense to highlight single items in the folder menu
|
|
766
759
|
$scope.setActiveItem({});
|
|
767
760
|
var imageSet = util.getImageset(item);
|
|
768
761
|
wwtlib.WWTControl.singleton.addCatalogHips(imageSet);
|
|
769
762
|
};
|
|
770
763
|
|
|
771
764
|
$scope.setForegroundImage = function (item) {
|
|
772
|
-
if(item.isCatalogHips){
|
|
765
|
+
if (item.isCatalogHips) {
|
|
773
766
|
$scope.addCatalogHiPS(item);
|
|
774
767
|
return;
|
|
775
768
|
}
|
|
@@ -800,7 +793,7 @@ wwt.controllers.controller(
|
|
|
800
793
|
};
|
|
801
794
|
|
|
802
795
|
$scope.setBackgroundImage = function (item) {
|
|
803
|
-
if(item.isCatalogHips){
|
|
796
|
+
if (item.isCatalogHips) {
|
|
804
797
|
$scope.addCatalogHiPS(item);
|
|
805
798
|
return;
|
|
806
799
|
}
|
|
@@ -933,21 +926,21 @@ wwt.controllers.controller(
|
|
|
933
926
|
$scope.playTour = function (url, edit) {
|
|
934
927
|
$('.finder-scope').hide();
|
|
935
928
|
|
|
936
|
-
wwt.wc.add_tourError(function(e) {
|
|
929
|
+
wwt.wc.add_tourError(function (e) {
|
|
937
930
|
util.exitFullscreen();
|
|
938
|
-
$scope.$applyAsync(function() {
|
|
931
|
+
$scope.$applyAsync(function () {
|
|
939
932
|
wwt.tourPlaying = $rootScope.tourPlaying = false;
|
|
940
933
|
});
|
|
941
934
|
uiLibrary.showErrorMessage('There was an error loading this tour. The tour file may be damaged or inaccessible.');
|
|
942
|
-
console.warn('Tour error'
|
|
935
|
+
console.warn('Tour error', $scope, e);
|
|
943
936
|
});
|
|
944
937
|
|
|
945
938
|
wwt.wc.add_tourReady(function () {
|
|
946
|
-
console.log({ready:wwtlib.WWTControl.singleton.tourEdit});
|
|
939
|
+
console.log({ ready: wwtlib.WWTControl.singleton.tourEdit });
|
|
947
940
|
|
|
948
941
|
$scope.$applyAsync(function () {
|
|
949
942
|
$scope.isLoading = false;
|
|
950
|
-
$scope.activeItem = {label: 'currentTour'};
|
|
943
|
+
$scope.activeItem = { label: 'currentTour' };
|
|
951
944
|
$scope.activePanel = 'currentTour';
|
|
952
945
|
$scope.ribbon.tabs[1].menu['Edit Tour'] = [$scope.editTour];
|
|
953
946
|
});
|
|
@@ -1009,7 +1002,7 @@ wwt.controllers.controller(
|
|
|
1009
1002
|
//todo show dialog for tour properties
|
|
1010
1003
|
$rootScope.currentTour = wwtlib.WWTControl.singleton.createTour("New Tour");
|
|
1011
1004
|
|
|
1012
|
-
$scope.activeItem = {label: 'currentTour'};
|
|
1005
|
+
$scope.activeItem = { label: 'currentTour' };
|
|
1013
1006
|
$scope.activePanel = 'currentTour';
|
|
1014
1007
|
$rootScope.$applyAsync(function () {
|
|
1015
1008
|
$rootScope.editingTour = true;
|
|
@@ -1179,9 +1172,9 @@ wwt.controllers.controller(
|
|
|
1179
1172
|
$scope.homePrefChange = function (isWebclient) {
|
|
1180
1173
|
$cookies.remove('homepage');
|
|
1181
1174
|
if (!isWebclient) {
|
|
1182
|
-
$cookies.put('homepage', 'home', {expires: new Date(2050, 1, 1), path: "/"});
|
|
1175
|
+
$cookies.put('homepage', 'home', { expires: new Date(2050, 1, 1), path: "/" });
|
|
1183
1176
|
} else {
|
|
1184
|
-
$cookies.put('homepage', 'webclient', {expires: new Date(2050, 1, 1), path: "/"});
|
|
1177
|
+
$cookies.put('homepage', 'webclient', { expires: new Date(2050, 1, 1), path: "/" });
|
|
1185
1178
|
}
|
|
1186
1179
|
};
|
|
1187
1180
|
|
|
@@ -1227,9 +1220,9 @@ wwt.controllers.controller(
|
|
|
1227
1220
|
$scope.displayXFader = function () {
|
|
1228
1221
|
return (
|
|
1229
1222
|
$scope.lookAt === 'Sky' &&
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1223
|
+
$scope.trackingObj &&
|
|
1224
|
+
!$scope.tourPlaying &&
|
|
1225
|
+
($scope.trackingObj.get_backgroundImageset() != null || $scope.trackingObj.get_studyImageset() != null)
|
|
1233
1226
|
);
|
|
1234
1227
|
}
|
|
1235
1228
|
|
|
@@ -1294,7 +1287,7 @@ wwt.controllers.controller(
|
|
|
1294
1287
|
$scope.fovClass = function () {
|
|
1295
1288
|
return $scope.lookAt === 'Planet' || $scope.lookAt === 'Panorama' || $scope.lookAt === 'Earth' ? 'hide' :
|
|
1296
1289
|
$scope.lookAt === 'SolarSystem' ? 'solar-system-mode fov-panel' :
|
|
1297
|
-
|
|
1290
|
+
'fov-panel';
|
|
1298
1291
|
}
|
|
1299
1292
|
|
|
1300
1293
|
$scope.contextPanelClass = function () {
|
|
@@ -1303,7 +1296,7 @@ wwt.controllers.controller(
|
|
|
1303
1296
|
cls += ' hide';
|
|
1304
1297
|
}
|
|
1305
1298
|
|
|
1306
|
-
$rootScope.compressed = $scope.compressed = cls.indexOf('compressed')>0;
|
|
1299
|
+
$rootScope.compressed = $scope.compressed = cls.indexOf('compressed') > 0;
|
|
1307
1300
|
return cls;
|
|
1308
1301
|
}
|
|
1309
1302
|
|
|
@@ -52,7 +52,6 @@ wwt.controllers.controller('DataVizController', ['$scope', '$rootScope', 'Util',
|
|
|
52
52
|
return {label: c, type: i};
|
|
53
53
|
});
|
|
54
54
|
l.computeDateDomainRange(0,-1);
|
|
55
|
-
console.log('compute');
|
|
56
55
|
var none = {label: 'None', index: -1};
|
|
57
56
|
$scope.columns.splice(0, 0, none);
|
|
58
57
|
l.psType = l.get_pointScaleType();
|
|
@@ -61,12 +60,21 @@ wwt.controllers.controller('DataVizController', ['$scope', '$rootScope', 'Util',
|
|
|
61
60
|
|
|
62
61
|
var sliders = {};
|
|
63
62
|
var initExpSlider = function (sel, prop, initVal) {
|
|
64
|
-
$scope[prop]
|
|
63
|
+
var value = $scope[prop];
|
|
64
|
+
if (value == null) {
|
|
65
|
+
value = l['get_' + prop]();
|
|
66
|
+
if (value == null) {
|
|
67
|
+
value = initVal;
|
|
68
|
+
}
|
|
69
|
+
$scope[prop] = value;
|
|
70
|
+
}
|
|
65
71
|
if (sliders[prop]) {
|
|
66
72
|
return;
|
|
67
73
|
}
|
|
68
74
|
setTimeout(function () {
|
|
69
75
|
var bar = $(sel);
|
|
76
|
+
var pxValue = 4 * Math.round(Math.log2(value)) + 50;
|
|
77
|
+
bar[0].style.left = pxValue.toString() + 'px';
|
|
70
78
|
var off = parseInt(bar.css('left').replace('px', ''));
|
|
71
79
|
sliders[prop] = new wwt.Move({
|
|
72
80
|
el: bar,
|
package/index.html
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
|
-
<title>
|
|
4
|
+
<title>WorldWide Telescope — Web Client</title>
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7
7
|
<meta name="ROBOTS" content="INDEX, FOLLOW">
|
|
8
8
|
|
|
9
|
-
<meta property="og:site_name" content="
|
|
10
|
-
<meta property="og:url" content="
|
|
11
|
-
<meta property="og:title" content="
|
|
9
|
+
<meta property="og:site_name" content="WorldWide Telescope" />
|
|
10
|
+
<meta property="og:url" content="https://worldwidetelescope.org/" />
|
|
11
|
+
<meta property="og:title" content="WorldWide Telescope" />
|
|
12
12
|
<meta property="og:type" content="website" />
|
|
13
|
-
<meta property="og:description" content="
|
|
13
|
+
<meta property="og:description" content="Worldwide Telescope is a tool for showcasing astronomical data and knowledge." />
|
|
14
14
|
<meta property="og:image" content="<%= webclient_static_assets_url_prefix %>images/wwtlogo.png" />
|
|
15
15
|
<meta property="og:image:width" content="256" />
|
|
16
16
|
<meta property="og:image:height" content="256" />
|
|
17
|
-
<meta name="title" content="
|
|
18
|
-
<meta name="description" content="
|
|
17
|
+
<meta name="title" content="WorldWide Telescope" />
|
|
18
|
+
<meta name="description" content="Worldwide Telescope is a tool for showcasing astronomical data and knowledge." />
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="favicon.ico"/>
|
|
21
21
|
|
|
@@ -251,15 +251,11 @@
|
|
|
251
251
|
</li>
|
|
252
252
|
|
|
253
253
|
<li>
|
|
254
|
-
<a ng-click="gotoPage('<%= userweb_url_prefix %>/About')" localize="About
|
|
254
|
+
<a ng-click="gotoPage('<%= userweb_url_prefix %>/About')" localize="About WorldWide Telescope"></a>
|
|
255
255
|
</li>
|
|
256
256
|
|
|
257
257
|
<li>
|
|
258
|
-
<a ng-click="gotoPage('https://
|
|
259
|
-
</li>
|
|
260
|
-
|
|
261
|
-
<li>
|
|
262
|
-
<a ng-click="gotoPage('https://aas.org/about-aas')" localize="About American Astronomical Society"></a>
|
|
258
|
+
<a ng-click="gotoPage('https://numfocus.org/donate-for-worldwide-telescope')" localize="Support WWT ❤️"></a>
|
|
263
259
|
</li>
|
|
264
260
|
</ul>
|
|
265
261
|
</div>
|
|
@@ -326,13 +322,6 @@
|
|
|
326
322
|
<!-- mobile Loading popup -->
|
|
327
323
|
|
|
328
324
|
<div ng-class="isLoading ? 'mobile-loading' : 'hide'">
|
|
329
|
-
<a href="//aas.org" target="_blank" style="position:relative;left:3px;z-index:5" class="pull-right">
|
|
330
|
-
<img ng-src="<%= webclient_static_assets_url_prefix %>images/aas-white110.png?v=<%= shortSHA %>"
|
|
331
|
-
localize="American Astronomical Society (AAS) Logo"
|
|
332
|
-
localize-only="alt"
|
|
333
|
-
style="width:60px;height:60px;"/>
|
|
334
|
-
</a>
|
|
335
|
-
|
|
336
325
|
<a class="pull-left" href="/home" style="margin-left: -11px;">
|
|
337
326
|
<img ng-src='<%= webclient_static_assets_url_prefix %>images/wwtlogo.png?v=<%= shortSHA %>'
|
|
338
327
|
localize="WorldWide Telescope Logo"
|
|
@@ -341,7 +330,6 @@
|
|
|
341
330
|
</a>
|
|
342
331
|
|
|
343
332
|
<h3>
|
|
344
|
-
<div class="small text-white">American Astronomical Society</div>
|
|
345
333
|
World<span class="brand-blue">Wide Telescope</span>
|
|
346
334
|
</h3>
|
|
347
335
|
|
|
@@ -435,7 +423,7 @@
|
|
|
435
423
|
<a class="btn pull-right" ng-click="logout()" ng-show="msLiveOAuthAppId && msLiveOAuthAppId.length && loggedIn">
|
|
436
424
|
<span localize="Sign Out"></span>
|
|
437
425
|
</a>
|
|
438
|
-
<a class="btn pull-right" href="https://
|
|
426
|
+
<a class="btn pull-right" href="https://numfocus.org/donate-for-worldwide-telescope" target="_blank">
|
|
439
427
|
<span>Support WWT ❤️</span>
|
|
440
428
|
</a>
|
|
441
429
|
</span>
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"buildConfig": {
|
|
8
8
|
"uglify": true
|
|
9
9
|
},
|
|
10
|
-
"description": "
|
|
10
|
+
"description": "WorldWide Telescope web client",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"grunt": "^1.0",
|
|
13
13
|
"grunt-autoprefixer": "^3.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://worldwidetelescope.org/webclient/",
|
|
26
26
|
"keywords": [
|
|
27
|
-
"
|
|
27
|
+
"WorldWide Telescope"
|
|
28
28
|
],
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"name": "@wwtelescope/webclient",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"type": "git",
|
|
36
36
|
"url": "https://github.com/WorldWideTelescope/wwt-web-client.git"
|
|
37
37
|
},
|
|
38
|
-
"version": "6.4.
|
|
38
|
+
"version": "6.4.2"
|
|
39
39
|
}
|
package/views/modals/intro.html
CHANGED
|
@@ -2,32 +2,22 @@
|
|
|
2
2
|
<div class="modal-dialog">
|
|
3
3
|
<div class="modal-content">
|
|
4
4
|
<div class="modal-body">
|
|
5
|
-
<a href="//aas.org"
|
|
6
|
-
target="_blank"
|
|
7
|
-
style="width:110px; height:110px; position:relative; left:3px; z-index:5"
|
|
8
|
-
class="pull-right">
|
|
9
|
-
<img ng-src="{{staticAssetsPrefix}}images/aas-white110.png"
|
|
10
|
-
localize="American Astronomical Society (AAS) Logo"
|
|
11
|
-
localize-only="alt" />
|
|
12
|
-
</a>
|
|
13
|
-
|
|
14
5
|
<a href="{{userwebUrlPrefix}}/home"
|
|
15
6
|
target="_blank"
|
|
16
7
|
style="display:inline-block; position:relative; left:-3px; margin-right:7px; z-index:5" class="pull-left">
|
|
17
8
|
<img ng-src='{{staticAssetsPrefix}}images/wwtlogo.png'
|
|
18
9
|
style="width:110px; height:110px;"
|
|
19
|
-
localize="
|
|
10
|
+
localize="WorldWide Telescope Logo"
|
|
20
11
|
localize-only="alt" />
|
|
21
12
|
</a>
|
|
22
13
|
|
|
23
|
-
<h1 style="position:relative; top
|
|
24
|
-
<small style="color:white">American Astronomical Society</small><br />
|
|
14
|
+
<h1 style="position: relative; top: 10px; white-space: nowrap">
|
|
25
15
|
World<span style="color:#6ba9e6">Wide Telescope</span>
|
|
26
16
|
</h1>
|
|
27
17
|
|
|
28
18
|
<div class="clear"></div>
|
|
29
19
|
|
|
30
|
-
<p style="margin-top:
|
|
20
|
+
<p style="margin-top: 60px;">Welcome to WorldWide Telescope!</p>
|
|
31
21
|
|
|
32
22
|
<ul>
|
|
33
23
|
<li localize="Move around the sky by clicking and dragging."></li>
|
|
@@ -36,24 +26,16 @@
|
|
|
36
26
|
<li localize="Menu tabs (“Explore”, “Guided Tours”, etc.) have two parts. Click the tab’s top to open a pane; click the tab’s bottom to open a submenu."></li>
|
|
37
27
|
</ul>
|
|
38
28
|
|
|
39
|
-
<h3 localize="WWT 2022 is Here!"></h3>
|
|
40
|
-
|
|
41
|
-
<p>The latest version of AAS WorldWide Telescope — WWT 2022 —
|
|
42
|
-
launched on February 15th!.</p>
|
|
43
|
-
|
|
44
|
-
<p class="text-center">
|
|
45
|
-
<a class="btn" href="https://worldwidetelescope.github.io/editions/2022/" target="_blank">Go to the WWT 2022 homepage</a>
|
|
46
|
-
</p>
|
|
47
|
-
|
|
48
29
|
<h3 localize="Help Support WWT!"></h3>
|
|
49
30
|
|
|
50
|
-
<p>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
31
|
+
<p>WWT is a fiscally sponsored project of <a
|
|
32
|
+
href="https://numfocus.org/">NumFOCUS</a>, a nonprofit dedicated to
|
|
33
|
+
supporting the open-source scientific computing community. If you like
|
|
34
|
+
WWT and want to support our mission, please consider making a
|
|
35
|
+
tax-deductible donation to support our efforts.</p>
|
|
54
36
|
|
|
55
37
|
<p class="text-center">
|
|
56
|
-
<a class="btn" href="https://
|
|
38
|
+
<a class="btn" href="https://numfocus.org/donate-for-worldwide-telescope" target="_blank">Support WWT ❤️</a>
|
|
57
39
|
</p>
|
|
58
40
|
|
|
59
41
|
<p localize="To return to this screen, click the Explore menu and choose Show Welcome Tips."></p>
|
package/images/aas-white110.png
DELETED
|
Binary file
|
package/images/logo_aas.png
DELETED
|
Binary file
|