summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/panels/RegistrantPermissionsPanel.html
blob: eb82245cc4984df19875fc71f9b1b5a5a8b768a9 (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
<!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:panel>

	<form class="form-inline" wicket:id="permissionToggleForm">
		<div style="padding-bottom:10px" class="btn-group pull-right" data-toggle="buttons-radio">
			<a class="btn btn-info" wicket:id="showMutable"><wicket:message key="gb.mutable"></wicket:message></a>
			<a class="btn btn-info" wicket:id="showSpecified"><wicket:message key="gb.specified"></wicket:message></a>
			<a class="btn btn-info" wicket:id="showEffective"><wicket:message key="gb.effective"></wicket:message></a>
		</div>
	</form>
	
	<div style="clear:both;" wicket:id="permissionRow">
		<div style="padding-top:10px;border-left:1px solid #ccc;border-right:1px solid #ccc;" class="row-fluid">
			<div style="padding-top:5px;padding-left:5px" class="span6"><span wicket:id="registrant"></span></div><div style="padding-top:5px;padding-right:5px;text-align:right;" class="span3"><span class="label" wicket:id="pType">[permission type]</span></div> <select class="input-medium" wicket:id="permission"></select>
		</div>
	</div>

	<div style="clear:both; padding-top:15px;" class="row-fluid">
		<form style="padding: 20px 40px;" class="well form-inline" wicket:id="addPermissionForm">
			<select class="input-xlarge" wicket:id="registrant"></select> <select class="input-large" wicket:id="permission"></select> <input class="btn btn-success" type="submit" value="Add" wicket:message="value:gb.add" wicket:id="addPermissionButton"/>
		</form>
	</div>

	<wicket:fragment wicket:id="repositoryRegistrant">
		<b><span class="repositorySwatch" wicket:id="repositorySwatch"></span></b> <span wicket:id="repositoryName"></span>
	</wicket:fragment>

	<wicket:fragment wicket:id="userRegistrant">
		<span wicket:id="userAvatar"></span> <span wicket:id="userName"></span>
	</wicket:fragment>

	<wicket:fragment wicket:id="teamRegistrant">
		<span style="font-weight: bold;" wicket:id="teamName"></span>
	</wicket:fragment>
	
</wicket:panel>
</body>
</html>