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 bb1a5f46
authored
Feb 15, 2014
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
leiskmuutoksia
1 parent
ca6afddc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
7 deletions
code/MoyaWeb/WebContent/resources/templates/template1/css/style.css
code/MoyaWeb/WebContent/resources/templates/template1/template.xhtml
code/MoyaWeb/WebContent/resources/templates/template1/css/style.css
View file @
bb1a5f4
...
@@ -148,6 +148,9 @@ h1 {
...
@@ -148,6 +148,9 @@ h1 {
width
:
200px
;
width
:
200px
;
}
}
nav
{
nav
{
min-width
:
200px
;
min-width
:
200px
;
background
:
white
;
background
:
white
;
...
@@ -193,3 +196,13 @@ aside {
...
@@ -193,3 +196,13 @@ aside {
th
,
td
{
th
,
td
{
padding
:
5px
;
padding
:
5px
;
}
}
#header_center
{
position
:
relative
;
text-align
:
right
;
}
#selectLanguage
{
padding-left
:
10px
;
padding-top
:
10px
;
}
code/MoyaWeb/WebContent/resources/templates/template1/template.xhtml
View file @
bb1a5f4
...
@@ -79,13 +79,7 @@
...
@@ -79,13 +79,7 @@
</h:link>
</h:link>
</div>
</div>
<div
id=
"header_center"
class=
"flex1"
>
<div
id=
"header_center"
class=
"flex1"
>
<div>
<h:form
id=
"selectLanguage"
>
<p:selectOneButton
id=
"langselect"
styleClass=
"languageSelector"
value=
"#{sessionStore.locale}"
onchange=
"this.form.submit()"
converter=
"#{localeConverter}"
>
<f:selectItems
value=
"#{localeSelectorView.availableLocales}"
var=
"loc"
itemValue=
"#{loc.locale}"
itemLabel=
"#{loc.locale.displayName}"
/>
</p:selectOneButton>
</h:form>
</div>
<ui:fragment
rendered=
"#{layoutView.canManageContent}"
>
<ui:fragment
rendered=
"#{layoutView.canManageContent}"
>
<div>
<div>
<h:form>
<h:form>
...
@@ -115,6 +109,14 @@
...
@@ -115,6 +109,14 @@
</nav>
</nav>
<section
id=
"main"
class=
"flex2"
>
<section
id=
"main"
class=
"flex2"
>
<div
class=
"container top"
>
<div
class=
"container top"
>
<h:form
id=
"selectLanguage"
>
<p:selectOneButton
id=
"langselect"
styleClass=
"languageSelector"
value=
"#{sessionStore.locale}"
onchange=
"this.form.submit()"
converter=
"#{localeConverter}"
>
<f:selectItems
value=
"#{localeSelectorView.availableLocales}"
var=
"loc"
itemValue=
"#{loc.locale}"
itemLabel=
"#{loc.locale.displayName}"
/>
</p:selectOneButton>
</h:form>
<h:link
rendered=
"#{layoutView.manageContent}"
styleClass=
"editorlink"
value=
"#{i18n['layout.editTop']}"
outcome=
"/pages/manage"
>
<h:link
rendered=
"#{layoutView.manageContent}"
styleClass=
"editorlink"
value=
"#{i18n['layout.editTop']}"
outcome=
"/pages/manage"
>
<f:param
name=
"pagename"
value=
"#{layoutView.pagepath}:top"
/>
<f:param
name=
"pagename"
value=
"#{layoutView.pagepath}:top"
/>
</h:link>
</h:link>
...
...
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