/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package cz.muni.fi.pa165.library.web_layer.adminPages;
import cz.muni.fi.pa165.library.web_layer.adminPages.Book.ShowAllBook;
import cz.muni.fi.pa165.library.web_layer.adminPages.RegistrationLibrarianForm;
import cz.muni.fi.pa165.library.web_layer.adminPages.Borrow.ShowAllBorrow;
import cz.muni.fi.pa165.library.web_layer.adminPages.Reader.ShowAllReader;
import cz.muni.fi.pa165.library.web_layer.adminPages.reservation.ShowAllReservation;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.panel.Panel;
/**
*
* @author dulinka
*/
public class MenuAdminPanel extends Panel {
public MenuAdminPanel(String id) {
super(id);
add(new BookmarkablePageLink<>("addAllBook", ShowAllBook.class));
add(new BookmarkablePageLink<>("addAllReservation", ShowAllReservation.class));
add(new BookmarkablePageLink<>("addAllReader", ShowAllReader.class));
add(new BookmarkablePageLink<>("addAllBorrow", ShowAllBorrow.class));
add(new BookmarkablePageLink("registrationLink", RegistrationLibrarianForm.class));
}
}