summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/panels/RepositoriesPanel.html
blob: 48d337c6105c7c50ddc376566234aed884863370 (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
<!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>

	<div wicket:id="adminPanel">[admin links]</div>

	<table class="repositories">
		<span wicket:id="headerContent"></span>
		<tbody>		
       		<tr wicket:id="row">
       			<span wicket:id="rowContent"></span>
       		</tr>
    	</tbody>
	</table>
	
	<wicket:fragment wicket:id="adminLinks">
		<!-- page nav links -->	
		<div class="admin_nav">
			<img style="vertical-align: top;" src="add_16x16.png"/>
			<a wicket:id="newRepository">
				<wicket:message key="gb.newRepository"></wicket:message>
			</a>
		</div>	
	</wicket:fragment>
	
	<wicket:fragment wicket:id="repositoryAdminLinks">
		<span class="link"><a wicket:id="editRepository"><wicket:message key="gb.edit">[edit]</wicket:message></a> | <a wicket:id="deleteRepository"><wicket:message key="gb.delete">[delete]</wicket:message></a></span>
	</wicket:fragment>

	<wicket:fragment wicket:id="repositoryOwnerLinks">
		<span class="link"><a wicket:id="editRepository"><wicket:message key="gb.edit">[edit]</wicket:message></a></span>
	</wicket:fragment>

	<wicket:fragment wicket:id="flatRepositoryHeader">
		<tr>
			<th class="left" wicket:id="orderByRepository">
				<img style="vertical-align: top; border: 1px solid #888;" src="gitweb-favicon.png"/>
				<wicket:message key="gb.repository">Repository</wicket:message>
			</th>
			<th wicket:id="orderByDescription"><wicket:message key="gb.description">Description</wicket:message></th>
			<th wicket:id="orderByOwner"><wicket:message key="gb.owner">Owner</wicket:message></th>
			<th></th>
			<th wicket:id="orderByDate"><wicket:message key="gb.lastChange">Last Change</wicket:message></th>
			<th></th>
			<th class="right"></th>
		</tr>
	</wicket:fragment>
	
	<wicket:fragment wicket:id="groupRepositoryHeader">
		<tr>
			<th class="left">
				<img style="vertical-align: top; border: 1px solid #888;" src="gitweb-favicon.png"/>
				<wicket:message key="gb.repository">Repository</wicket:message>
			</th>
			<th><wicket:message key="gb.description">Description</wicket:message></th>
			<th><wicket:message key="gb.owner">Owner</wicket:message></th>
			<th></th>
			<th><wicket:message key="gb.lastChange">Last Change</wicket:message></th>
			<th></th>
			<th class="right"></th>
		</tr>
	</wicket:fragment>
	
	<wicket:fragment wicket:id="groupRepositoryRow">
        <td colspan="7"><span wicket:id="groupName">[group name]</span></td>
	</wicket:fragment>
		
	<wicket:fragment wicket:id="repositoryRow">
        <td class="left"><div class="list" wicket:id="repositoryName">[repository name]</div></td>
        <td><div class="list" wicket:id="repositoryDescription">[repository description]</div></td>
        <td class="author"><span wicket:id="repositoryOwner">[repository owner]</span></td>
        <td style="text-align: right;padding-right:10px;"><img class="inlineIcon" wicket:id="ticketsIcon" /><img class="inlineIcon" wicket:id="docsIcon" /><img class="inlineIcon" wicket:id="frozenIcon" /><img class="inlineIcon" wicket:id="accessRestrictionIcon" /></td>
        <td><span wicket:id="repositoryLastChange">[last change]</span></td>
        <td style="text-align: right;padding-right:15px;"><span style="font-size:0.8em;" wicket:id="repositorySize">[repository size]</span></td>
        <td class="rightAlign">
        	<span wicket:id="repositoryLinks"></span>
			<a style="text-decoration: none;" wicket:id="syndication">
				<img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img>
			</a>
		</td>				
	</wicket:fragment>
	
</wicket:panel>
</body>
</html>