summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.html
blob: 54c1e92b669d2c7d72db7a584057b577eb42f08a (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
<!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"> 

<wicket:panel>
	<wicket:fragment wicket:id="repositoryAdminLinks">
		<span class="link">
			<a wicket:id="tree"><wicket:message key="gb.tree"></wicket:message></a>
			| <a wicket:id="log"><wicket:message key="gb.log"></wicket:message></a>
			| <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="tree"><wicket:message key="gb.tree"></wicket:message></a>
			| <a wicket:id="log"><wicket:message key="gb.log"></wicket:message></a>
			| <a wicket:id="editRepository"><wicket:message key="gb.edit">[edit]</wicket:message></a>
		</span>
	</wicket:fragment>

	<wicket:fragment wicket:id="repositoryUserLinks">
		<span class="link">
			<a wicket:id="tree"><wicket:message key="gb.tree"></wicket:message></a>
			| <a wicket:id="log"><wicket:message key="gb.log"></wicket:message></a>
		</span>
	</wicket:fragment>

	<wicket:fragment wicket:id="originFragment">
		<p class="originRepository" style="margin-left:20px;" ><wicket:message key="gb.forkedFrom">[forked from]</wicket:message> <span wicket:id="originRepository">[origin repository]</span></p>
	</wicket:fragment>

	<div>
		<div style="padding-top:15px;padding-bottom:15px;margin-right:15px;">
			<div class="pull-right" style="text-align:right;padding-right:15px;">
				<span wicket:id="repositoryLinks"></span>
				<div>
					<img class="inlineIcon" wicket:id="sparkleshareIcon" />
					<img class="inlineIcon" wicket:id="frozenIcon" />
					<img class="inlineIcon" wicket:id="federatedIcon" />
        						
					<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>
				</div>
				<span style="color: #999;font-style:italic;font-size:0.8em;" wicket:id="repositoryOwner">[owner]</span>
			</div>	
			
			<div class="pageTitle" style="border:0px;">
				<div>
					<span class="repositorySwatch" wicket:id="repositorySwatch"></span>
					<span class="repository" style="padding-left:3px;color:black;" wicket:id="repositoryName">[repository name]</span>
				</div>
				<span wicket:id="originRepository">[origin repository]</span>
			</div>
			
			<div style="padding-left:20px;">
				<div style="padding-bottom:10px" wicket:id="repositoryDescription">[repository description]</div>

    			<div style="color: #999;">
					<wicket:message key="gb.lastChange">[last change]</wicket:message> <span wicket:id="repositoryLastChange">[last change]</span>,
					<span style="font-size:0.8em;" wicket:id="repositorySize">[repository size]</span>
				</div>
			</div>
		</div>
	</div>
</wicket:panel>
</html>