Skip to content
Snippets Groups Projects
Commit b206c074 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

old jsf files removed

parent dc29c941
No related branches found
No related tags found
1 merge request!5Frontend refactor
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<title>Login Error</title>
</h:head>
<h:body>
<h2>Invalid user name or password.</h2>
<p>Please enter a user name or password that is authorized to access this
application. For this application, this means a user that has been
created in the <code>file</code> realm and has been assigned to the
<em>group</em> of <code>TutorialUser</code>.</p>
<h:link outcome="login">Return to login page</h:link>
</h:body>
</html>
\ No newline at end of file
<?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:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<f:view contentType="text/html">
<h:body>
<h:form id="default_form">
<center>
<h:outputText id="status" value="#{galaxyMB.status}"/>
</center>
</h:form>
</h:body>
</f:view>
</html>
<?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:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<f:view contentType="text/html">
<h:head>
<h:outputStylesheet library="css" name="style.css"/>
<script type="text/javascript">
//<![CDATA[
function init(){
var $_GET = {};
document.location.search.replace(/\??(?:([^=]+)=([^&]*)&?)/g, function() {
function decode(s) {
return decodeURIComponent(s.split("+").join(" "));
}
$_GET[decode(arguments[1])] = decode(arguments[2]);
});
document.getElementById('default_form:resource').value=$_GET["resource"];
document.getElementById('default_form:type').value=$_GET["type"];
refresh();
}
function redirect(){
var address = document.getElementById('default_form:link').href;
var desc = document.getElementById('default_form:desc').innerHTML;
if (desc!=null && desc!="") {
window.location.href=address;
}
}
//]]>
</script>
</h:head>
<h:body onload="init();" >
<h:form id="default_form">
<h:inputHidden id="resource" value="#{miriamMB.resource}"/>
<h:inputHidden id="type" value="#{miriamMB.type}"/>
<p:remoteCommand name="refresh" update="text,link" oncomplete="redirect();"/>
<center>
<h:outputText id="text" value="#{miriamMB.message}"/>
<h:outputLink id="link" value="#{miriamMB.redirectLink}">
<h:outputText id="desc" value="#{miriamMB.linkDescription}">
</h:outputText>
</h:outputLink>
</center>
</h:form>
</h:body>
</f:view>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment