Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
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 bb1a5f46
authored
Feb 15, 2014
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
leiskmuutoksia
1 parent
ca6afddc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
14 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 {
width
:
200px
;
}
nav
{
min-width
:
200px
;
background
:
white
;
...
...
@@ -193,3 +196,13 @@ aside {
th
,
td
{
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,21 +79,15 @@
</h:link>
</div>
<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}"
>
<div>
<h:form>
<h:outputLabel
for=
"manageBtn"
value=
"#{i18n['content.showContentEditLinks']}"
/>
<h:selectBooleanCheckbox
value=
"#{sessionStore.manageContentLinks}"
onclick=
"this.form.submit()"
/>
</h:form>
</div>
</ui:fragment>
<div>
<h:form>
<h:outputLabel
for=
"manageBtn"
value=
"#{i18n['content.showContentEditLinks']}"
/>
<h:selectBooleanCheckbox
value=
"#{sessionStore.manageContentLinks}"
onclick=
"this.form.submit()"
/>
</h:form>
</div>
</ui:fragment>
</div>
<div
id=
"header_right"
>
...
...
@@ -115,6 +109,14 @@
</nav>
<section
id=
"main"
class=
"flex2"
>
<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"
>
<f:param
name=
"pagename"
value=
"#{layoutView.pagepath}:top"
/>
</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