diff --git a/src/java/DmWebPortal/web/templates/dmAdminOnlyTemplate.xhtml b/src/java/DmWebPortal/web/templates/dmAdminOnlyTemplate.xhtml deleted file mode 100644 index 26a799796286381e8ca2c708a8b66ec80a1a98c3..0000000000000000000000000000000000000000 --- a/src/java/DmWebPortal/web/templates/dmAdminOnlyTemplate.xhtml +++ /dev/null @@ -1,10 +0,0 @@ -<!--<?xml version='1.0' encoding='UTF-8' ?>--> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" - xmlns:ui="http://java.sun.com/jsf/facelets" - xmlns:h="http://java.sun.com/jsf/html"> - - <h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/> - <h:outputScript library="js/common" name="forwardNotAuthorized.js" rendered="#{!loginController.admin}"/> - <ui:include src="/templates/contentViewTemplate4x3.xhtml"/> -</html> \ No newline at end of file diff --git a/src/java/DmWebPortal/web/templates/dmRestrictedTemplate.xhtml b/src/java/DmWebPortal/web/templates/dmRestrictedTemplate.xhtml deleted file mode 100644 index 72180d70da0465f096be716e9b00ad77ba1fdb16..0000000000000000000000000000000000000000 --- a/src/java/DmWebPortal/web/templates/dmRestrictedTemplate.xhtml +++ /dev/null @@ -1,10 +0,0 @@ -<!--<?xml version='1.0' encoding='UTF-8' ?>--> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" - xmlns:ui="http://java.sun.com/jsf/facelets" - xmlns:h="http://java.sun.com/jsf/html"> - - <h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/> - <h:outputScript library="js/common" name="forwardNotAuthorized.js" rendered="#{!loginController.admin and experimentController.isRestricted()}"/> - <ui:include src="/templates/contentViewTemplate4x3.xhtml"/> -</html> \ No newline at end of file