You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2016/02/08 11:20:51 UTC
ignite git commit: IGNITE-843 changed case
Repository: ignite
Updated Branches:
refs/heads/ignite-843-rc2 91e998c99 -> ef8f70b6c
IGNITE-843 changed case
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/ef8f70b6
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/ef8f70b6
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/ef8f70b6
Branch: refs/heads/ignite-843-rc2
Commit: ef8f70b6ce7df2140c1916adfea758a6944126ce
Parents: 91e998c
Author: Andrey <an...@gridgain.com>
Authored: Mon Feb 8 17:20:37 2016 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Mon Feb 8 17:20:37 2016 +0700
----------------------------------------------------------------------
.../js/app/modules/branding/Logo.provider.js | 42 +++++++++++++++++
.../js/app/modules/branding/Terms.provider.js | 41 +++++++++++++++++
.../js/app/modules/branding/logo.provider.js | 42 -----------------
.../js/app/modules/branding/terms.provider.js | 41 -----------------
.../js/app/modules/navbar/Userbar.directive.js | 48 --------------------
.../js/app/modules/navbar/userbar.directive.js | 48 ++++++++++++++++++++
6 files changed, 131 insertions(+), 131 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/ef8f70b6/modules/control-center-web/src/main/js/app/modules/branding/Logo.provider.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/branding/Logo.provider.js b/modules/control-center-web/src/main/js/app/modules/branding/Logo.provider.js
new file mode 100644
index 0000000..fcefc7c
--- /dev/null
+++ b/modules/control-center-web/src/main/js/app/modules/branding/Logo.provider.js
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export default ['IgniteLogo', [function() {
+ let poweredBy = false;
+
+ let url = '/images/ignite-logo.png';
+
+ let title = 'Management console for Apache Ignite';
+
+ this.url = (_url) => {
+ url = _url;
+
+ poweredBy = true;
+ };
+
+ this.title = (_title) => {
+ title = _title;
+ };
+
+ this.$get = [() => {
+ return {
+ url,
+ poweredBy,
+ title
+ };
+ }];
+}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/ef8f70b6/modules/control-center-web/src/main/js/app/modules/branding/Terms.provider.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/branding/Terms.provider.js b/modules/control-center-web/src/main/js/app/modules/branding/Terms.provider.js
new file mode 100644
index 0000000..c9c6009
--- /dev/null
+++ b/modules/control-center-web/src/main/js/app/modules/branding/Terms.provider.js
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export default ['IgniteTerms', [function() {
+ let _rows = [
+ 'Apache Ignite Web Console',
+ '© 2016 The Apache Software Foundation.',
+ 'Apache, Apache Ignite, the Apache feather and the Apache Ignite logo are trademarks of The Apache Software Foundation.'
+ ];
+
+ let _state;
+
+ this.footerRows = function(rows) {
+ _rows = rows;
+ };
+
+ this.termsState = function(state) {
+ _state = state;
+ };
+
+ this.$get = [function() {
+ return {
+ footerRows: _rows,
+ termsState: _state
+ };
+ }];
+}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/ef8f70b6/modules/control-center-web/src/main/js/app/modules/branding/logo.provider.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/branding/logo.provider.js b/modules/control-center-web/src/main/js/app/modules/branding/logo.provider.js
deleted file mode 100644
index fcefc7c..0000000
--- a/modules/control-center-web/src/main/js/app/modules/branding/logo.provider.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export default ['IgniteLogo', [function() {
- let poweredBy = false;
-
- let url = '/images/ignite-logo.png';
-
- let title = 'Management console for Apache Ignite';
-
- this.url = (_url) => {
- url = _url;
-
- poweredBy = true;
- };
-
- this.title = (_title) => {
- title = _title;
- };
-
- this.$get = [() => {
- return {
- url,
- poweredBy,
- title
- };
- }];
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/ef8f70b6/modules/control-center-web/src/main/js/app/modules/branding/terms.provider.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/branding/terms.provider.js b/modules/control-center-web/src/main/js/app/modules/branding/terms.provider.js
deleted file mode 100644
index c9c6009..0000000
--- a/modules/control-center-web/src/main/js/app/modules/branding/terms.provider.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export default ['IgniteTerms', [function() {
- let _rows = [
- 'Apache Ignite Web Console',
- '© 2016 The Apache Software Foundation.',
- 'Apache, Apache Ignite, the Apache feather and the Apache Ignite logo are trademarks of The Apache Software Foundation.'
- ];
-
- let _state;
-
- this.footerRows = function(rows) {
- _rows = rows;
- };
-
- this.termsState = function(state) {
- _state = state;
- };
-
- this.$get = [function() {
- return {
- footerRows: _rows,
- termsState: _state
- };
- }];
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/ef8f70b6/modules/control-center-web/src/main/js/app/modules/navbar/Userbar.directive.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/navbar/Userbar.directive.js b/modules/control-center-web/src/main/js/app/modules/navbar/Userbar.directive.js
deleted file mode 100644
index 0e94063..0000000
--- a/modules/control-center-web/src/main/js/app/modules/navbar/Userbar.directive.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export default ['igniteUserbar', [function() {
- return {
- restrict: 'A',
- controller: ['$rootScope', 'IgniteUserbar', function($root, IgniteUserbar) {
- const ctrl = this;
-
- ctrl.items = [
- {text: 'Profile', sref: 'settings.profile'},
- {text: 'Getting Started', click: 'gettingStarted.tryShow(true)'}
- ];
-
- const _rebuildSettings = (event, user) => {
- ctrl.items.splice(2);
-
- if (!user.becomeUsed && user.admin)
- ctrl.items.push({text: 'Admin Panel', sref: 'settings.admin'});
-
- ctrl.items.push(...IgniteUserbar);
-
- if (!user.becomeUsed)
- ctrl.items.push({text: 'Log Out', sref: 'logout'});
- };
-
- if ($root.user)
- _rebuildSettings(null, $root.user);
-
- $root.$on('user', _rebuildSettings);
- }],
- controllerAs: 'userbar'
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/ef8f70b6/modules/control-center-web/src/main/js/app/modules/navbar/userbar.directive.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/navbar/userbar.directive.js b/modules/control-center-web/src/main/js/app/modules/navbar/userbar.directive.js
new file mode 100644
index 0000000..0e94063
--- /dev/null
+++ b/modules/control-center-web/src/main/js/app/modules/navbar/userbar.directive.js
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export default ['igniteUserbar', [function() {
+ return {
+ restrict: 'A',
+ controller: ['$rootScope', 'IgniteUserbar', function($root, IgniteUserbar) {
+ const ctrl = this;
+
+ ctrl.items = [
+ {text: 'Profile', sref: 'settings.profile'},
+ {text: 'Getting Started', click: 'gettingStarted.tryShow(true)'}
+ ];
+
+ const _rebuildSettings = (event, user) => {
+ ctrl.items.splice(2);
+
+ if (!user.becomeUsed && user.admin)
+ ctrl.items.push({text: 'Admin Panel', sref: 'settings.admin'});
+
+ ctrl.items.push(...IgniteUserbar);
+
+ if (!user.becomeUsed)
+ ctrl.items.push({text: 'Log Out', sref: 'logout'});
+ };
+
+ if ($root.user)
+ _rebuildSettings(null, $root.user);
+
+ $root.$on('user', _rebuildSettings);
+ }],
+ controllerAs: 'userbar'
+ };
+}]];