Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e2a57f1a
authored
Apr 06, 2012
by
Juho Salli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eventlogger juttui
1 parent
b5600e66
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
96 additions
and
2 deletions
code/LanBortalWeb/WebContent/actionlog/messagelist.xhtml
code/LanBortalWeb/WebContent/actionlog/taskview.xhtml
code/LanBortalWeb/WebContent/resources/style/insomnia2/css/actionlog.css
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_fi.properties
code/LanBortalWeb/src/fi/insomnia/bortal/web/converter/ActionlogTaskTypeConverter.java
code/LanBortalWeb/WebContent/actionlog/messagelist.xhtml
View file @
e2a57f1
...
@@ -72,10 +72,16 @@
...
@@ -72,10 +72,16 @@
<f:facet
name=
"header"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{i18n['actionlog.message']}"
/>
<h:outputText
value=
"#{i18n['actionlog.message']}"
/>
</f:facet>
</f:facet>
<h:outputText
value=
"#{message.message}"
/>
<h:outputText
value=
"#{message.message}"
/>
</h:column>
</h:column>
<h:column>
<h:column>
x
<f:facet
name=
"header"
>
<h:outputText
value=
"#{i18n['actionlog.task']}"
/>
</f:facet>
<h:link
rendered=
"#{!empty message.state}"
>
X
</h:link>
</h:column>
</h:column>
</h:dataTable>
</h:dataTable>
</div>
</div>
...
...
code/LanBortalWeb/WebContent/actionlog/taskview.xhtml
0 → 100644
View file @
e2a57f1
<!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:users=
"http://java.sun.com/jsf/composite/cditools/user"
xmlns:tools=
"http://java.sun.com/jsf/composite/cditools"
xmlns:f=
"http://java.sun.com/jsf/core"
>
<h:body>
<ui:composition
template=
"/layout/#{sessionHandler.layout}/template.xhtml"
>
<f:metadata>
<!-- f:event type="preRenderView" listener="#{newsListView.initView}" /-->
</f:metadata>
<ui:define
name=
"content"
>
<h:outputStylesheet
library=
"style"
name=
"insomnia2/css/actionlog.css"
></h:outputStylesheet>
<h1>
Task: insert id
<!-- #{i18n['actionlog.messagelist.header']} -->
</h1>
<!-- <p>Mo #{i18n['actionlog.messagelist.description']} </p> -->
<table>
<tr>
<td><h:outputText
class=
"taskHeader"
value=
"Submit time/date: "
/></td>
<td><h:outputText
value=
"21.12.2012"
/></td>
</tr>
<tr>
<td><h:outputText
class=
"taskHeader"
value=
"Submitter: "
/></td>
<td><h:outputText
value=
"infopoika69"
/></td>
</tr>
<tr>
<td><h:outputText
class=
"taskHeader"
value=
"Target crew: "
/></td>
<td><h:outputText
value=
"net"
/></td>
</tr>
<tr>
<td><h:outputText
class=
"taskHeader"
value=
"State: "
/></td>
<td><h:outputText
value=
"odottaa nappaamista"
/></td>
</tr>
<tr>
<td><h:outputText
class=
"taskHeader"
value=
"Message: "
/></td>
<td><h:outputText
value=
"verkko ei toimi."
/></td>
</tr>
</table>
<div
class=
"clearfix"
></div>
<div
id=
"actionlog"
>
</div>
</ui:define>
</ui:composition>
</h:body>
</html>
\ No newline at end of file
code/LanBortalWeb/WebContent/resources/style/insomnia2/css/actionlog.css
View file @
e2a57f1
...
@@ -77,4 +77,10 @@
...
@@ -77,4 +77,10 @@
#actionlog
tr
.rowodd
{
#actionlog
tr
.rowodd
{
background-color
:
#9a9a9a
;
background-color
:
#9a9a9a
;
}
.taskHeader
{
color
:
#7DAC0C
;
font-size
:
120%
;
font-weight
:
bold
;
}
}
\ No newline at end of file
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_fi.properties
View file @
e2a57f1
This diff is collapsed.
Click to expand it.
code/LanBortalWeb/src/fi/insomnia/bortal/web/converter/ActionlogTaskTypeConverter.java
0 → 100644
View file @
e2a57f1
package
fi
.
insomnia
.
bortal
.
web
.
converter
;
import
javax.enterprise.context.RequestScoped
;
import
javax.faces.component.UIComponent
;
import
javax.faces.context.FacesContext
;
import
javax.faces.convert.Converter
;
import
javax.inject.Named
;
@Named
(
"taskTypeConverter"
)
@RequestScoped
public
class
ActionlogTaskTypeConverter
implements
Converter
{
@Override
public
Object
getAsObject
(
FacesContext
context
,
UIComponent
component
,
String
value
)
{
// TODO Auto-generated method stub
return
null
;
}
@Override
public
String
getAsString
(
FacesContext
context
,
UIComponent
component
,
Object
value
)
{
if
(
value
==
null
)
{
return
""
;
}
else
{
return
"x"
;
}
}
}
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