aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/html/pages/style.css4
-rw-r--r--pkg/subsystem/service.go8
2 files changed, 10 insertions, 2 deletions
diff --git a/pkg/html/pages/style.css b/pkg/html/pages/style.css
index aecde7554..ebeb7d012 100644
--- a/pkg/html/pages/style.css
+++ b/pkg/html/pages/style.css
@@ -140,8 +140,8 @@ table td, table th {
}
.list_table .maintainers {
- width: 150pt;
- max-width: 150pt;
+ max-width: 300pt;
+ white-space: normal;
}
.list_table .result {
diff --git a/pkg/subsystem/service.go b/pkg/subsystem/service.go
index b27200c30..d8c144cc4 100644
--- a/pkg/subsystem/service.go
+++ b/pkg/subsystem/service.go
@@ -45,3 +45,11 @@ func MakeService(list []*Subsystem) (*Service, error) {
func (s *Service) ByName(name string) *Subsystem {
return s.perName[name]
}
+
+func (s *Service) List() []*Subsystem {
+ ret := []*Subsystem{}
+ for _, item := range s.perName {
+ ret = append(ret, item)
+ }
+ return ret
+}