diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-11-07 16:01:01 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-11-07 16:17:12 +0000 |
| commit | 03be84d2419911264bc718ceaf8e5b2a62551e9e (patch) | |
| tree | 257e82b3fdbfa0eab8702ecf8e5ef517fa697422 /pkg/manager/http.go | |
| parent | 2dd6d2b98a8b56d045e8d7011713f1becd746544 (diff) | |
pkg/manager: move style to CSS file
Move style from the template to the CSS file.
This is how it's done in all other cases,
and it will allow to unify more things in subsequent changes.
Diffstat (limited to 'pkg/manager/http.go')
| -rw-r--r-- | pkg/manager/http.go | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/pkg/manager/http.go b/pkg/manager/http.go index aa54c66eb..37b12458d 100644 --- a/pkg/manager/http.go +++ b/pkg/manager/http.go @@ -1328,14 +1328,6 @@ var jobListTemplate = pages.Create(` <head> <title>{{.Title}}</title> {{HEAD}} -<style> -table td { - max-width: 600pt; - word-break: break-all; - overflow-wrap: break-word; - white-space: normal; -} -</style> </head> <body> @@ -1348,9 +1340,9 @@ table td { </tr> {{range $job := $.Jobs}} <tr> - <td><a href='/jobs?id={{$job.ID}}'>{{$job.Short}}</a></td> - <td>{{$job.Calls}}</td> - <td>{{$job.Execs}}</td> + <td class="job_description"><a href='/jobs?id={{$job.ID}}'>{{$job.Short}}</a></td> + <td class="job_description">{{$job.Calls}}</td> + <td class="job_description">{{$job.Execs}}</td> </tr> {{end}} </table> |
