Work on CSS management
This commit is contained in:
@@ -21,6 +21,7 @@ class IWLADisplayTopHits(IPlugin):
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('All Hits', ['URI', 'Entrance'])
|
||||
table.setColsCSSClass(['', 'iwla_hit'])
|
||||
for (uri, entrance) in top_hits:
|
||||
table.appendRow([uri, entrance])
|
||||
page.appendBlock(table)
|
||||
@@ -34,6 +35,7 @@ class IWLADisplayTopHits(IPlugin):
|
||||
index = self.iwla.getDisplayIndex()
|
||||
|
||||
table = DisplayHTMLBlockTable(title, ['URI', 'Entrance'])
|
||||
table.setColsCSSClass(['', 'iwla_hit'])
|
||||
for (uri, entrance) in top_hits[:10]:
|
||||
table.appendRow([uri, entrance])
|
||||
index.appendBlock(table)
|
||||
|
||||
Reference in New Issue
Block a user