package com.dianping.cat.report.view;

import org.unidal.web.mvc.Page;

import com.dianping.cat.report.ReportPage;
import com.dianping.cat.system.SystemPage;

public class NavigationBar {
	public Page[] getSystemPages() {
		return new Page[] {

		SystemPage.ALARM,

		SystemPage.CONFIG,

		SystemPage.LOGIN

		};
	}

	public Page[] getVisiblePages() {
		return new Page[] {

		ReportPage.METRIC,

		ReportPage.WEB,

		ReportPage.APP,

		ReportPage.TRANSACTION,

		ReportPage.EVENT,

		ReportPage.PROBLEM,

		ReportPage.HEARTBEAT,

		ReportPage.CROSS,

		ReportPage.CACHE,

		ReportPage.DEPENDENCY,

		ReportPage.STATE,

		ReportPage.MATRIX,
		
		ReportPage.NETWORK,

		ReportPage.CDN,

		ReportPage.SYSTEM,

		ReportPage.ALTERATION,

		ReportPage.STATISTICS,
		
		SystemPage.ALARM,

		ReportPage.LOGVIEW, };
	}
}

@@ -408,32 +408,8 @@
 age.
-METRIC,%0D%0A%0D%0A%09%09ReportPage.
 WEB,
@@ -428,16 +428,40 @@
 Page.APP
+,%0D%0A%0D%0A%09%09ReportPage.METRIC
 ,%0D%0A%0D%0A%09%09R
@@ -680,18 +680,16 @@
 ATRIX,%0D%0A
-%09%09
 %0D%0A%09%09Repo
@@ -809,33 +809,8 @@
 CS,%0D
-%0A%09%09%0D%0A%09%09SystemPage.ALARM,%0D
 %0A%0D%0A%09
@@ -832,10 +832,14 @@
 VIEW
-, 
+%0D%0A%0D%0A%09%09
 %7D;%0D%0A

modify the navigation bar