1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:07:58 +01:00

use hl-Title class for titles in :jumps, :autocmd, :viusage and :exusage MOW

output
This commit is contained in:
Doug Kearns
2008-09-08 15:55:44 +00:00
parent 6973f661bf
commit 0f444d3e2f
3 changed files with 5 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ liberator.Bookmarks = function () //{{{
{
var sh = getWebNavigation().sessionHistory;
var list = ":" + (liberator.util.escapeHTML(liberator.commandline.getCommand()) || "jumps") + "<br/>" + "<table>";
list += "<tr style=\"text-align: left; color: magenta; font-weight: bold;\"><th colspan=\"2\">jump</th><th>title</th><th>URI</th></tr>";
list += "<tr style=\"text-align: left;\" class=\"hl-Title\"><th colspan=\"2\">jump</th><th>title</th><th>URI</th></tr>";
var num = -sh.index;
for (var i = 0; i < sh.count; i++)

View File

@@ -192,7 +192,7 @@ liberator.AutoCommands = function () //{{{
list: function (auEvent, regex) // arguments are filters (NULL = all)
{
var flag;
var list = "<table><tr><td style='font-weight: bold;' colspan='2'>---- Auto-Commands ----</td></tr>";
var list = "<table><tr><td class=\"hl-Title\" colspan=\"2\">---- Auto-Commands ----</td></tr>";
for (var item in autoCommands)
{
flag = true;
@@ -204,7 +204,7 @@ liberator.AutoCommands = function () //{{{
{
if (flag == true)
{
list += "<tr><td style='font-weight: bold;' colspan='2'>" +
list += "<tr><td class=\"hl-Title\" colspan=\"2\">" +
liberator.util.escapeHTML(item) + "</td></tr>";
flag = false;
}

View File

@@ -261,7 +261,7 @@ const liberator = (function () //{{{
var usage = "<table>";
for (let command in liberator.commands)
{
usage += "<tr><td style='color: magenta; padding-right: 20px'> :" +
usage += "<tr><td style=\"padding-right: 20px\" class=\"hl-Title\"> :" +
liberator.util.escapeHTML(command.name) + "</td><td>" +
liberator.util.escapeHTML(command.description) + "</td></tr>";
}
@@ -465,7 +465,7 @@ const liberator = (function () //{{{
var usage = "<table>";
for (let mapping in liberator.mappings)
{
usage += "<tr><td style='color: magenta; padding-right: 20px'> " +
usage += "<tr><td style=\"padding-right: 20px\" class=\"hl-Title\"> " +
liberator.util.escapeHTML(mapping.names[0]) + "</td><td>" +
liberator.util.escapeHTML(mapping.description) + "</td></tr>";
}