blob: 11f7f38d0659dd324fe9c8c7180b5de2556e77a5 (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
<!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:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
xml:lang="en"
lang="en">
<body>
<wicket:extend>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" wicket:id="rootLink">
<img src="logo.png" height="45" width="120" class="logo"/>
</a>
<div class="nav-collapse">
<div wicket:id="navPanel"></div>
<ul class="nav pull-right">
<span wicket:id="userPanel"></span>
</ul>
</div>
</div>
</div>
</div>
<!-- subclass content -->
<div class="container">
<div style="text-align:center" wicket:id="feedback">[Feedback Panel]</div>
</div>
<wicket:child/>
<wicket:fragment wicket:id="loginFormFragment">
<li>
<form class="pull-right" wicket:id="loginForm">
<span class="form-search">
<input wicket:id="username" class="input-small" type="text" />
<input wicket:id="password" class="input-small" type="password" />
<button class="btn" type="submit"><wicket:message key="gb.login"></wicket:message></button>
</span>
</form>
</li>
</wicket:fragment>
<!-- user fragment -->
<wicket:fragment wicket:id="userMenuFragment">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" style="text-decoration: none;" href="#"><span wicket:id="username"></span> <b class="caret"></b></a>
<ul class="dropdown-menu">
<li style="color:#ccc;padding-left:15px;font-weight:bold;"><span wicket:id="displayName"></span></li>
<li class="divider"></li>
<li><a wicket:id="newRepository"><wicket:message key="gb.newRepository"></wicket:message></a></li>
<li><a wicket:id="myProfile"><wicket:message key="gb.myProfile"></wicket:message></a></li>
<li><a wicket:id="changePassword"><wicket:message key="gb.changePassword"></wicket:message></a></li>
<li class="divider"></li>
<li><a wicket:id="logout"><wicket:message key="gb.logout"></wicket:message></a></li>
</ul>
</li>
</wicket:fragment>
</wicket:extend>
</body>
</html>
|