Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
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 ed0283e2
authored
Mar 08, 2011
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added menu.xhtml from stream layout
1 parent
7e4da146
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
code/LanBortalWeb/WebContent/layout/stream1/menu.xhtml
code/LanBortalWeb/WebContent/layout/stream1/menu.xhtml
0 → 100644
View file @
ed0283e
<!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:f=
"http://java.sun.com/jsf/core"
xmlns:tools=
"http://java.sun.com/jsf/composite/tools"
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
>
<h:body>
<ui:composition>
<ul>
<li
class=
"#{i18n[util.concat(thispage,'.pagegroup')] == 'frontpage'?'selected':''}"
><h:link
outcome=
"/index"
value=
"#{i18n['topmenu.frontpage']}"
/></li>
<tools:isLoggedIn>
<li
class=
"#{i18n[util.concat(thispage,'.pagegroup')] == 'user'?'selected':''}"
>
<h:link
outcome=
"/user/editself"
value=
"#{i18n['topmenu.usersPreferences']}"
/>
</li>
<!-- <div class="link#{i18n[util.concat(thispage,'.pagegroup')] == 'shop'?'a': ''}"><h:link
outcome="/product/createBill" value="#{i18n['topmenu.shoppings']}" /></div>
-->
</tools:isLoggedIn>
<tools:canExecute
target=
"POLL"
>
<li
class=
"#{i18n[util.concat(thispage,'.pagegroup')] == 'poll'?'selected': ''}"
><h:link
outcome=
"/poll/start"
value=
"#{i18n['topmenu.poll']}"
/></li>
</tools:canExecute>
<li
class=
"#{i18n[util.concat(thispage,'.pagegroup')] == 'placemap'?'selected':''}"
><h:link
outcome=
"/place/placemap"
value=
"#{i18n['topmenu.placemap']}"
/></li>
<tools:canRead
target=
"USER_MANAGEMENT"
>
<li
class=
"#{i18n[util.concat(thispage,'.pagegroup')] == 'admin'?'selected':''}"
><h:link
outcome=
"/product/list"
value=
"#{i18n['topmenu.adminfront']}"
/></li>
<li
class=
"#{i18n[util.concat(thispage,'.pagegroup')] == 'rfidshop'?'selected':''}"
><h:link
outcome=
"/shop/showReaderEvents"
value=
"#{i18n['topmenu.rfidshop']}"
/></li>
</tools:canRead>
<tools:canRead
target=
"GAME"
>
<li
class=
"#{i18n[util.concat(thispage,'.pagegroup')] == 'game'?'selected':''}"
><h:link
outcome=
"/game/start"
value=
"#{i18n['topmenu.game']}"
/></li>
</tools:canRead>
</ul>
</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