~/selfhut

selfhut/templates/repository/file.html.hbs -rw-r--r-- 2.47 kB
7dbdfabf — arthurmelton I did alot, I should have commited more 2 years ago

            
7dbdfabf arthurmelton
beb58dd0 Arthur Melton
070efc51 Arthur Melton
7dbdfabf arthurmelton
070efc51 Arthur Melton
7dbdfabf arthurmelton
7dbdfabf arthurmelton
1268e21e Arthur Melton
7dbdfabf arthurmelton
beb58dd0 Arthur Melton
070efc51 Arthur Melton
beb58dd0 Arthur Melton
070efc51 Arthur Melton
beb58dd0 Arthur Melton
070efc51 Arthur Melton
7dbdfabf arthurmelton
070efc51 Arthur Melton
7dbdfabf arthurmelton
070efc51 Arthur Melton
7dbdfabf arthurmelton
beb58dd0 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
{{#*inline "page"}}
{{> navbar}}
<div class="header-extension" style="margin-bottom: 0;">
	<div class="container-fluid tree-header">
		<div class="breadcrumb">
      {{repo}}{{current_dir}}
			<span class="text-muted" style="margin-left: 1rem">
			<span title="{{files.0.properties_int}}">
            {{files.0.properties}}
			</span>
            <span title="{{files.0.size}}">
                {{files.0.size}}
            </span>
			</span>
			<div class="blob-nav" style="margin-left: 1rem">
				<ul class="nav nav-tabs">
					<li class="nav-item">
						<a class="nav-link active" href="/{{repo}}/tree/{{branch}}{{current_dir}}">View</a>
					</li>
					<li class="nav-item">
						<a class="nav-link" href="/{{repo}}/log/{{branch}}{{current_dir}}">Log</a>
					</li>
					<li class="nav-item">
						<a class="nav-link" href="/{{repo}}/raw/{{branch}}{{current_dir}}">Blame</a>
					</li>
					<li class="nav-item">
						<a class="nav-link" href="/{{repo}}/blob/{{branch}}{{current_dir}}">View Raw</a>
					</li>
				</ul>
			</div>
		</div>
    {{#if commit}}
      <div class="commit-info">
        <a href="/{{repo}}/commit/{{branch}}">{{commit.commit_hash_short}}</a> —
        {{commit.commitie}}
        {{commit.commit}}
        <span class="text-muted">
        <span title="{{commit.time_utc}}">{{commit.time_relitive}}</span>
        </span>
      </div>
    {{/if}}
	</div>
</div>
<div class="container-fluid code-viewport">
    <div class="row" style="margin-right: 0;">
        <div class="col-md-12 code-view">
<pre class="lines">
{{#each lines}}
<a href="#L{{this}}" id="L{{this}}">{{this}}</a>
{{/each}}
</pre>
            <div class="highlight">
            {{#if files.1}}
            {{{content}}}
            {{else}}
            <div style="padding: 1rem">
                <p> 
                    {{files.0.size}} Binary file not shown.
                </p>
                <p>
                        <a class="btn btn-primary" href="/{{repo}}/blob/{{branch}}{{current_dir}}" rel="nofollow">Download <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>
                </p>
            </div>
            {{/if}}
            </div>
        </div>
    </div>
</div>
{{/inline}}
{{> layout}}