B: left align job name in build header
@@ -65,6 +65,7 @@ type BuildDuration
, duration : Timespan
}
+
type Timestamp
= Absolute String (Maybe Timespan)
| Relative Timespan String
@@ -192,6 +193,7 @@ viewDuration buildDuration =
]
]
+
viewTimestamp : Timestamp -> Html Message
viewTimestamp timestamp =
case timestamp of
@@ -368,6 +370,7 @@ viewTitle name jobID createdBy =
style "line-height" <|
if hasCreatedBy then
"44px"
+
else
"60px"
in
@@ -403,13 +406,13 @@ viewTitle name jobID createdBy =
, style "line-height" "16px"
, style "right" "0"
, style "left" "0"
- , style "text-align" "right"
, style "text-overflow" "ellipsis"
, style "white-space" "nowrap"
, style "overflow" "hidden"
, title text
]
[ Html.text text ]
+
Nothing ->
Html.text ""
@@ -425,9 +428,7 @@ viewTitle name jobID createdBy =
)
]
++ (if hasCreatedBy then
- [ style "min-width" "100px"
- , style "text-align" "right"
- ]
+ [ style "min-width" "100px" ]
else
[]
@@ -435,6 +436,7 @@ viewTitle name jobID createdBy =
in
Html.h1 headerStyle [ buildName, createdByText ]
+
viewHistory : BuildStatus -> List BuildTab -> Html Message
viewHistory backgroundColor =
lazyViewHistory backgroundColor
