File tree 2 files changed +18
-9
lines changed
2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,12 @@ <h4>Config</h4>
70
70
</ form >
71
71
{{ end }}
72
72
73
- < button hx-post ="/endpoints/{{$val.ID}}/test " data-loading-disable data-loading-aria-busy > Test Endpoint</ button >
73
+ < form method ="post " action ="/endpoints/{{$val.ID}}/test " hx-post ="/endpoints/{{$val.ID}}/test "
74
+ class ="pico-form-reset ">
75
+ < button type ="submit " data-loading-disable data-loading-aria-busy >
76
+ Test Endpoint
77
+ </ button >
78
+ </ form >
74
79
</ article >
75
80
{{end}}
76
81
</ main >
Original file line number Diff line number Diff line change @@ -12,14 +12,18 @@ <h2>Recent Envelopes</h2>
12
12
< h2 > Storage</ h2 >
13
13
< figure > {{template "p/storage-table" .}}</ figure >
14
14
< div class ="grid ">
15
- < button hx-post ="/vacuum " data-loading-path ="/vacuum " data-loading-disable data-loading-aria-busy
16
- title ="Rebuild database file to take the minimal amount of disk space. ">
17
- Vacuum Database
18
- </ button >
19
- < button hx-post ="/trim " data-loading-path ="/trim " data-loading-disable data-loading-aria-busy
20
- title ="Apply retention policy against data. ">
21
- Trim Data
22
- </ button >
15
+ < form method ="post " action ="/vacuum " hx-post ="/vacuum " class ="pico-form-reset ">
16
+ < button data-loading-path ="/vacuum " data-loading-disable data-loading-aria-busy
17
+ title ="Rebuild database file to take the minimal amount of disk space. ">
18
+ Vacuum Database
19
+ </ button >
20
+ </ form >
21
+ < form method ="post " action ="/trim " hx-post ="/trim " class ="pico-form-reset ">
22
+ < button hx-post ="/trim " data-loading-path ="/trim " data-loading-disable data-loading-aria-busy
23
+ title ="Apply retention policy against data. ">
24
+ Trim Data
25
+ </ button >
26
+ </ form >
23
27
< button hx-delete ="/envelopes " data-loading-path ="/envelopes " data-loading-disable data-loading-aria-busy
24
28
hx-confirm ="Are you sure you wish to delete all envelopes? " class ="contrast ">
25
29
Delete Envelopes
You can’t perform that action at this time.
0 commit comments