summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/RepositoryPage.html
blob: 63a894dad320ae265e1eada55c1dc69fdac07814 (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
<!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:extend>
		<!-- page nav links -->
		<div class="navbar navbar-fixed-top">
			<div class="navbar-inner">
				<div class="container">
					<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            			<span class="icon-bar"></span>
            			<span class="icon-bar"></span>
            			<span class="icon-bar"></span>
          			</a>
					<a class="brand" wicket:id="rootLink">
						<img src="gitblt_25_white.png" width="79" height="25" alt="gitblit" class="logo"/>
					</a>
				
					<div class="nav-collapse" wicket:id="navPanel"></div>
				
					<a class="hidden-phone hidden-tablet brand" 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>
				
					<form class="hidden-phone hidden-tablet pull-right" style="margin-top:10px;" wicket:id="searchForm">
						<span class="search">
							<select class="small" wicket:id="searchType"/>			
							<input type="text" id="searchBox" wicket:id="searchBox" value=""/>
						</span>
					</form>
				</div>
			</div>
		</div>
				
		<!-- page content -->
		<div class="container">
			<div style="text-align:center;" wicket:id="feedback">[Feedback Panel]</div>

			<!-- page header -->
			<div class="pageTitle">
				<div class="row">
					<div class="controls">
						<span wicket:id="workingCopyIndicator"></span>
						<span class="hidden-phone hidden-tablet" wicket:id="forksProhibitedIndicator"></span>
						<div class="hidden-phone btn-group pull-right">
							<!-- future spot for other repo buttons -->
							<a class="btn btn-info" wicket:id="myForkLink"><img style="border:0px;vertical-align:middle;" src="fork_16x16.png"></img> <wicket:message key="gb.myFork"></wicket:message></a>
							<a class="btn btn-info" wicket:id="forkLink"><img style="border:0px;vertical-align:middle;" src="fork_16x16.png"></img> <wicket:message key="gb.fork"></wicket:message></a>
						</div>
					</div>
					<div class="span7">
						<div><span class="project" wicket:id="projectTitle">[project title]</span>/<span class="repository" wicket:id="repositoryName">[repository name]</span> <span class="hidden-phone"><span wicket:id="pageName">[page name]</span></span></div>
						<span wicket:id="originRepository">[origin repository]</span>
					</div>
				</div>
			</div>

			<wicket:child />
		</div>
		
		<wicket:fragment wicket:id="originFragment">
			<p class="originRepository"><wicket:message key="gb.forkedFrom">[forked from]</wicket:message> <span wicket:id="originRepository">[origin repository]</span></p>
		</wicket:fragment>
		
		<wicket:fragment wicket:id="workingCopyFragment">
			<div class="pull-right" style="padding-top:0px;margin-bottom:0px;padding-left:5px">
				<span class="alert alert-info" style="padding: 6px 14px 6px 14px;vertical-align: middle;"><i class="icon-exclamation-sign"></i>&nbsp;<span class="hidden-phone" wicket:id="workingCopy" style="font-weight:bold;">[working copy]</span></span>
			</div>
		</wicket:fragment>

		<wicket:fragment wicket:id="forksProhibitedFragment">
			<div class="pull-right" style="padding-top:0px;margin-bottom:0px;padding-left:5px">
				<span class="alert alert-error" style="padding: 6px 14px 6px 14px;vertical-align: middle;"><i class="icon-ban-circle"></i>&nbsp;<span class="hidden-phone" wicket:id="forksProhibited" style="font-weight:bold;">[forks prohibited]</span></span>
			</div>
		</wicket:fragment>
		
	</wicket:extend>
</body>
</html>