Code

Make sure to break overly long "words" when displaying attribute values.
[sysdb/webui.git] / templates / metric.tmpl
index a2648017ec47b18e2678dc03979e33a832b245be..40be05c14fa7a3aa02b985e7282ec80f214e0fbf 100644 (file)
@@ -9,7 +9,7 @@
 {{if len $m.Attributes}}
                <tr><th colspan="2">Attributes</th></tr>
        {{range $m.Attributes}}
-               <tr><td>{{.Name}}</td><td>{{.Value}}</td></tr>
+               <tr><td>{{.Name}}</td><td class="value">{{.Value}}</td></tr>
        {{end}}
 {{else}}
                <tr><th colspan="2">No attributes</th></tr>