fix: link to active connection
This commit is contained in:
parent
d315b70011
commit
cf85dfa039
|
@ -25,7 +25,7 @@ steps:
|
|||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
commands:
|
||||
- go build -ldflags "-s -w" -o build/sshfwd ./cmd/sshfwd
|
||||
- go build -ldflags "-s -w" -o build/sshfwd .
|
||||
|
||||
- name: compress
|
||||
image: gruebel/upx:latest
|
||||
|
|
|
@ -45,9 +45,9 @@
|
|||
|
||||
<div style='float:right'>
|
||||
{{ if $user.Active }}
|
||||
<a href="/user/{{ $user.Name }}" class='btn btn-success'>Active</a>
|
||||
<a href="https://{{ $user.Name }}.{{ $args.DomainName }}" class='btn btn-success'>Active</a>
|
||||
{{ else }}
|
||||
<a href="/user/{{ $user.Name }}" class='btn btn-danger'>Disconnected</a>
|
||||
<button disabled class='btn btn-danger'>Disconnected</button>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user