mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:17:59 +01:00
use the hl-Title class for the completion widget title
This commit is contained in:
@@ -278,7 +278,7 @@ const liberator = (function () //{{{
|
||||
var usage = "<table>";
|
||||
for (let command in liberator.commands)
|
||||
{
|
||||
usage += "<tr><td style=\"padding-right: 20px\" class=\"hl-Title\"> :" +
|
||||
usage += "<tr><td class=\"hl-Title\" style=\"padding-right: 20px\"> :" +
|
||||
liberator.util.escapeHTML(command.name) + "</td><td>" +
|
||||
liberator.util.escapeHTML(command.description) + "</td></tr>";
|
||||
}
|
||||
@@ -430,7 +430,7 @@ const liberator = (function () //{{{
|
||||
|
||||
var str = ":" + liberator.util.escapeHTML(liberator.commandline.getCommand()) + "<br/>" +
|
||||
"<table>" +
|
||||
"<tr align=\"left\" class=\"hl-Title\"><th colspan=\"3\">Code execution summary</th></tr>" +
|
||||
"<tr class=\"hl-Title\" align=\"left\"><th colspan=\"3\">Code execution summary</th></tr>" +
|
||||
"<tr><td> Executed:</td><td align=\"right\"><span style=\"color: green\">" + count + "</span></td><td>times</td></tr>" +
|
||||
"<tr><td> Average time:</td><td align=\"right\"><span style=\"color: green\">" + each.toFixed(2) + "</span></td><td>" + eachUnits + "</td></tr>" +
|
||||
"<tr><td> Total time:</td><td align=\"right\"><span style=\"color: red\">" + total.toFixed(2) + "</span></td><td>" + totalUnits + "</td></tr>" +
|
||||
@@ -499,7 +499,7 @@ const liberator = (function () //{{{
|
||||
var usage = "<table>";
|
||||
for (let mapping in liberator.mappings)
|
||||
{
|
||||
usage += "<tr><td style=\"padding-right: 20px\" class=\"hl-Title\"> " +
|
||||
usage += "<tr><td class=\"hl-Title\" style=\"padding-right: 20px\"> " +
|
||||
liberator.util.escapeHTML(mapping.names[0]) + "</td><td>" +
|
||||
liberator.util.escapeHTML(mapping.description) + "</td></tr>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user