diff --git a/assets/html/index.html b/assets/html/index.html index f1f3864..710f123 100644 --- a/assets/html/index.html +++ b/assets/html/index.html @@ -58,7 +58,7 @@ .cell { display: inline-block; - border: 1px solid grey; + border: 2px solid grey; border-radius: 16px; height: 120px; width: 120px; @@ -80,16 +80,16 @@ } .cell-pod-info { - height: 120px; - width: 120px; - border-radius: 16px; + display: inline-block; + position: relative; + text-align: center; } .cell-pod-id { position: absolute; - top: 1px; - left: 1px; - width: 118px; + top: 4px; + left: 4px; + width: 120px; border-radius: 14px 14px 0px 0px; font-family: sans-serif; background: white; @@ -163,8 +163,8 @@ border-right: 2px solid grey; padding-left: .5em; padding-right: .5em; - max-width: 252px !important; - width: 252px !important; + max-width: 258px !important; + width: 258px !important; } .inline { @@ -478,7 +478,7 @@

Faces

// New pod! let podDiv = document.createElement("div") podDiv.id = `cell-pod-${shortName}` - podDiv.className = "cell" + podDiv.className = "cell-pod-info" let podIDDiv = document.createElement("div") podIDDiv.id = `cell-pod-id-${shortName}` @@ -488,7 +488,7 @@

Faces

let podInfoDiv = document.createElement("div") podInfoDiv.id = `cell-pod-info-${shortName}` - podInfoDiv.className = "cell-pod-info" + podInfoDiv.className = "cell" podDiv.appendChild(podInfoDiv) let podSmileySpan = document.createElement("span") diff --git a/pkg/faces/guiserver.go b/pkg/faces/guiserver.go index 6c927cb..e1dfa03 100644 --- a/pkg/faces/guiserver.go +++ b/pkg/faces/guiserver.go @@ -118,7 +118,7 @@ func (srv *GUIServer) guiGetHandler(w http.ResponseWriter, r *http.Request) { rtext = strings.ReplaceAll(rtext, "%%{hide_key}", fmt.Sprintf("%v", srv.hideKey)) rtext = strings.ReplaceAll(rtext, "%%{show_pods}", fmt.Sprintf("%v", srv.showPods)) rtext = strings.ReplaceAll(rtext, "%%{user}", user) - rtext = strings.ReplaceAll(rtext, "%%{user_Agent}", userAgent) + rtext = strings.ReplaceAll(rtext, "%%{user_agent}", userAgent) } } else if strings.HasPrefix(r.URL.Path, "/face/") { // /face/ is a special case: we forward it to the face workload. This is