Skip to content

Commit

Permalink
improve: webui font, docker workflow latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
paepckehh committed Nov 25, 2024
1 parent e13e670 commit 842f9fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: ghcr.io/paepckehh/opnborg
tags: ghcr.io/paepckehh/opnborg:latest
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

// global exported consts
const SemVer = "v0.1.40"
const SemVer = "v0.1.41"

// global var
var (
Expand Down
6 changes: 3 additions & 3 deletions setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ func Setup() (*OPNCall, error) {
var s strings.Builder
s.WriteString("<head>" + _lf + "<title>" + _app + "</title>" + _lf)
s.WriteString("<meta charset=\"UTF-8\">" + _lf)
s.WriteString("<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">" + _lf)
s.WriteString("<link rel=\"icon\" type=\"image/png\" href=\"favicon.ico\">" + _lf)
s.WriteString(" <style>" + _lf)
s.WriteString(" table,th,td{" + _lf)
s.WriteString(" border: 1px solid " + config.Httpd.Color.FG + "; border-collapse: collapse; padding: 8px;}" + _lf)
s.WriteString(" body{color: " + config.Httpd.Color.FG + ";background-color: " + config.Httpd.Color.BG + ";}" + _lf)
s.WriteString(" table,th,td{border: 1px solid " + config.Httpd.Color.FG + "; border-collapse: collapse; padding: 8px;}" + _lf)
s.WriteString(" body{font-family:sans-serif;color: " + config.Httpd.Color.FG + ";background-color: " + config.Httpd.Color.BG + ";}" + _lf)
s.WriteString(" </style>" + _lf)
_head = s.String() + "<meta http-equiv=\"refresh\" contenti=\"15\">" + _lf + "</head>" + _lf
_headForce := s.String() + "<meta http-equiv=\"refresh\" content=\"8; url='../'\">" + _lf + "</head>" + _lf
Expand Down

0 comments on commit 842f9fe

Please sign in to comment.