summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/UserPage.html
blob: 6bdd3cee413d909b00abf57d3793a5aa860e30cf (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!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="container">
	<div class="row" style="padding-top:15px;">
		<div class="span3">
			<div wicket:id="userTitlePanel"></div>
		</div>
	</div>
	
	<div class="row" style="padding-top:10px;">	
		<div class="span12">
			<div class="tabbable tabs-left">
				<!-- tab titles -->
				<ul class="nav nav-tabs">
					<li class="active"><a href="#repositories" data-toggle="tab"><wicket:message key="gb.repositories"></wicket:message></a></li>
					<div wicket:id="preferencesLink"></div>
					<div wicket:id="sshKeysLink"></div>
				</ul>
	
				<!-- tab content -->
				<div class="tab-content">

					<!-- repositories tab -->
					<div class="tab-pane active" id="repositories">
						<table width="100%">
							<tbody>
								<tr wicket:id="repositoryList"><td style="border-bottom:1px solid #eee;"><span wicket:id="repository"></span></td></tr>
							</tbody>
						</table>
					</div>
					
					<!-- preferences tab -->
					<div wicket:id="preferencesTab"></div>
					
					<!-- ssh keys tab -->
					<div wicket:id="sshKeysTab"></div>
					
				</div>
			</div>
		</div>
	</div>
</div>

<wicket:fragment wicket:id="preferencesLinkFragment">
	<li><a href="#preferences" data-toggle="tab"><wicket:message key="gb.preferences"></wicket:message></a></li>
</wicket:fragment>

<wicket:fragment wicket:id="sshKeysLinkFragment">
	<li><a href="#ssh" data-toggle="tab"><wicket:message key="gb.sshKeys"></wicket:message></a></li>
</wicket:fragment>

<wicket:fragment wicket:id="preferencesTabFragment">
	<div class="tab-pane" id="preferences">
		<h4><wicket:message key="gb.accountPreferences"></wicket:message></h4>
		<p><wicket:message key="gb.accountPreferencesDescription"></wicket:message></p>
		<hr />
		
		<form wicket:id="prefsForm">
			<div wicket:id="displayName"></div>
			<div wicket:id="emailAddress"></div>
			<div wicket:id="emailMeOnMyTicketChanges"></div>
			<div wicket:id="language"></div>
			<div wicket:id="transport"></div>
			
			<div class="form-actions"><input class="btn btn-appmenu" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" /></div>
		</form>	
	</div>
</wicket:fragment>

<wicket:fragment wicket:id="sshKeysTabFragment">
	<div class="tab-pane" id="ssh">
		<div wicket:id="sshKeysPanel"></div>		
	</div>
</wicket:fragment>

</wicket:extend>
</body>
</html>