Skip to content

Commit 0ae5f76

Browse files
committed
#18 new release
1 parent e18830f commit 0ae5f76

File tree

6 files changed

+36
-14
lines changed

6 files changed

+36
-14
lines changed

app/index.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<head>
88
<meta charset="utf-8">
99
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10-
<title></title>
10+
<title>SWITCH-ON Open-Data Registration Tool v0.3 BETA</title>
1111
<meta name="description" content="">
1212
<meta name="content-language" content="en-GB">
1313
<meta name="author" content="Pascal Dihé, cismet GmbH, http://www.cismet.de">
@@ -156,5 +156,23 @@ <h1>Open-Data Registration Tool</h1>
156156
<script src="scripts/filters/limitFilter.js" type="text/javascript"></script>
157157
<script src="scripts/filters/plainTextFilter.js" type="text/javascript"></script>
158158
<!-- endbuild -->
159+
160+
<!-- START OF GOOGLE ANALYTICS -->
161+
<script>
162+
(function (i, s, o, g, r, a, m) {
163+
i['GoogleAnalyticsObject'] = r;
164+
i[r] = i[r] || function () {
165+
(i[r].q = i[r].q || []).push(arguments)
166+
}, i[r].l = 1 * new Date();
167+
a = s.createElement(o),
168+
m = s.getElementsByTagName(o)[0];
169+
a.async = 1;
170+
a.src = g;
171+
m.parentNode.insertBefore(a, m)
172+
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
173+
ga('create', 'UA-54079374-1', 'auto');
174+
ga('send', 'pageview');
175+
</script>
176+
<!-- END OF GOOGLE ANALYTICS -->
159177
</body>
160178
</html>

app/scripts/controllers/masterController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ angular.module(
5757
* Message text
5858
*/
5959
$scope.message = {};
60-
$scope.message.text = '<strong>Welcome to the SWITCH-ON tool for the registration of (hydrological) open-data in the <a href=\'http://www.water-switch-on.eu/sip-webclient/sip-beta/\' title=\'Find open data with the SIP BYOD Client\' target=\'_blank\'>SWITCH-ON Spatial Information Platform</a>!</strong> <br>Please provide some general information about the new dataset such as name, description, a (download) link and keywords. ';
60+
$scope.message.text = '<strong>Welcome to the SWITCH-ON tool for the registration of (hydrological) open-data in the <a href="'+AppConfig.byod.baseUrl+'" title="Find open data with the SIP BYOD Client" target="_blank">SWITCH-ON Spatial Information Platform</a>!</strong> <br>Please provide some general information about the new dataset such as name, description, a (download) link and keywords. ';
6161
$scope.message.icon = 'fa-info-circle';
6262
$scope.message.type = 'success';
6363

app/scripts/factories/appConfigFactory.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ angular.module(
1818

1919
appConfig.cidsRestApi = {};
2020
//appConfig.cidsRestApi.host = 'http://localhost:8890';
21-
appConfig.cidsRestApi.host = 'http://switchon.cismet.de/legacy-rest1';
22-
//appConfig.cidsRestApi.host = 'http://tl-243.xtr.deltares.nl/switchon_server_rest';
21+
//appConfig.cidsRestApi.host = 'http://switchon.cismet.de/legacy-rest1';
22+
appConfig.cidsRestApi.host = 'http://data.water-switch-on.eu/switchon_server_rest';
2323

2424
appConfig.searchService = {};
2525
appConfig.searchService.username = 'admin@SWITCHON';
@@ -48,11 +48,13 @@ angular.module(
4848
appConfig.searchService.username + ':' +
4949
appConfig.searchService.password + '@' +
5050
appConfig.searchService.host.replace(/.*?:\/\//g, '');
51-
appConfig.objectInfo.resourceXmlUrl = 'http://tl-243.xtr.deltares.nl/csw?request=GetRecordById&service=CSW&version=2.0.2&namespace=xmlns%28csw=http://www.opengis.net/cat/csw/2.0.2%29&resultType=results&outputSchema=http://www.isotc211.org/2005/gmd&outputFormat=application/xml&ElementSetName=full&id=';
51+
appConfig.objectInfo.resourceXmlUrl = 'http://data.water-switch-on.eu/csw?request=GetRecordById&service=CSW&version=2.0.2&namespace=xmlns%28csw=http://www.opengis.net/cat/csw/2.0.2%29&resultType=results&outputSchema=http://www.isotc211.org/2005/gmd&outputFormat=application/xml&ElementSetName=full&id=';
5252

5353
appConfig.byod = {};
5454
//appConfig.byod.baseUrl = 'http://tl-243.xtr.deltares.nl/byod';
55-
appConfig.byod.baseUrl = 'http://switchon.cismet.de/sip-snapshot';
55+
//appConfig.byod.baseUrl = 'http://switchon.cismet.de/sip-snapshot';
56+
appConfig.byod.baseUrl = 'http://www.water-switch-on.eu/sip-webclient/byod/';
57+
5658

5759
appConfig.uploadtool = {};
5860
appConfig.uploadtool.baseUrl = 'http://dl-ng003.xtr.deltares.nl';

dist/scripts/sip-html5-resource-registration.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ angular.module(
574574
* Message text
575575
*/
576576
$scope.message = {};
577-
$scope.message.text = '<strong>Welcome to the SWITCH-ON tool for the registration of (hydrological) open-data in the <a href=\'http://www.water-switch-on.eu/sip-webclient/sip-beta/\' title=\'Find open data with the SIP BYOD Client\' target=\'_blank\'>SWITCH-ON Spatial Information Platform</a>!</strong> <br>Please provide some general information about the new dataset such as name, description, a (download) link and keywords. ';
577+
$scope.message.text = '<strong>Welcome to the SWITCH-ON tool for the registration of (hydrological) open-data in the <a href="'+AppConfig.byod.baseUrl+'" title="Find open data with the SIP BYOD Client" target="_blank">SWITCH-ON Spatial Information Platform</a>!</strong> <br>Please provide some general information about the new dataset such as name, description, a (download) link and keywords. ';
578578
$scope.message.icon = 'fa-info-circle';
579579
$scope.message.type = 'success';
580580

@@ -1290,8 +1290,8 @@ angular.module(
12901290

12911291
appConfig.cidsRestApi = {};
12921292
//appConfig.cidsRestApi.host = 'http://localhost:8890';
1293-
appConfig.cidsRestApi.host = 'http://switchon.cismet.de/legacy-rest1';
1294-
//appConfig.cidsRestApi.host = 'http://tl-243.xtr.deltares.nl/switchon_server_rest';
1293+
//appConfig.cidsRestApi.host = 'http://switchon.cismet.de/legacy-rest1';
1294+
appConfig.cidsRestApi.host = 'http://data.water-switch-on.eu/switchon_server_rest';
12951295

12961296
appConfig.searchService = {};
12971297
appConfig.searchService.username = 'admin@SWITCHON';
@@ -1320,11 +1320,13 @@ angular.module(
13201320
appConfig.searchService.username + ':' +
13211321
appConfig.searchService.password + '@' +
13221322
appConfig.searchService.host.replace(/.*?:\/\//g, '');
1323-
appConfig.objectInfo.resourceXmlUrl = 'http://tl-243.xtr.deltares.nl/csw?request=GetRecordById&service=CSW&version=2.0.2&namespace=xmlns%28csw=http://www.opengis.net/cat/csw/2.0.2%29&resultType=results&outputSchema=http://www.isotc211.org/2005/gmd&outputFormat=application/xml&ElementSetName=full&id=';
1323+
appConfig.objectInfo.resourceXmlUrl = 'http://data.water-switch-on.eu/csw?request=GetRecordById&service=CSW&version=2.0.2&namespace=xmlns%28csw=http://www.opengis.net/cat/csw/2.0.2%29&resultType=results&outputSchema=http://www.isotc211.org/2005/gmd&outputFormat=application/xml&ElementSetName=full&id=';
13241324

13251325
appConfig.byod = {};
13261326
//appConfig.byod.baseUrl = 'http://tl-243.xtr.deltares.nl/byod';
1327-
appConfig.byod.baseUrl = 'http://switchon.cismet.de/sip-snapshot';
1327+
//appConfig.byod.baseUrl = 'http://switchon.cismet.de/sip-snapshot';
1328+
appConfig.byod.baseUrl = 'http://www.water-switch-on.eu/sip-webclient/byod/';
1329+
13281330

13291331
appConfig.uploadtool = {};
13301332
appConfig.uploadtool.baseUrl = 'http://dl-ng003.xtr.deltares.nl';

dist/scripts/sip-html5-resource-registration.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/scripts/sip-html5-resource-registration.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)