~/selfhut

selfhut/templates/repository/summary.html.hbs -rw-r--r-- 2.75 kB
070efc51 — Arthur Melton format html 2 years ago

            
ef55c0da arthurmelton
070efc51 Arthur Melton
ef55c0da arthurmelton
070efc51 Arthur Melton
b1605a54 Arthur Melton
070efc51 Arthur Melton
ef55c0da arthurmelton
b1605a54 Arthur Melton













































































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
{{#*inline "page"}}
{{> navbar}}
{{#if config.description}}
<div class="header-extension">
	<div class="container">{{config.description}}</div>
</div>
{{/if}}
<div class="container">
	<div class="row" style="margin-bottom: 1rem">
		{{#if preview}}
		<div class="col-md-6">
			<div class="event-list" style="margin-bottom: 0.5rem">
				{{#each preview}} 
				<div class="event">
					<div>
						<a href="/{{../repo}}/commit/{{this.commit_hash}}" title="{{this.commit_hash}}">{{this.commit_hash_short}}</a>
						— {{this.commitie}}
						<small class="pull-right">
						<a href="/{{../repo}}/log?from={{this.commit_hash}}#log-{{this.commit_hash}}" id="log-{{this.commit_hash}}"><span title="{{this.time_utc}}">{{this.time_relitive}}</span></a>
						</small>
					</div>
					<pre class="commit">{{this.commit}}</pre>
				</div>
				{{/each}}
			</div>
		</div>
		{{/if}}
		<div class="col-md-6">
			<div class="row">
				<div class="col-md-4">
					<h3>refs</h3>
					<dl>
						<dt>{{main_branch}}</dt>
						<dd>
							<a href="/{{repo}}/tree">
								browse&nbsp;
								<span aria-hidden="true" class="icon icon-caret-right">
									<svg viewBox="0 0 192 512" xmlns="http://www.w3.org/2000/svg">
										<path d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"></path>
									</svg>
								</span>
							</a>
							<a href="/{{repo}}/log">
								log&nbsp;
								<span aria-hidden="true" class="icon icon-caret-right">
									<svg viewBox="0 0 192 512" xmlns="http://www.w3.org/2000/svg">
										<path d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"></path>
									</svg>
								</span>
							</a>
						</dd>
						{{#if tag}}
						<dt>ref</dt>
						<dd>
							<a href="/{{repo}}/refs/{{tag}}">
								release notes&nbsp;
								<span aria-hidden="true" class="icon icon-caret-right">
									<svg viewBox="0 0 192 512" xmlns="http://www.w3.org/2000/svg">
										<path d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"></path>
									</svg>
								</span>
							</a>
						</dd>
						{{/if}}
					</dl>
				</div>
				<div class="col-md-8">
					<h3>clone</h3>
					<dl>
						<dd><a href="https://{{domain}}/{{repo}}">https://{{domain}}/{{repo}}</a></dd>
					</dl>
				</div>
			</div>
		</div>
	</div>
	<div class="row" style="margin-bottom: 1m">
	</div>
	<div class="row" id="readme">
		<div class="col-md-10">
			{{{readme}}}
		</div>
	</div>
</div>
{{/inline}}
{{> layout}}