-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtop.xhtml
More file actions
47 lines (42 loc) · 2.54 KB
/
top.xhtml
File metadata and controls
47 lines (42 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
>
<h:head>
<title>Tab</title>
<h:outputStylesheet library="css" name="style.css"/>
<h:outputStylesheet library="css" name="bootstrap.min.css" />
<h:outputScript library="js" name="jquery-3.2.1.min.js" />
<h:outputScript library="js" name="bootstrap.min.js" />
<h:outputScript library="js" name="script.js" />
<h:outputScript library="js" name="myjquery2.js"/>
</h:head>
<h:body>
<h:form id="xyform" class="form-inline">
<div class="form-group">
<ul class="nav nav-tabs nav-justified">
<li id="w1" class="active wq"> <a href="index.xhtml"><h3>首页</h3></a></li>
<li id="w2" class="wq"> <a href="suptEdu.xhtml"><h4>支教</h4></a></li>
<li id="w3" class="wq"> <a href="journal.xhtml"><h4>日志</h4></a></li>
<li id="w4" class="wq"> <a href="album.xhtml"><h4>相册</h4></a></li>
<li id="w5" class="wq"> <a href="donate.xhtml"><h4>捐赠</h4></a></li>
<li id="w6" class="wq"> <a href="forUs.xhtml"><h4>关于我们</h4></a></li>
<li><p> </p></li>
<li> <h:commandButton value="登陆" action="login.xhtml" class="btn btn-default " rendered="#{loginBean.is}"></h:commandButton>
<h:commandButton value="注册" action="register.xhtml" class="btn btn-success" rendered="#{loginBean.is}"></h:commandButton>
</li>
<li class="dropdown">
<a class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown" style="display: #{loginBean.is1}" >
#{loginBean.name}<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><h:commandLink value="个人中心" action="#{loginBean.isWho()}"/></li>
<li><h:commandLink value="退出登陆" action="#{loginBean.logout()}" /></li>
</ul>
</li>
</ul>
</div>
</h:form>
</h:body>
</html>