ui: remove viewMetrics from instances/storage/system

Signed-off-by: Rohit Yadav <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8259c9ba
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8259c9ba
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8259c9ba

Branch: refs/heads/4.5
Commit: 8259c9ba3c1dbe058eed56cc0b3c8dc5c116e7e0
Parents: ea5aecb
Author: Rohit Yadav <[email protected]>
Authored: Mon Nov 23 11:45:58 2015 +0530
Committer: Rohit Yadav <[email protected]>
Committed: Mon Nov 23 11:45:58 2015 +0530

----------------------------------------------------------------------
 ui/scripts/instances.js | 13 -----------
 ui/scripts/storage.js   | 14 ------------
 ui/scripts/system.js    | 52 --------------------------------------------
 3 files changed, 79 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8259c9ba/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index 094957a..42f0815 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -292,19 +292,6 @@
                     }
                 },
                 snapshot: vmSnapshotAction({ listView: true }),
-                viewMetrics: {
-                    label: 'label.metrics',
-                    isHeader: true,
-                    addRow: false,
-                    action: {
-                        custom: cloudStack.uiCustom.metricsView({resource: 
'vms'})
-                    },
-                    messages: {
-                        notification: function (args) {
-                            return 'label.metrics';
-                        }
-                    }
-                },
             },
 
             dataProvider: function(args) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8259c9ba/ui/scripts/storage.js
----------------------------------------------------------------------
diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js
index 78826a3..d56835c 100644
--- a/ui/scripts/storage.js
+++ b/ui/scripts/storage.js
@@ -253,20 +253,6 @@
                             }
                         },
 
-                        viewMetrics: {
-                            label: 'label.metrics',
-                            isHeader: true,
-                            addRow: false,
-                            action: {
-                                custom: 
cloudStack.uiCustom.metricsView({resource: 'volumes'})
-                            },
-                            messages: {
-                                notification: function (args) {
-                                    return 'label.metrics';
-                                }
-                            }
-                        },
-
                         uploadVolume: {
                             isHeader: true,
                             label: 'label.upload.volume',

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8259c9ba/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 3aafd8d..6cd6450 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -7706,19 +7706,6 @@
                                         }
                                     }
                                 },
-                                viewMetrics: {
-                                    label: 'label.metrics',
-                                    isHeader: true,
-                                    addRow: false,
-                                    action: {
-                                        custom: 
cloudStack.uiCustom.metricsView({resource: 'zones'})
-                                    },
-                                    messages: {
-                                        notification: function (args) {
-                                            return 'label.metrics';
-                                        }
-                                    }
-                                },
                             },
                             
                             detailView: {
@@ -14385,19 +14372,6 @@
                                 });
                             }
                         },
-                        viewMetrics: {
-                            label: 'label.metrics',
-                            isHeader: true,
-                            addRow: false,
-                            action: {
-                                custom: 
cloudStack.uiCustom.metricsView({resource: 'clusters'})
-                            },
-                            messages: {
-                                notification: function (args) {
-                                    return 'label.metrics';
-                                }
-                            }
-                        }
                     },
                     
                     detailView: {
@@ -15636,19 +15610,6 @@
                                 }
                             }
                         },
-                        viewMetrics: {
-                            label: 'label.metrics',
-                            isHeader: true,
-                            addRow: false,
-                            action: {
-                                custom: 
cloudStack.uiCustom.metricsView({resource: 'hosts'})
-                            },
-                            messages: {
-                                notification: function (args) {
-                                    return 'label.metrics';
-                                }
-                            }
-                        }
                     },
                     detailView: {
                         name: "Host details",
@@ -17455,19 +17416,6 @@
                                 }
                             }
                         },
-                        viewMetrics: {
-                            label: 'label.metrics',
-                            isHeader: true,
-                            addRow: false,
-                            action: {
-                                custom: 
cloudStack.uiCustom.metricsView({resource: 'storagepool'})
-                            },
-                            messages: {
-                                notification: function (args) {
-                                    return 'label.metrics';
-                                }
-                            }
-                        }
                     },
                     
                     detailView: {

Reply via email to