mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 1273076 - Show more details in about:debugging#invalid-hash. r=jdescottes
MozReview-Commit-ID: EbQvxXBixRe --HG-- extra : rebase_source : d336ac52d260fdf5949e89bac8f62bce0c8489ff
This commit is contained in:
parent
b7fa00b590
commit
5a684079ac
@ -136,10 +136,15 @@ button {
|
||||
margin: 0 5px 5px 0;
|
||||
}
|
||||
|
||||
.page-not-found {
|
||||
.error-page {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.error-page .error-page-details {
|
||||
color: gray;
|
||||
}
|
||||
|
@ -83,10 +83,12 @@ module.exports = createClass({
|
||||
panel = selectedPanel.component({ client, id: selectedPanel.id });
|
||||
} else {
|
||||
panel = (
|
||||
dom.div({ className: "page-not-found" },
|
||||
dom.div({ className: "error-page" },
|
||||
dom.h1({ className: "header-name" },
|
||||
Strings.GetStringFromName("pageNotFound")
|
||||
)
|
||||
),
|
||||
dom.h4({ className: "error-page-details" },
|
||||
Strings.formatStringFromName("doesNotExist", [selectedPanelId], 1))
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -27,5 +27,6 @@ otherWorkers = Other Workers
|
||||
tabs = Tabs
|
||||
|
||||
pageNotFound = Page not found
|
||||
doesNotExist = #%S does not exist!
|
||||
|
||||
nothing = Nothing yet.
|
||||
|
Loading…
x
Reference in New Issue
Block a user