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 e65c38cb
authored
May 11, 2013
by
Petri Jarvisalo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tournament wizard
1 parent
6dedebc5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
132 additions
and
67 deletions
code/MoyaWeb/WebContent/resources/templates/template1/css/style.css
code/MoyaWeb/WebContent/tournaments/admin/createwizard.xhtml
code/MoyaWeb/WebContent/tournaments/index.xhtml
code/MoyaWeb/WebContent/resources/templates/template1/css/style.css
View file @
e65c38c
.ui-widget
,
.ui-widget
.ui-widget
,
.ui-button-text
{
.ui-widget
,
.ui-widget
.ui-widget
,
.ui-button-text
{
font-size
:
90%
!important
;
}
...
...
@@ -13,7 +11,6 @@
color
:
#101D27
;
font-style
:
italic
;
font-weight
:
lighter
;
}
.center
h1
{
...
...
@@ -44,13 +41,10 @@
.center
{
font-family
:
Oxygen
,
Calibri
;
font-size
:
10pt
;
}
.center
p
{
padding-left
:
5em
;
}
.right
{
...
...
@@ -71,26 +65,25 @@
}
label
{
color
:
#000
;
font-weight
:
100
;
font-family
:
Oxygen
;
font-size
:
10pt
;
}
input
,
textarea
{
input
,
textarea
{
padding
:
3px
;
border
:
solid
1px
#E5E5E5
;
outline
:
0
;
font
:
normal
13px
/
100%
Verdana
,
Tahoma
,
sans-serif
;
margin
:
0.25em
0
;
background
:
-webkit-gradient
(
linear
,
left
top
,
left
25
,
from
(
#FFFFFF
),
color-stop
(
4%
,
#EEEEEE
),
to
(
#FFFFFF
));
background
:
-webkit-gradient
(
linear
,
left
top
,
left
25
,
from
(
#FFFFFF
),
color-stop
(
4%
,
#EEEEEE
),
to
(
#FFFFFF
));
background
:
-moz-linear-gradient
(
top
,
#FFFFFF
,
#EEEEEE
1px
,
#FFFFFF
25px
);
box-shadow
:
rgba
(
0
,
0
,
0
,
0.1
)
0px
0px
8px
;
-moz-box-shadow
:
rgba
(
0
,
0
,
0
,
0.1
)
0px
0px
8px
;
-webkit-box-shadow
:
rgba
(
0
,
0
,
0
,
0.1
)
0px
0px
8px
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0.1
)
0px
0px
8px
;
-moz-box-shadow
:
rgba
(
0
,
0
,
0
,
0.1
)
0px
0px
8px
;
-webkit-box-shadow
:
rgba
(
0
,
0
,
0
,
0.1
)
0px
0px
8px
;
}
textarea
{
...
...
@@ -100,8 +93,7 @@ textarea {
line-height
:
150%
;
}
input
:hover
,
textarea
:hover
,
input
:focus
,
textarea
:focus
{
input
:hover
,
textarea
:hover
,
input
:focus
,
textarea
:focus
{
border-color
:
#C9C9C9
;
-webkit-box-shadow
:
rgba
(
0
,
0
,
0
,
0.15
)
0px
0px
8px
;
}
...
...
@@ -110,9 +102,12 @@ input:focus, textarea:focus {
/*
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section,blockquote{display:block;}nav ul{list-style:none;}ol{list-style:decimal;}ul{list-style:disc;}ul ul{list-style:circle;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}ins{text-decoration:underline;}del{text-decoration:line-through;}mark{background:none;}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help;}table{border-collapse:collapse;border-spacing:0;}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}input[type=submit],input[type=button],button{margin:0!important;padding:0!important;}input,select,a img{vertical-align:middle;}
*/
@font-face
{
font-family
:
Oxygen
;
src
:
url('Oxygen-Regular.ttf')
;
}
@font-face
{
font-family
:
Oxygen
;
src
:
url('Oxygen-Regular.ttf')
;
}
body
,
html
{
body
,
html
{
margin
:
0
;
padding
:
0
;
background
:
url("../img/bg.png")
;
...
...
@@ -133,37 +128,34 @@ h1 {
float
:
left
;
padding-left
:
3em
;
}
#nav_left
img
{
padding-top
:
1em
;
}
.right
{
width
:
180px
!important
;
}
.right
input
[
type
=
"text"
],
.right
input
[
type
=
"password"
]
{
.right
input
[
type
=
"text"
],
.right
input
[
type
=
"password"
]
{
width
:
140px
;
}
.right
a
{
font-family
:
sans-serif
,
Calibri
;
font-size
:
10pt
;
}
.colleft
{
padding-top
:
1em
;
}
.colleft
ul
{
margin
:
0
;
padding
:
0
;
list-style
:
none
;
}
.colleft
a
{
color
:
black
;
text-decoration
:
none
;
...
...
@@ -173,12 +165,11 @@ h1 {
color
:
black
;
text-decoration
:
underline
;
}
.clear
{
clear
:
both
;
}
#footer
{
border-top
:
1px
solid
black
;
border-bottom
:
1px
solid
black
;
...
...
@@ -187,75 +178,84 @@ h1 {
padding
:
0.25em
0
;
}
#header
{
clear
:
both
;
float
:
left
;
width
:
100%
;
clear
:
both
;
float
:
left
;
width
:
100%
;
border-bottom
:
4px
solid
#333
;
}
/* column container */
.colmask
{
position
:
relative
;
/* This fixes the IE7 overflow hidden bug */
clear
:
both
;
float
:
left
;
width
:
100%
;
/* width of whole page */
overflow
:
hidden
;
/* This chops off any overhanging divs */
position
:
relative
;
/* This fixes the IE7 overflow hidden bug */
clear
:
both
;
float
:
left
;
width
:
100%
;
/* width of whole page */
overflow
:
hidden
;
/* This chops off any overhanging divs */
}
/* common column settings */
.colright
,
.colmid
,
.colleft
{
float
:
left
;
width
:
100%
;
/* width of page */
position
:
relative
;
}
.col1
,
.col2
,
.col3
{
float
:
left
;
position
:
relative
;
padding
:
0
0
0
0
;
/* no left and right padding on columns, we just make them narrower instead
.colright
,
.colmid
,
.colleft
{
float
:
left
;
width
:
100%
;
/* width of page */
position
:
relative
;
}
.col1
,
.col2
,
.col3
{
float
:
left
;
position
:
relative
;
padding
:
0
0
0
0
;
/* no left and right padding on columns, we just make them narrower instead
only padding top and bottom is included here, make it whatever value you need */
overflow
:
hidden
;
overflow
:
hidden
;
}
/* 3 Column settings */
.threecol
{
/* right */
}
.threecol
.colmid
{
right
:
25%
;
/* width of the right column */
right
:
25%
;
/* width of the right column */
background-color
:
white
;
border-right
:
1px
solid
black
;
min-height
:
500px
;
}
.threecol
.colleft
{
right
:
60%
;
/* width of the middle column */
right
:
60%
;
/* width of the middle column */
background-color
:
white
;
min-height
:
500px
;
border-right
:
1px
dashed
#ddd
;
}
.threecol
.col1
{
width
:
56%
;
/* width of center column content (column width minus padding on either side) */
left
:
102%
;
/* 100% plus left padding of center column */
width
:
56%
;
/* width of center column content (column width minus padding on either side) */
left
:
102%
;
/* 100% plus left padding of center column */
}
.threecol
.col2
{
width
:
12%
;
/* Width of left column content (column width minus padding on either side) */
left
:
31%
;
/* width of (right column) plus (center column left and right padding) plus (left column left padding) */
width
:
12%
;
/* Width of left column content (column width minus padding on either side) */
left
:
31%
;
/* width of (right column) plus (center column left and right padding) plus (left column left padding) */
}
.threecol
.col3
{
width
:
21%
;
/* Width of right column content (column width minus padding on either side) */
left
:
95%
;
/* Please make note of the brackets here:
width
:
21%
;
/* Width of right column content (column width minus padding on either side) */
left
:
95%
;
/* Please make note of the brackets here:
(100% - left column width) plus (center column left and right padding) plus (left column left and right padding) plus (right column left padding) */
}
/* Footer styles */
#footer
{
clear
:
both
;
float
:
left
;
width
:
75%
;
border-top
:
1px
solid
#000
;
clear
:
both
;
float
:
left
;
width
:
75%
;
border-top
:
1px
solid
#000
;
color
:
white
;
font-size
:
9pt
;
text-align
:
center
;
...
...
@@ -275,11 +275,12 @@ h1 {
#tournamentMenu
ul
{
margin-left
:
2em
;
list-style-type
:
square
!important
;
}
#main
h1
{
color
:
black
;
}
#main
a
{
color
:
#2694e8
;
}
...
...
@@ -296,4 +297,3 @@ h1 {
#header_right
{
text-align
:
right
;
}
\ No newline at end of file
code/MoyaWeb/WebContent/tournaments/admin/createwizard.xhtml
0 → 100644
View file @
e65c38c
<!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:p=
"http://primefaces.org/ui"
xmlns:f=
"http://java.sun.com/jsf/core"
>
<h:body>
<ui:composition
template=
"#{sessionHandler.template}"
>
<f:metadata>
<!-- <f:event type="preRenderView" listener="#{userOverviewView.initView()}" /> -->
</f:metadata>
<ui:define
name=
"content"
>
<h:form>
<p:wizard
widgetVar=
"wiz"
flowListener=
"#{createWizard.onFlowProcess}"
>
<p:tab
id=
"selectGame"
title=
"Select a game"
>
<p:panel
header=
"Select a game"
>
<h:messages
errorClass=
"error"
/>
<p:selectOneMenu>
<f:selectItem
itemLabel=
""
/>
<f:selectItem
itemLabel=
"spurdo spärde"
/>
<f:selectItem
itemLabel=
"cockmaster"
/>
</p:selectOneMenu>
<h:outputText
value=
"or"
/>
<p:button
/>
<h:selectBooleanCheckbox
value=
"#{createWizard.skip}"
/>
</p:panel>
</p:tab>
</p:wizard>
</h:form>
</ui:define>
</ui:composition>
</h:body>
</html>
\ No newline at end of file
code/MoyaWeb/WebContent/tournaments/index.xhtml
0 → 100644
View file @
e65c38c
<!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:p=
"http://primefaces.org/ui"
xmlns:f=
"http://java.sun.com/jsf/core"
>
<h:body>
<ui:composition
template=
"#{sessionHandler.template}"
>
<f:metadata>
<!-- <f:event type="preRenderView" listener="#{userOverviewView.initView()}" /> -->
</f:metadata>
<ui:define
name=
"content"
>
<h1>
Tournaments
</h1>
</ui:define>
</ui:composition>
</h: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