File tree 5 files changed +11
-11
lines changed
5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ func (b Build) CommitURL() string {
14
14
}
15
15
16
16
func (b Build ) LicenseURL () string {
17
- return b .CommitURL () + "/LICENSE"
17
+ return b .RepoURL + "/blob/master /LICENSE"
18
18
}
19
19
20
20
var Current Build
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export default defineConfig({
27
27
theme : {
28
28
colors : {
29
29
'pico' : {
30
+ 'card' : 'var(--card-background-color)' ,
30
31
'background' : 'var(--background-color)' ,
31
32
}
32
33
} ,
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ <h2>Storage</h2>
16
16
title ="Rebuild database file to take the minimal amount of disk space. ">
17
17
Vacuum Database
18
18
</ button >
19
- < button hx-post ="/trim " data-loading-path ="/trim " data-loading-disable data-loading-aria-busy >
19
+ < button hx-post ="/trim " data-loading-path ="/trim " data-loading-disable data-loading-aria-busy
20
+ title ="Apply retention policy against data. ">
20
21
Trim Data
21
22
</ button >
22
23
< button hx-delete ="/envelopes " data-loading-path ="/envelopes " data-loading-disable data-loading-aria-busy
@@ -37,19 +38,19 @@ <h2>Retention Policy</h2>
37
38
</ tr >
38
39
{{if not (eq .RetentionPolicy.EnvelopeCount nil)}}
39
40
< tr >
40
- < th scope ="row "> < strong > Envelope Count</ strong > </ th >
41
+ < th scope ="row "> < strong > Total Envelope Count</ strong > </ th >
41
42
< td > {{.RetentionPolicy.EnvelopeCount}}</ td >
42
43
</ tr >
43
44
{{end}}
44
45
{{if not (eq .RetentionPolicy.EnvelopeAge nil)}}
45
46
< tr >
46
- < th scope ="row "> < strong > Envelope Age</ strong > </ th >
47
+ < th scope ="row "> < strong > Total Envelope Age</ strong > </ th >
47
48
< td > {{.RetentionPolicy.EnvelopeAge}}</ td >
48
49
</ tr >
49
50
{{end}}
50
51
{{if not (eq .RetentionPolicy.AttachmentSize nil)}}
51
52
< tr >
52
- < th scope ="row "> < strong > Attachment Size</ strong > </ th >
53
+ < th scope ="row "> < strong > Total Attachment Size</ strong > </ th >
53
54
< td > {{bytesHumanize .RetentionPolicy.AttachmentSize}}</ td >
54
55
</ tr >
55
56
{{end}}
Original file line number Diff line number Diff line change 1
1
{{if .IsImage}}
2
- < a href ="/files/{{.FileName}} ">
3
- < img src ="/files/{{.FileName}} " alt ="{{.FileName}} ">
2
+ < a href =" /files/{{.FileName}}" class =" flex bg-pico-card shadow ">
3
+ < img src ="/files/{{.FileName}} " alt ="{{.FileName}} " class =" mx-auto " >
4
4
</ a >
5
- {{else}}
6
- < h2 > {{.Name}}</ h2 >
7
5
{{end}}
8
6
9
7
< div class ="grid mt-2 ">
10
- {{if .IsImage}}
11
8
< div class ="flex flex-items-center ">
12
9
< b class ="break-all ">
13
10
{{.Name}}
14
11
</ b >
15
12
</ div >
16
- {{end}}
17
13
< nav >
18
14
< ul > </ ul >
19
15
< ul class ="flex-wrap ">
You can’t perform that action at this time.
0 commit comments