Commit 6c2e9bc3 by Juho Juopperi

static html for anonymous adduser displays

1 parent 2ba134ab
Showing with 78 additions and 28 deletions
<!DOCTYPE html <?xml version="1.0" encoding="UTF-8" ?>
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:p="http://primefaces.org/ui" xmlns:shop="http://java.sun.com/jsf/composite/cditools/shop" xmlns:tools="http://java.sun.com/jsf/composite/cditools">
<h:body> <head>
<ui:composition template="/resources/templates/#{sessionHandler.adduserfullscreen}/template.xhtml"> <link type="text/css" rel="stylesheet"
href="/MoyaWeb/javax.faces.resource/theme.css.jsf?ln=primefaces-aristo" />
<ui:define name="content">
<h:form> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Default event - Adduser</title>
<meta name="description" content="Lippukauppa" />
<meta name="author" content="CodeCrew ry" />
<meta http-equiv="Content-Language" content="fi" />
<link rel="stylesheet" type="text/css"
href="/MoyaWeb/resources/templates/adduser/css/style.css" />
<link rel="stylesheet" type="text/css"
href="/MoyaWeb/resources/templates/adduser/css/general.css" />
</head>
<body>
<script type="text/javascript"
src="/MoyaWeb/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces&amp;v=5.0"></script>
<script type="text/javascript"
src="/MoyaWeb/javax.faces.resource/script/jquery.cookie.js.jsf"></script>
<div class="container top"></div>
<div class="container clearfix">
<div id="content" class="boxcenter">
<div> <div>
<h:panelGrid columns="2"> <table>
<h:panelGroup> <tbody>
<h1>#{i18n["adduser.welcome"]}</h1> <tr>
</h:panelGroup> <td>
<h:panelGroup> <h1>Welcome</h1>
</td>
<td>
<div style="width: 300px; margin: 0 auto;"> <div style="width: 300px; margin: 0 auto;">
<h:link styleClass="touchItem" outcome="/admin/adduser/newuser"> <a href="/MoyaWeb/admin/adduser/newuser.jsf" class="touchItem">
<div>#{i18n['adduser.newuser']}</div> <div>Create new user</div>
</h:link> </a> <span style="width: 6em;"> </span><a
<span style="width: 6em;"> &nbsb; href="/MoyaWeb/admin/adduser/login.jsf" class="touchItem">
</span> <div>Update profile picture</div>
<h:link styleClass="touchItem" outcome="/admin/adduser/login"> </a>
<div>#{i18n['adduser.update']}</div>
</h:link>
</div> </div>
</h:panelGroup> </td>
</h:panelGrid> </tr>
</tbody>
</table>
</div> </div>
</h:form>
</ui:define> </div>
</div>
<script>
$(document).ready(
function() {
$(window).resize(function() {
onResize();
});
function onResize() {
$('.boxcenter').css(
{
position : 'absolute',
left : ($(window).width() - $('.boxcenter')
.outerWidth()) / 2,
top : ($(window).height() - $('.boxcenter')
.outerHeight()) / 2
});
}
</ui:composition> // To initially run the function:
</h:body> onResize();
});
</script>
</body>
</html> </html>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!