Make it possible to select revision numbers on build.webkit.org/dashboard

https://bugs.webkit.org/show_bug.cgi?id=124400

Reviewed by Timothy Hatcher.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
(BuildbotQueueView.prototype.revisionLinksForIteration):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
(.selectable):
Add a child span to the trac link, which has '-webkit-user-select: all' on it.
This way, a Dashboard user can highlight revision numbers for easy copying,
and doesn't even have to be precise about the selection.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0ae08b42
......@@ -77,8 +77,14 @@ BuildbotQueueView.prototype = {
{
var linkElement = document.createElement("a");
linkElement.href = iteration.queue.buildbot.tracRevisionURL(revision, internal);
linkElement.textContent = "r" + revision;
linkElement.target = "_blank";
linkElement.textContent = "r";
var revisionLabel = document.createElement("span");
revisionLabel.classList.add("selectable");
revisionLabel.textContent = revision;
linkElement.appendChild(revisionLabel);
return linkElement;
}
......
......@@ -34,6 +34,10 @@ a:link {
cursor: pointer;
}
.selectable {
-webkit-user-select: all;
}
body {
background-color: rgb(233, 231, 223);
text-align: center;
......
2013-11-15 Tim Horton <timothy_horton@apple.com>
Make it possible to select revision numbers on build.webkit.org/dashboard
https://bugs.webkit.org/show_bug.cgi?id=124400
Reviewed by Timothy Hatcher.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
(BuildbotQueueView.prototype.revisionLinksForIteration):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
(.selectable):
Add a child span to the trac link, which has '-webkit-user-select: all' on it.
This way, a Dashboard user can highlight revision numbers for easy copying,
and doesn't even have to be precise about the selection.
2013-11-15 Tim Horton <timothy_horton@apple.com>
Adjust and add retina versions of EFL and GTK build.webkit.org/dashboard icons
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment