add some menu
This commit is contained in:
parent
7753dd104c
commit
779f286988
@ -3,7 +3,8 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://java.sun.com/jsf/html"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:p="http://primefaces.org/ui"
|
||||
xmlns:f="http://xmlns.jcp.org/jsf/core">
|
||||
|
||||
<h:head>
|
||||
<title>NG-Tracker</title>
|
||||
@ -12,13 +13,35 @@
|
||||
</h:head>
|
||||
|
||||
<h:body>
|
||||
<div class="ui-g">
|
||||
<div class="ui-g-2"></div>
|
||||
<div class="ui-g-8">
|
||||
<div class="ui-fluid">
|
||||
<ui:insert name="content">Content</ui:insert>
|
||||
<h:form>
|
||||
<p:growl id="messages"/>
|
||||
|
||||
<div class="ui-g">
|
||||
<div class="ui-g-2"></div>
|
||||
<div class="ui-g-8">
|
||||
<p:menubar>
|
||||
<p:menuitem>
|
||||
<h:link outcome="/index.xhtml">
|
||||
<h:graphicImage name="img/logo.png" height="30"/>
|
||||
</h:link>
|
||||
</p:menuitem>
|
||||
<p:submenu label="Статьи" icon="fa fa-file-text-o">
|
||||
<p:menuitem value="Мои статьи" icon="fa fa-calendar" url="/paper/dashboard.xhtml"/>
|
||||
<p:menuitem value="Все статьи" icon="fa fa-file-o" url="/paper/papers.xhtml"/>
|
||||
</p:submenu>
|
||||
|
||||
<p:menuitem value="Quit" url="http://www.primefaces.org" icon="pi pi-times"/>
|
||||
|
||||
<f:facet name="options">
|
||||
<p:inputText style="margin:1px 10px 1px 1px;" placeholder="Search"/>
|
||||
<p:commandButton type="button" value="Logout" icon="pi pi-home"/>
|
||||
</f:facet>
|
||||
</p:menubar>
|
||||
<div class="ui-fluid">
|
||||
<ui:insert name="content">Content</ui:insert>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</h:form>
|
||||
</h:body>
|
||||
</html>
|
||||
|
BIN
src/main/resources/META-INF/resources/img/logo.png
Normal file
BIN
src/main/resources/META-INF/resources/img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue
Block a user