Some small changes
This commit is contained in:
parent
ee19d84434
commit
e63a4cc086
3 changed files with 4 additions and 4 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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){
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue