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