Add First CSS
This commit is contained in:
7
iwla.py
7
iwla.py
@@ -144,6 +144,8 @@ class IWLA(object):
|
||||
def _appendHit(self, hit):
|
||||
remote_addr = hit['remote_addr']
|
||||
|
||||
if not remote_addr: return
|
||||
|
||||
if not remote_addr in self.current_analysis['visits'].keys():
|
||||
self._createVisitor(hit)
|
||||
return
|
||||
@@ -232,7 +234,7 @@ class IWLA(object):
|
||||
page = DisplayHTMLPage(title, filename)
|
||||
|
||||
days = DisplayHTMLBlockTable('By day', ['Day', 'Visits', 'Pages', 'Hits', 'Bandwidth', 'Not viewed Bandwidth'])
|
||||
days.setColsCSSClass(['', 'iwla_visit', 'iwla_page', 'iwla_hit', 'iwla_bandwith', 'iwla_bandwith'])
|
||||
days.setColsCSSClass(['', 'iwla_visit', 'iwla_page', 'iwla_hit', 'iwla_bandwidth', 'iwla_bandwidth'])
|
||||
keys = self.current_analysis['days_stats'].keys()
|
||||
keys.sort()
|
||||
nb_visits = 0
|
||||
@@ -391,7 +393,8 @@ class IWLA(object):
|
||||
if not self._decodeHTTPRequest(hit): return False
|
||||
|
||||
for k in hit.keys():
|
||||
if hit[k] == '-': hit[k] = ''
|
||||
if hit[k] == '-' or hit[k] == '*':
|
||||
hit[k] = ''
|
||||
|
||||
self._appendHit(hit)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user