alpha
Login
or
Join now
alice.pds.demo.boltless.dev
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
2
Pulls
1
Pipelines
appview/pages: fmt diffOpts template
author
oppiliappan
committer
did:plc:wshs7t2adsemcrrd4snkeq…
date
6 months ago
(Jan 17, 2026, 2:45 PM UTC)
commit
3208cb50
3208cb507f6ddc656ed70470996db52a8bd9b557
parent
f2f6c80b
f2f6c80bead623675017a337b7634afd6a236f04
change-id
ymxqkvum
ymxqkvumlyzqqpzpykpsknlqnyvunmmq
+22
-25
1 changed file
Expand all
Collapse all
Unified
Split
appview
pages
templates
repo
fragments
diffOpts.html
+22
-25
appview/pages/templates/repo/fragments/diffOpts.html
View file
Reviewed
···
1
1
{{ define "repo/fragments/diffOpts" }}
2
2
-
<section class="flex flex-col gap-2 overflow-x-auto text-sm px-6 py-2 border border-gray-200 dark:border-gray-700 w-full mx-auto rounded bg-white dark:bg-gray-800 drop-shadow-sm">
3
3
-
<strong class="text-sm uppercase dark:text-gray-200">options</strong>
4
4
-
{{ $active := "unified" }}
5
5
-
{{ if .Split }}
6
6
-
{{ $active = "split" }}
7
7
-
{{ end }}
2
2
+
{{ $active := "unified" }}
3
3
+
{{ if .Split }}
4
4
+
{{ $active = "split" }}
5
5
+
{{ end }}
8
6
9
9
-
{{ $unified :=
10
10
-
(dict
11
11
-
"Key" "unified"
12
12
-
"Value" "unified"
13
13
-
"Icon" "square-split-vertical"
14
14
-
"Meta" "") }}
15
15
-
{{ $split :=
16
16
-
(dict
17
17
-
"Key" "split"
18
18
-
"Value" "split"
19
19
-
"Icon" "square-split-horizontal"
20
20
-
"Meta" "") }}
21
21
-
{{ $values := list $unified $split }}
7
7
+
{{ $unified :=
8
8
+
(dict
9
9
+
"Key" "unified"
10
10
+
"Value" "unified"
11
11
+
"Icon" "square-split-vertical"
12
12
+
"Meta" "") }}
13
13
+
{{ $split :=
14
14
+
(dict
15
15
+
"Key" "split"
16
16
+
"Value" "split"
17
17
+
"Icon" "square-split-horizontal"
18
18
+
"Meta" "") }}
19
19
+
{{ $values := list $unified $split }}
22
20
23
23
-
{{ template "fragments/tabSelector"
24
24
-
(dict
25
25
-
"Name" "diff"
26
26
-
"Values" $values
27
27
-
"Active" $active) }}
28
28
-
</section>
21
21
+
{{ template "fragments/tabSelector"
22
22
+
(dict
23
23
+
"Name" "diff"
24
24
+
"Values" $values
25
25
+
"Active" $active) }}
29
26
{{ end }}
30
27