Some small changes

This commit is contained in:
Ziver Koc 2015-07-28 12:06:51 +00:00
parent ee19d84434
commit e63a4cc086
3 changed files with 4 additions and 4 deletions

View file

@ -32,6 +32,7 @@ public class WebAdminServer {
//http.setPage("status", new StatusPage(pluginManager));
//http.setPage("service", new ServicePage(pluginManager));
//http.setPage("servicestatus", new ServiceStatusPage(pluginManager));
//http.setPage("config", new ConfigPage(pluginManager));
http.setDefaultPage(new HttpFilePage(FileUtil.find("WebContent/")));
http.start();

View file

@ -47,8 +47,8 @@ public class ServicePage implements WAPage {
public static final String NAVIGATION_NAME = "Services";
private static final String TMPL_FILE = "WebContent/page/ServicePage.tmpl";
private ArrayList<WAService> services;
private ServiceStatusPage rootStatusPage;
private ArrayList<WAService> services;
private ArrayList<ServiceStatusPage> statusPages;
public ServicePage(PluginManager pluginManager){

View file

@ -32,12 +32,11 @@ public class WANavigation implements Iterable{
private static HashMap<Integer, WANavigation> navMap = new HashMap<Integer, WANavigation>();
private static WANavigation rootNav = new WANavigation(null);
private int id;
private final int id;
private String url;
private String name;
private ArrayList<WANavigation> subNav;
private WANavigation parentNav;
private ArrayList<WANavigation> subNav;
private Object resource;