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 10f0d1ae
authored
Aug 31, 2013
by
Antti Tonkyra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tournament creation wizard i18nage
1 parent
14969b65
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
25 deletions
code/MoyaEar/EarContent/META-INF/application.xml
code/MoyaWeb/WebContent/tournaments/addTeam.xhtml
code/MoyaWeb/WebContent/tournaments/admin/createwizard.xhtml
code/MoyaWeb/WebContent/tournaments/index.xhtml
code/MoyaEar/EarContent/META-INF/application.xml
View file @
10f0d1a
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<application
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
<application
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd"
version=
"7"
>
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd"
version=
"7"
>
<display-name>
moya-ear
</display-name>
<display-name>
moya-ear
</display-name>
<module>
<module>
<ejb>
moya-beans-0.2.0.jar
</ejb>
<ejb>
moya-beans-0.2.0.jar
</ejb>
...
...
code/MoyaWeb/WebContent/tournaments/addTeam.xhtml
View file @
10f0d1a
code/MoyaWeb/WebContent/tournaments/admin/createwizard.xhtml
View file @
10f0d1a
...
@@ -13,29 +13,29 @@
...
@@ -13,29 +13,29 @@
<h:form>
<h:form>
<p:wizard
widgetVar=
"wiz"
flowListener=
"#{tournamentCreateView.onFlowProcess}"
>
<p:wizard
widgetVar=
"wiz"
flowListener=
"#{tournamentCreateView.onFlowProcess}"
>
<p:tab
id=
"selectGame"
title=
"
Select a game
"
>
<p:tab
id=
"selectGame"
title=
"
#{i18n['actionlog.tournaments.admin.select_a_game']}
"
>
<p:panel
header=
"Select a game"
>
<p:panel>
<h:messages
errorClass=
"error"
/>
<h:messages
errorClass=
"error"
/>
Select a game
<h2>
#{i18n['actionlog.tournaments.admin.select_a_game']}
</h2>
<p:selectOneMenu>
<p:selectOneMenu>
<f:selectItem
itemLabel=
""
/>
<f:selectItem
itemLabel=
""
/>
<f:selectItem
itemLabel=
"spurdo spärde"
/>
<f:selectItem
itemLabel=
"spurdo spärde"
/>
<f:selectItem
itemLabel=
"cockmaster"
/>
<f:selectItem
itemLabel=
"cockmaster"
/>
</p:selectOneMenu>
</p:selectOneMenu>
<h2>
Create new game
</h2>
<h2>
#{i18n['actionlog.tournaments.admin.create_a_game']}
</h2>
<h:panelGrid
columns=
"2"
>
<h:panelGrid
columns=
"2"
>
<h:outputText
value=
"
Name
"
/>
<h:outputText
value=
"
#{i18n['actionlog.tournaments.admin.game_name']}
"
/>
<h:outputText
value=
"
Description
"
/>
<h:outputText
value=
"
#{i18n['actionlog.tournaments.admin.game_description']}
"
/>
<p:inputText
/>
<p:inputText
/>
<p:inputText
/>
<p:inputText
/>
<h:outputText
value=
"
Upload image
"
/>
<h:outputText
value=
"
#{i18n['actionlog.tournaments.admin.upload_game_image']}
"
/>
<h:outputText
value=
""
/>
<h:outputText
value=
""
/>
<p:fileUpload
mode=
"simple"
/>
<p:fileUpload
mode=
"simple"
/>
...
@@ -43,10 +43,10 @@
...
@@ -43,10 +43,10 @@
</p:panel>
</p:panel>
</p:tab>
</p:tab>
<p:tab
id=
"selectRuleset"
title=
"
Select a ruleset
"
>
<p:tab
id=
"selectRuleset"
title=
"
#{i18n['actionlog.tournaments.admin.rules']}
"
>
<p:panel
header=
"Select a ruleset"
>
<p:panel>
<h:messages
errorClass=
"error"
/>
<h:messages
errorClass=
"error"
/>
Select a ruleset
<h2>
#{i18n['actionlog.tournaments.admin.select_a_ruleset']}
</h2>
<p:selectOneMenu>
<p:selectOneMenu>
<f:selectItem
itemLabel=
""
/>
<f:selectItem
itemLabel=
""
/>
<f:selectItem
itemLabel=
"Pro-rules"
/>
<f:selectItem
itemLabel=
"Pro-rules"
/>
...
@@ -54,39 +54,38 @@
...
@@ -54,39 +54,38 @@
</p:selectOneMenu>
</p:selectOneMenu>
<br
/>
<br
/>
<h2>
Create new ruleset
</h2>
<h2>
#{i18n['actionlog.tournaments.admin.create_new_ruleset']}
</h2>
<h:outputText
value=
"
Rule Name
"
/>
<h:outputText
value=
"
#{i18n['actionlog.tournaments.ruleset_name']}
"
/>
<br
/>
<br
/>
<p:inputText
/>
<p:inputText
/>
<br
/>
<br
/>
<h:outputText
value=
"
Description
"
/>
<h:outputText
value=
"
#{i18n['actionlog.tournaments.ruleset_description']}
"
/>
<br
/>
<br
/>
<p:inputTextarea
/>
<p:inputTextarea
/>
</p:panel>
</p:panel>
</p:tab>
</p:tab>
<p:tab
id=
"selectRegTimes"
title=
"
Set registration times
"
>
<p:tab
id=
"selectRegTimes"
title=
"
#{i18n['actionlog.tournaments.admin.set_time_constraints']}
"
>
<p:panel
header=
"Select registration times"
>
<p:panel>
<h:messages
errorClass=
"error"
/>
<h:messages
errorClass=
"error"
/>
<h2>
Registration
</h2>
<h2>
#{i18n['actionlog.tournaments.admin.registration_time_constraints']}
</h2>
<h:panelGrid
columns=
"2"
>
<h:panelGrid
columns=
"2"
>
<h:outputText
value=
"
Opens
"
/>
<h:outputText
value=
"
#{i18n['actionlog.tournaments.registration_opens']}
"
/>
<h:outputText
value=
"
Closees
"
/>
<h:outputText
value=
"
#{i18n['actionlog.tournaments.registration_closes']}
"
/>
<p:calendar
stepHour=
"1"
stepMinute=
"10"
pattern=
"dd.MM.yyyy hh:mm"
/>
<p:calendar
stepHour=
"1"
stepMinute=
"10"
pattern=
"dd.MM.yyyy hh:mm"
/>
<p:calendar
stepHour=
"1"
stepMinute=
"10"
pattern=
"dd.MM.yyyy hh:mm"
/>
<p:calendar
stepHour=
"1"
stepMinute=
"10"
pattern=
"dd.MM.yyyy hh:mm"
/>
</h:panelGrid>
</h:panelGrid>
<h2>
Event Start time
</h2>
<h2>
#{i18n['actionlog.tournaments.admin.begin_time_constraints']}
</h2>
<h:panelGrid>
<h:panelGrid>
<h:outputText
value=
"Start time"
/>
<h:outputText
value=
"Start time"
/>
<p:calendar
stepHour=
"1"
stepMinute=
"10"
pattern=
"dd.MM.yyyy hh:mm"
/>
<p:calendar
stepHour=
"1"
stepMinute=
"10"
pattern=
"dd.MM.yyyy hh:mm"
/>
</h:panelGrid>
</h:panelGrid>
</p:panel>
</p:panel>
<div
style=
"float: right;"
>
<div
style=
"float: right;"
>
<p:commandButton
icon=
"apply"
value=
"
Create event
"
/>
<p:commandButton
icon=
"apply"
value=
"
#{i18n['actionlog.tournaments.admin.create_tournament']}
"
/>
</div>
</div>
</p:tab>
</p:tab>
</p:wizard>
</p:wizard>
</h:form>
</h:form>
...
...
code/MoyaWeb/WebContent/tournaments/index.xhtml
View file @
10f0d1a
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