summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/panels/NestedRepositoryTreePanel.html
blob: 5dfd27afd34529c9958c6479077a0b14eaa69158 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!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>
		<tr style="background-color: #bbb" wicket:id="nodeHeader" data-row-type="folder"></tr>
		<wicket:container wicket:id="repositories">
		<tr  wicket:id="rowContent" data-row-type="repo">
			<td wicket:id="firstColumn" class="left"
				style="padding-left: 3px;">
				<div style="margin-left: 7px; width: 8px;display: inline-block;float: left;"
					wicket:id="depth">&nbsp;</div>
					<span wicket:id="repoIcon"></span><span
				style="padding-left: 3px;" wicket:id="repositoryName">[repository
					name]</span>
			</td>
			<td class="hidden-phone"><span class="list"
				wicket:id="repositoryDescription">[repository description]</span></td>
			<td class="hidden-tablet hidden-phone author"><span
				wicket:id="repositoryOwner">[repository owner]</span></td>
			<td class="hidden-phone"
				style="text-align: right; padding-right: 10px;"><img
				class="inlineIcon" wicket:id="sparkleshareIcon" /><img
				class="inlineIcon" wicket:id="frozenIcon" /><img class="inlineIcon"
				wicket:id="federatedIcon" /><img class="inlineIcon"
				wicket:id="accessRestrictionIcon" /></td>
			<td><span wicket:id="repositoryLastChange">[last change]</span></td>
			<td class="rightAlign hidden-phone"
				style="text-align: right; padding-right: 15px;"><span
				style="font-size: 0.8em;" wicket:id="repositorySize">[repository
					size]</span></td>
		</tr>
		</wicket:container>
		<tr wicket:id="subFolders">
			<span wicket:id="rowContent"></span>
		</tr>

		<wicket:fragment wicket:id="emptyFragment">
		</wicket:fragment>

		<wicket:fragment wicket:id="repoIconFragment">
			<span class="octicon octicon-centered octicon-repo"></span>
		</wicket:fragment>

		<wicket:fragment wicket:id="mirrorIconFragment">
			<span class="octicon octicon-centered octicon-mirror"></span>
		</wicket:fragment>

		<wicket:fragment wicket:id="forkIconFragment">
			<span class="octicon octicon-centered octicon-repo-forked"></span>
		</wicket:fragment>

		<wicket:fragment wicket:id="cloneIconFragment">
			<span class="octicon octicon-centered octicon-repo-push"
				wicket:message="title:gb.workingCopyWarning"></span>
		</wicket:fragment>

		<wicket:fragment wicket:id="tableGroupMinusCollapsible">
		<i title="Click to expand/collapse" class="fa fa-minus-square-o table-group-collapsible" aria-hidden="true" style="padding-right:3px;cursor:pointer;"></i>
    </wicket:fragment>

    <wicket:fragment wicket:id="tableGroupPlusCollapsible">
		<i title="Click to expand/collapse" class="fa fa-plus-square-o table-group-collapsible" aria-hidden="true" style="padding-right:3px;cursor:pointer;"></i>
    </wicket:fragment>

		<wicket:fragment wicket:id="tableAllCollapsible">
			<i title="Click to expand all"
				class="fa fa-plus-square-o table-openall-collapsible"
				aria-hidden="true" style="padding-right: 3px; cursor: pointer;"></i>
			<i title="Click to collapse all"
				class="fa fa-minus-square-o table-closeall-collapsible"
				aria-hidden="true" style="padding-right: 3px; cursor: pointer;"></i>
		</wicket:fragment>

		<wicket:fragment wicket:id="groupRepositoryHeader">
			<tr>
				<th class="left"><span wicket:id="allCollapsible"></span> <img
					style="vertical-align: middle;" src="git-black-16x16.png" /> <wicket:message
						key="gb.repository">Repository</wicket:message></th>
				<th class="hidden-phone"><span><wicket:message
							key="gb.description">Description</wicket:message></span></th>
				<th class="hidden-tablet hidden-phone"><span><wicket:message
							key="gb.owner">Owner</wicket:message></span></th>
				<th class="hidden-phone"></th>
				<th><wicket:message key="gb.lastChange">Last Change</wicket:message></th>
				<th class="right hidden-phone"></th>
			</tr>
		</wicket:fragment>

		<wicket:fragment wicket:id="groupRepositoryRow">
			<td wicket:id="firstColumn" style="" colspan="1">
			<div style="margin-left:6px; width: 10px; display: inline-block;float: left;"
					wicket:id="depth">&nbsp;</div>
			<span
				wicket:id="groupCollapsible"></span><span wicket:id="groupName">[group
					name]</span></td>
			<td colspan="6" style="padding: 2px;"><span class="hidden-phone"
				style="font-weight: normal; color: #666;"
				wicket:id="groupDescription">[description]</span></td>
		</wicket:fragment>

	</wicket:panel>
</body>
</html>