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 e02b4071
authored
Jul 20, 2014
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moar
1 parent
4df85bf7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
36 deletions
code/MoyaWeb/WebContent/resources/templates/template2014/css/skinning.css
code/MoyaWeb/WebContent/resources/templates/template2014/css/structual.css
code/MoyaWeb/WebContent/resources/templates/template2014/template.xhtml
code/MoyaWeb/WebContent/resources/templates/template2014/css/skinning.css
View file @
e02b407
...
...
@@ -16,3 +16,4 @@
.bgColor1
.ui-layout-unit-header
{
background-image
:
none
;
}
code/MoyaWeb/WebContent/resources/templates/template2014/css/structual.css
View file @
e02b407
/* Structual stuff, like sizes, margins etc.*/
.bgColor1.ui-layout-unit
{
margin
:
0px
;
padding
:
0px
;
}
}
.bgColor1
.ui-layout-unit-content
{
margin
:
0px
;
padding
:
0px
;
}
.bgColor1
.ui-layout-unit-header
{
margin
:
0px
;
padding
:
0px
;
}
#header_right
{
text-align
:
right
;
}
#header_box
{
display
:
flex
;
display
:
-ms-flexbox
;
display
:
-webkit-flex
;
}
#mainlayoutpanel
{
margin
:
10px
;
padding
:
10px
;
}
#header_center
{
position
:
relative
;
text-align
:
right
;
-webkit-box-flex
:
1
;
/* OLD - iOS 6-, Safari 3.1-6 */
-moz-box-flex
:
1
;
/* OLD - Firefox 19- */
width
:
20%
;
/* For old syntax, otherwise collapses. */
-webkit-flex
:
1
;
/* Chrome */
-ms-flex
:
1
;
/* IE 10 */
flex
:
1
;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
}
\ No newline at end of file
code/MoyaWeb/WebContent/resources/templates/template2014/template.xhtml
View file @
e02b407
...
...
@@ -68,40 +68,48 @@
<p:layout
fullPage=
"true"
>
<p:layoutUnit
id=
"toppanel"
collapsible=
"true"
position=
"north"
styleClass=
"bgColor1"
minSize=
"55"
>
<f:facet
name=
"header"
>
<h:link
outcome=
"/index"
>
<c:choose>
<c:when
test=
"#{sessionHandler.isInDevelopmentMode()}"
>
<img
src=
"#{request.contextPath}/resources/templates/insomnia2/img/devel_logo.png"
/>
</c:when>
<c:otherwise>
<p:graphicImage
rendered=
"#{layoutView.headerIsImage}"
value=
"#{layoutView.headerimage}"
/>
<ui:fragment
rendered=
"#{!layoutView.headerIsImage}"
>
<h1>
<h:outputText
value=
"#{layoutView.headertext}"
/>
</h1>
</ui:fragment>
</c:otherwise>
</c:choose>
</h:link>
<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>
<p:layout
fullPage=
"true"
id=
"mainlayoutpanel"
>
<p:layoutUnit
id=
"toppanel"
position=
"north"
styleClass=
"bgColor1"
size=
"60"
>
<div
id=
"header_box"
>
<div
id=
"header_left"
>
<h:link
outcome=
"/index"
>
<c:choose>
<c:when
test=
"#{sessionHandler.isInDevelopmentMode()}"
>
<img
src=
"#{request.contextPath}/resources/templates/insomnia2/img/devel_logo.png"
/>
</c:when>
<c:otherwise>
<p:graphicImage
rendered=
"#{layoutView.headerIsImage}"
value=
"#{layoutView.headerimage}"
/>
<ui:fragment
rendered=
"#{!layoutView.headerIsImage}"
>
<h1>
<h:outputText
value=
"#{layoutView.headertext}"
/>
</h1>
</ui:fragment>
</c:otherwise>
</c:choose>
</h:link>
</div>
<div
id=
"header_center"
>
<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>
</ui:fragment>
<a
href=
"http://www.codecrew.fi"
><img
src=
"#{request.contextPath}/resources/templates/template1/img/moya_logo.png"
/>
</a>
</f:facet>
<div
id=
"header_right"
>
<a
href=
"http://www.codecrew.fi"
><img
src=
"#{request.contextPath}/resources/templates/template1/img/moya_logo.png"
/>
</a>
</div>
</div>
</p:layoutUnit>
<p:layoutUnit
header=
"Menu**"
collapsible=
"true"
id=
"leftpanel"
position=
"west"
resizable=
"true"
>
<nav>
...
...
@@ -126,6 +134,7 @@
</h:link>
</div>
<ui:insert
name=
"title"
/>
<p:menubar
rendered=
"#{primeMenuView.hasSecondaryMenu}"
model=
"#{primeMenuView.secondaryMenuModel}"
/>
...
...
@@ -151,7 +160,7 @@
</p:layoutUnit>
<p:layoutUnit
header=
"User**"
resizable=
"true"
collapsible=
"true"
id=
"rightpanel"
position=
"east"
>
<p:layoutUnit
header=
"User**"
resizable=
"true"
collapsible=
"true"
id=
"rightpanel"
position=
"east"
>
...
...
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