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 1208da1a
authored
Feb 26, 2015
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui-korjailuja
1 parent
9115ca8b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
23 deletions
code/moya-web/WebContent/actionlog/index.xhtml
code/moya-web/WebContent/info/viplist.xhtml
code/moya-web/WebContent/vip/viplist.xhtml
code/moya-web/WebContent/actionlog/index.xhtml
View file @
1208da1
...
...
@@ -27,7 +27,7 @@
<h:outputText
value=
"#{i18n['actionlog.create.taskradio']}"
/>
<h:outputText
/>
<p:inputText
value=
"#{actionLogCreateView.message}"
style=
"width: 4
00px;"
/>
<p:inputText
area
value=
"#{actionLogCreateView.message}"
style=
"width: 5
00px;"
/>
<p:selectBooleanCheckbox
value=
"#{actionLogCreateView.task}"
/>
<h:commandButton
class=
"sendbutton"
action=
"#{actionLogCreateView.send}"
...
...
@@ -62,7 +62,7 @@
paginator=
"true"
rows=
"30"
paginatorTemplate=
"{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate=
"30,50,100"
>
<p:column>
<p:column
style=
"width: 130px;"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{i18n['actionlog.time']}"
/>
</f:facet>
...
...
@@ -71,27 +71,27 @@
timeZone=
"#{sessionHandler.timezone}"
/>
</h:outputText>
</p:column>
<p:column>
<p:column
style=
"width: 80px;"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{i18n['actionlog.user']}"
/>
</f:facet>
<h:outputText
value=
"#{message.user.nick}"
/>
</p:column>
<p:column>
<p:column
>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{i18n['actionlog.message']}"
/>
</f:facet>
<h:outputText
value=
"#{message.message}"
/>
</p:column>
<p:column>
<p:column
style=
"width: 50px;"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{i18n['actionlog.state']}"
/>
</f:facet>
<h:outputText
value=
"#{i18n[message.state.key]}"
/>
</p:column>
<p:column>
<p:column
style=
"width: 90px;"
>
<h:link
rendered=
"#{!empty message.state}"
outcome=
"taskview"
>
<f:param
name=
"id"
value=
"#{message.id}"
/>
Näytä tehtävä
...
...
code/moya-web/WebContent/info/viplist.xhtml
View file @
1208da1
...
...
@@ -15,23 +15,31 @@
<h:form
id=
"vipform"
>
<p:dataTable
id=
"vip"
value=
"#{vipListView.viplist}"
widgetVar=
"viplist"
styleClass=
"moya_datatable4"
var=
"vip"
filteredValue=
"#{vipListView.filteredVips}"
>
<f:facet
name=
"header"
>
<
!--
f:facet name="header">
<p:outputPanel>
<h:outputText value="Search all fields:" />
<p:inputText id="globalFilter" onkeyup="PF('viplist').filter()" style="width:150px" placeholder="Enter keyword" />
</p:outputPanel>
</f:facet>
<p:column
headerText=
"#{i18n['vip.hostsName']}"
filterBy=
"#{vip.host.wholeName}"
filterMatchMode=
"contains"
>
</f:facet -->
<!-- p:column headerText="#{i18n['vip.hostsName']}" filterBy="#{vip.host.wholeName}" filterMatchMode="contains" style="width: 140px;" -->
<p:column
headerText=
"#{i18n['vip.hostsName']}"
style=
"width: 140px;"
>
<h:outputText
id=
"viphostsname"
value=
"#{vip.host.wholeName}"
/>
<p:tooltip
id=
"viphostsnamephone"
for=
"viphostsname"
value=
"#{vip.host.phone}"
/>
</p:column>
<p:column
headerText=
"#{i18n['vip.description']}"
filterBy=
"#{vip.description}"
filterMatchMode=
"contains"
>
<!-- p:column headerText="#{i18n['vip.description']}" filterBy="#{vip.description}" filterMatchMode="contains" -->
<p:column
headerText=
"#{i18n['vip.description']}"
style=
"width: 170px;"
>
<h:outputText
id=
"vipdescr"
value=
"#{vip.shortDisplayDescr}"
title=
"#{vip.description}"
/>
<p:tooltip
id=
"toolTipVipdescr"
for=
"vipdescr"
value=
"#{vip.description}"
/>
</p:column>
<p:column
headerText=
"#{i18n['vip.description']}"
>
<h:outputText
value=
"#{vip.description}"
/>
</p:column>
<p:column
filterBy=
"#{vip.searchableProductnames}"
filterMatchMode=
"contains"
headerText=
"#{i18n['vip.products']} | #{i18n['vip.productQuantity']} | #{i18n['vip.productDelivered']}"
>
<!-- p:column filterBy="#{vip.searchableProductnames}" filterMatchMode="contains" headerText="#{i18n['vip.products']} | #{i18n['vip.productQuantity']} | #{i18n['vip.productDelivered']}" -->
<p:column
headerText=
"#{i18n['vip.products']} | #{i18n['vip.productQuantity']} | #{i18n['vip.productDelivered']}"
>
<h:dataTable
border=
"0"
var=
"prod"
value=
"#{vip.products}"
>
<p:column>
<h:outputText
title=
"#{prod.notes}"
value=
"#{prod.productName}"
/>
...
...
@@ -54,8 +62,8 @@
<p:ajax
event=
"dialogReturn"
listener=
"#{vipListView.updateViplist()}"
update=
"vip"
/>
</p:commandButton>
</p:column>
<p:column>
<h:link
outcome=
"/vip/edit"
value=
"#{i18n['vip.edit']}"
>
<p:column
style=
"width: 90px;"
>
<h:link
outcome=
"/vip/edit"
value=
"#{i18n['vip.edit']}"
>
<f:param
name=
"id"
value=
"#{vip.id}"
/>
</h:link>
</p:column>
...
...
code/moya-web/WebContent/vip/viplist.xhtml
View file @
1208da1
...
...
@@ -14,24 +14,34 @@
<h:link
rendered=
"#{vipListView.canCreate()}"
outcome=
"/vip/create"
value=
"#{i18n['vip.createNew']}"
/>
<br
/>
<h:form
id=
"vipform"
>
<p:dataTable
id=
"vip"
value=
"#{vipListView.viplist}"
widgetVar=
"viplist"
styleClass=
"moya_datatable4"
var=
"vip"
filteredValue=
"#{vipListView.filteredVips}"
>
<f:facet
name=
"header"
>
<
!--
f:facet name="header">
<p:outputPanel>
<h:outputText value="Search all fields:" />
<p:inputText id="globalFilter" onkeyup="PF('viplist').filter()" style="width:150px" placeholder="Enter keyword" />
</p:outputPanel>
</f:facet>
<p:column
headerText=
"#{i18n['vip.hostsName']}"
filterBy=
"#{vip.host.wholeName}"
filterMatchMode=
"contains"
>
<h:outputText
value=
"#{vip.host.wholeName}"
/>
</f:facet -->
<!-- p:column headerText="#{i18n['vip.hostsName']}" filterBy="#{vip.host.wholeName}" filterMatchMode="contains" style="width: 140px;" -->
<p:column
headerText=
"#{i18n['vip.hostsName']}"
style=
"width: 140px;"
>
<h:outputText
id=
"viphostsname"
value=
"#{vip.host.wholeName}"
/>
<p:tooltip
id=
"viphostsnamephone"
for=
"viphostsname"
value=
"#{vip.host.phone}"
/>
</p:column>
<p:column
headerText=
"#{i18n['vip.description']}"
filterBy=
"#{vip.description}"
filterMatchMode=
"contains"
>
<!-- p:column headerText="#{i18n['vip.description']}" filterBy="#{vip.description}" filterMatchMode="contains" -->
<p:column
headerText=
"#{i18n['vip.description']}"
style=
"width: 170px;"
>
<h:outputText
id=
"vipdescr"
value=
"#{vip.shortDisplayDescr}"
title=
"#{vip.description}"
/>
<p:tooltip
id=
"toolTipVipdescr"
for=
"vipdescr"
value=
"#{vip.description}"
/>
</p:column>
<p:column
headerText=
"#{i18n['vip.description']}"
>
<h:outputText
value=
"#{vip.description}"
/>
</p:column>
<p:column
filterBy=
"#{vip.searchableProductnames}"
filterMatchMode=
"contains"
headerText=
"#{i18n['vip.products']} | #{i18n['vip.productQuantity']} | #{i18n['vip.productDelivered']}"
>
<!-- p:column filterBy="#{vip.searchableProductnames}" filterMatchMode="contains" headerText="#{i18n['vip.products']} | #{i18n['vip.productQuantity']} | #{i18n['vip.productDelivered']}" -->
<p:column
headerText=
"#{i18n['vip.products']} | #{i18n['vip.productQuantity']} | #{i18n['vip.productDelivered']}"
>
<h:dataTable
border=
"0"
var=
"prod"
value=
"#{vip.products}"
>
<p:column>
<h:outputText
title=
"#{prod.notes}"
value=
"#{prod.productName}"
/>
...
...
@@ -54,8 +64,8 @@
<p:ajax
event=
"dialogReturn"
listener=
"#{vipListView.updateViplist()}"
update=
"vip"
/>
</p:commandButton>
</p:column>
<p:column>
<h:link
outcome=
"/vip/edit"
value=
"#{i18n['vip.edit']}"
>
<p:column
style=
"width: 90px;"
>
<h:link
outcome=
"/vip/edit"
value=
"#{i18n['vip.edit']}"
>
<f:param
name=
"id"
value=
"#{vip.id}"
/>
</h:link>
</p:column>
...
...
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