tangled
alpha
login
or
join now
bad-example.com
/
core
forked from
tangled.org/core
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
allow linking line numbers
oppi.li
11 months ago
2228dc61
44f7d98e
+12
-16
2 changed files
expand all
collapse all
unified
split
appview
pages
templates
repo
blob.html
issues
issue.html
+8
-6
appview/pages/templates/repo/blob.html
···
38
38
{{ else }}
39
39
<div class="overflow-auto relative text-ellipsis">
40
40
{{ range $idx, $line := $lines }}
41
41
+
{{ $linenr := add $idx 1 }}
41
42
<div class="flex">
42
42
-
<span
43
43
-
class="{{ $code_number_style }}"
44
44
-
style="min-width: {{ $tot_chars }}ch;"
45
45
-
>{{ add $idx 1 }}</span
46
46
-
>
47
47
-
<div class="whitespace-pre">{{ $line | escapeHtml }}</div>
43
43
+
<a href="#L{{ $linenr }}" id="L{{ $linenr }}" class="no-underline peer">
44
44
+
<span class="{{ $code_number_style }}"
45
45
+
style="min-width: {{ $tot_chars }}ch;" >
46
46
+
{{ $linenr }}
47
47
+
</span>
48
48
+
</a>
49
49
+
<div class="whitespace-pre peer-target:bg-yellow-200">{{ $line | escapeHtml }}</div>
48
50
</div>
49
51
{{ end }}
50
52
</div>
+4
-10
appview/pages/templates/repo/issues/issue.html
···
16
16
{{ $icon = "circle-dot" }}
17
17
{{ end }}
18
18
19
19
-
20
19
<section>
21
21
-
<div class="flex items-center gap-2">
22
22
-
<div
23
23
-
id="state"
24
24
-
class="inline-flex items-center rounded px-3 py-1 {{ $bgColor }}"
25
25
-
>
26
26
-
<i
27
27
-
data-lucide="{{ $icon }}"
28
28
-
class="w-4 h-4 mr-1.5 text-white"
29
29
-
></i>
20
20
+
<div class="inline-flex items-center gap-2">
21
21
+
<div id="state"
22
22
+
class="inline-flex items-center rounded px-3 py-1 {{ $bgColor }} text-sm">
23
23
+
<i data-lucide="{{ $icon }}" class="w-4 h-4 mr-1.5 text-white" ></i>
30
24
<span class="text-white">{{ .State }}</span>
31
25
</div>
32
26
<span class="text-gray-400 text-sm">