summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/panels/RepositoriesPanel.html
blob: 81a4c6eb77b92db1c8e7736db9b36bccb6245e5c (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
107
<!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="managementPanel">[management 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">
			<a class="btn-small" wicket:id="clearCache">
				<i class="icon icon-remove"></i>
				<wicket:message key="gb.clearCache"></wicket:message>
			</a>			
			<a class="btn-small" wicket:id="newRepository" style="padding-right:0px;">
				<i class="icon icon-plus-sign"></i>
				<wicket:message key="gb.newRepository"></wicket:message>
			</a>
		</div>	
	</wicket:fragment>
	
	<wicket:fragment wicket:id="personalLinks">
		<!-- page nav links -->	
		<div class="admin_nav">
			<a class="btn-small" wicket:id="newRepository" style="padding-right:0px;">
				<i class="icon icon-plus-sign"></i>
				<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: middle;" src="git-black-16x16.png"/>
				<wicket:message key="gb.repository">Repository</wicket:message>
			</th>
			<th class="hidden-phone" wicket:id="orderByDescription"><wicket:message key="gb.description">Description</wicket:message></th>
			<th class="hidden-tablet hidden-phone" wicket:id="orderByOwner"><wicket:message key="gb.owner">Owner</wicket:message></th>
			<th class="hidden-phone"></th>
			<th wicket:id="orderByDate"><wicket:message key="gb.lastChange">Last Change</wicket:message></th>
			<th class="hidden-phone"></th>
			<th class="right"></th>
		</tr>
	</wicket:fragment>
	
	<wicket:fragment wicket:id="groupRepositoryHeader">
		<tr>
			<th class="left">
				<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="hidden-phone"></th>
			<th class="right"></th>
		</tr>
	</wicket:fragment>
	
	<wicket:fragment wicket:id="groupRepositoryRow">
        <td colspan="1"><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:fragment wicket:id="repositoryRow">
        <td class="left" style="padding-left:3px;" ><b><span class="repositorySwatch" wicket:id="repositorySwatch"></span></b> <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="forkIcon" /><img class="inlineIcon" wicket:id="ticketsIcon" /><img class="inlineIcon" wicket:id="docsIcon" /><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="hidden-phone" style="text-align: right;padding-right:15px;"><span style="font-size:0.8em;" wicket:id="repositorySize">[repository size]</span></td>
        <td class="rightAlign">
        	<span class="hidden-phone">
        		<span wicket:id="repositoryLinks"></span>
				<a style="text-decoration: none;" wicket:id="syndication" wicket:message="title:gb.feed">
					<img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img>
				</a>
			</span>
		</td>				
	</wicket:fragment>
	
</wicket:panel>
</body>
</html>