Some CSS classes where not set
This commit is contained in:
		| @@ -73,6 +73,7 @@ class IWLADisplayFeeds(IPlugin): | ||||
|  | ||||
|             page = display.createPage(title, path, self.iwla.getConfValue('css_path', [])) | ||||
|             table = display.createBlock(DisplayHTMLBlockTable, self.iwla._(u'All feeds parsers'), [self.iwla._(u'Host'), self.iwla._(u'Pages'), self.iwla._(u'Hits')]) | ||||
|             table.setColsCSSClass(['', 'iwla_page', 'iwla_hit']) | ||||
|             for super_hit in hits.values(): | ||||
|                 if not super_hit['feed_parser']: continue | ||||
|                 nb_feeds_parsers += 1 | ||||
|   | ||||
| @@ -74,7 +74,8 @@ class IWLADisplayTrackUsers(IPlugin): | ||||
|             path = self.iwla.getCurDisplayPath(filename) | ||||
|  | ||||
|             page = display.createPage(title, path, self.iwla.getConfValue('css_path', [])) | ||||
|             table = display.createBlock(DisplayHTMLBlockTable, self.iwla._(u'Tracked users'), [self.iwla._(u'Page'), self.iwla._(u'Last Access')]) | ||||
|             table = display.createBlock(DisplayHTMLBlockTable, self.iwla._(u'Tracked users'), [self.iwla._(u'Pages'), self.iwla._(u'Last Access')]) | ||||
|             table.setColsCSSClass(['iwla_page', '']) | ||||
|             for ip in self.tracked_ip: | ||||
|                 if not ip in hits.keys(): continue | ||||
|                 if 'dns_name_replaced' in hits[ip].keys(): | ||||
| @@ -110,6 +111,7 @@ class IWLADisplayTrackUsers(IPlugin): | ||||
|         index = self.iwla.getDisplayIndex() | ||||
|          | ||||
|         table = display.createBlock(DisplayHTMLBlockTable, title, [self.iwla._(u'IP'), self.iwla._(u'Last Access'), self.iwla._(u'Pages'), self.iwla._(u'Hits')]) | ||||
|         table.setColsCSSClass(['', '', 'iwla_page', 'iwla_hit']) | ||||
|         for ip in self.tracked_ip: | ||||
|             if not ip in hits.keys(): continue | ||||
|             if 'dns_name_replaced' in hits[ip].keys(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user