* Licensed 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.
public class Home extends Page {
public static final String HREF = "/gui/home";
-
- public Home(final AAF_GUI gui) throws APIException, IOException {
+
+ public Home(final AAF_GUI gui) throws APIException, IOException {
super(gui.env,"Home",HREF, NO_FIELDS, new NamedCode(false,"content") {
@Override
public void code(final Cache<HTMLGen> cache, final HTMLGen htmlGen) throws APIException, IOException {
final Mark pages = htmlGen.divID("Pages");
htmlGen.leaf(H3).text("Choose from the following:").end();
for(String[] mi : MENU_ITEMS) {
- htmlGen.leaf(A,"href="+mi[0]).text(mi[1]).end();
+ htmlGen.leaf(A,"href="+mi[0]).text(mi[1]).end();
}
htmlGen.end(pages);
}
});
}
-
+
}