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 8dd484b9
authored
Apr 28, 2014
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettify login
1 parent
de441eb5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
code/MoyaWeb/WebContent/resources/templates/template1/template.xhtml
code/MoyaWeb/WebContent/resources/templates/template1/template.xhtml
View file @
8dd484b
...
@@ -143,16 +143,24 @@
...
@@ -143,16 +143,24 @@
<aside
class=
"flex1"
>
<aside
class=
"flex1"
>
<div
id=
"aside"
>
<div
id=
"aside"
>
<div
class=
"ui-widget-header"
>
Login
</div>
<div
class=
"ui-widget-header"
>
Login
</div>
<div
class=
"ui-widget-content"
style=
"text-align: center"
>
<div
class=
"ui-widget-content"
style=
"text-align: center
;
"
>
<ui:fragment
rendered=
"#{sessionHandler.loggedIn}"
>
<ui:fragment
rendered=
"#{sessionHandler.loggedIn}"
>
<h:outputText
value=
"#{i18n['template.loggedInAs']}"
/>
<h:outputText
value=
"#{i18n['template.loggedInAs']}"
/>
<br
/>
<br
/>
<b><h:outputText
value=
"#{sessionHandler.currentUser.nick}"
/></b>
<b><h:outputText
value=
"#{sessionHandler.currentUser.nick}"
/></b>
</ui:fragment>
</ui:fragment>
<div>
<ui:fragment
rendered=
"#{!sessionHandler.loggedIn}"
>
<tools:loginLogout
/>
<div
style=
"text-align: left; padding: 0.7em;"
>
<h:form>
<p:inputText
styleClass=
"form"
id=
"linelogin"
value=
"#{authView.login}"
/>
<br
/>
<p:password
styleClass=
"form"
id=
"linepwd"
value=
"#{authView.password}"
/>
<br
/>
<p:commandButton
styleClass=
"button"
id=
"onelinesubmit"
action=
"#{authView.executeLoginAction}"
ajax=
"false"
value=
"#{i18n['login.submit']}"
/>
</h:form>
</div>
</div>
</ui:fragment>
</div>
</div>
<br
/>
<br
/>
...
...
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