Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Antti Väyrynen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6c2e9bc3
authored
Jun 06, 2014
by
Juho Juopperi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
static html for anonymous adduser displays
1 parent
2ba134ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
34 deletions
code/MoyaWeb/WebContent/admin/adduser/index.html
code/MoyaWeb/WebContent/admin/adduser/index.html
View file @
6c2e9bc
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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"
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>
<ui:composition
template=
"/resources/templates/#{sessionHandler.adduserfullscreen}/template.xhtml"
>
<ui:define
name=
"content"
>
<h:form>
<div>
<h:panelGrid
columns=
"2"
>
<h:panelGroup>
<h1>
#{i18n["adduser.welcome"]}
</h1>
</h:panelGroup>
<h:panelGroup>
<div
style=
"width: 300px; margin: 0 auto;"
>
<h:link
styleClass=
"touchItem"
outcome=
"/admin/adduser/newuser"
>
<div>
#{i18n['adduser.newuser']}
</div>
</h:link>
<span
style=
"width: 6em;"
>
&nbsb;
</span>
<h:link
styleClass=
"touchItem"
outcome=
"/admin/adduser/login"
>
<div>
#{i18n['adduser.update']}
</div>
</h:link>
</div>
</h:panelGroup>
</h:panelGrid>
</div>
</h:form>
</ui:define>
</ui:composition>
</h:body>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/MoyaWeb/javax.faces.resource/theme.css.jsf?ln=primefaces-aristo"
/>
<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&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>
<table>
<tbody>
<tr>
<td>
<h1>
Welcome
</h1>
</td>
<td>
<div
style=
"width: 300px; margin: 0 auto;"
>
<a
href=
"/MoyaWeb/admin/adduser/newuser.jsf"
class=
"touchItem"
>
<div>
Create new user
</div>
</a>
<span
style=
"width: 6em;"
>
</span><a
href=
"/MoyaWeb/admin/adduser/login.jsf"
class=
"touchItem"
>
<div>
Update profile picture
</div>
</a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</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
});
}
// To initially run the function:
onResize
();
});
</script>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment