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:
Ricky Chien 2016-05-17 11:52:35 +08:00
parent b7fa00b590
commit 5a684079ac
3 changed files with 11 additions and 3 deletions

View File

@ -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;
}

View File

@ -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))
)
);
}

View File

@ -27,5 +27,6 @@ otherWorkers = Other Workers
tabs = Tabs
pageNotFound = Page not found
doesNotExist = #%S does not exist!
nothing = Nothing yet.