You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/06/13 01:20:39 UTC
svn commit: r1492497 - in /incubator/climate/trunk/rcmet/src/main/ui/app:
index.html js/app.js
Author: joyce
Date: Wed Jun 12 23:20:38 2013
New Revision: 1492497
URL: http://svn.apache.org/r1492497
Log:
Resolves CLIMATE-105 - Remove RCMES references from UI code
Modified:
incubator/climate/trunk/rcmet/src/main/ui/app/index.html
incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js
Modified: incubator/climate/trunk/rcmet/src/main/ui/app/index.html
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/index.html?rev=1492497&r1=1492496&r2=1492497&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/index.html (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/index.html Wed Jun 12 23:20:38 2013
@@ -1,9 +1,9 @@
<!doctype html>
-<html lang="en" ng-app="rcmes">
+<html lang="en" ng-app="ocw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>RCMET UI</title>
+ <title>OCW UI</title>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/bootstrap-responsive.min.css"/>
<link rel="stylesheet" href="css/jasny-bootstrap.min.css"/>
@@ -76,7 +76,7 @@
</div>
</bootstrap-modal>
- <h1 id="rcmetHeader">RCMET UI</h1>
+ <h1 id="rcmetHeader">Apache Open Climate Workbench UI</h1>
<div ng-controller="WorldMapCtrl">
<leaflet-map id="map"></leaflet-map>
</div>
Modified: incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js?rev=1492497&r1=1492496&r2=1492497&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js Wed Jun 12 23:20:38 2013
@@ -4,11 +4,11 @@
// names isolated to a single location as well as simplifying future init code.
var App = App || {};
-App.Services = angular.module('rcmes.services', []);
-App.Directives = angular.module('rcmes.directives', []);
-App.Controllers = angular.module('rcmes.controllers', []);
+App.Services = angular.module('ocw.services', []);
+App.Directives = angular.module('ocw.directives', []);
+App.Controllers = angular.module('ocw.controllers', []);
-angular.module('rcmes', ['rcmes.services', 'rcmes.directives', 'rcmes.controllers', 'ui.date']).
+angular.module('ocw', ['ocw.services', 'ocw.directives', 'ocw.controllers', 'ui.date']).
config(['$routeProvider', function($routeProvider) {
$routeProvider.
when('/obs', {templateUrl: 'partials/selectObservation.html', controller: 'ObservationSelectCtrl'}).