iwla

iwla Commit Details

Date:2015-03-02 18:32:15 (6 years 5 months ago)
Author:Grégory Soutadé
Branch:dev, master
Commit:6949235fc450c1dd3fdf3b142826c66e71660a10
Parents: ab1167c621d99cfb022c932613b279c0ae5f397e
Message:Some CSS classes where not set

Changes:
Mplugins/display/feeds.py (1 diff)
Mplugins/display/track_users.py (2 diffs)

File differences

plugins/display/feeds.py
7373
7474
7575
76
7677
7778
7879
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
plugins/display/track_users.py
7474
7575
7676
77
77
78
7879
7980
8081
......
110111
111112
112113
114
113115
114116
115117
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():
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():

Archive Download the corresponding diff file

Branches

Tags