Exemplo n.º 1
0
 def _process(self):
     metadata_query = _get_metadata_query()
     realms = {realm.name: realm.title for realm in EventLogRealm}
     return WPEventLogs.render_template('logs.html',
                                        self.event,
                                        realms=realms,
                                        metadata_query=metadata_query)
Exemplo n.º 2
0
 def _process(self):
     entries = self.event.log_entries.order_by(
         EventLogEntry.logged_dt.desc()).all()
     realms = {e.realm for e in entries}
     return WPEventLogs.render_template('logs.html',
                                        self.event,
                                        entries=entries,
                                        realms=realms)
Exemplo n.º 3
0
 def _process(self):
     entries = EventLogEntry.find(event_id=int(self._conf.id)).order_by(EventLogEntry.logged_dt.desc()).all()
     realms = {e.realm for e in entries}
     return WPEventLogs.render_template('logs.html', self._conf, entries=entries, realms=realms)
Exemplo n.º 4
0
 def _process(self):
     entries = self.event_new.log_entries.order_by(EventLogEntry.logged_dt.desc()).all()
     realms = {e.realm for e in entries}
     return WPEventLogs.render_template('logs.html', self._conf, entries=entries, realms=realms)
Exemplo n.º 5
0
 def _process(self):
     realms = {realm.name: realm.title for realm in EventLogRealm}
     return WPEventLogs.render_template('logs.html', self.event, realms=realms)
Exemplo n.º 6
0
 def _process(self):
     realms = {realm.name: realm.title for realm in EventLogRealm}
     return WPEventLogs.render_template('logs.html', self.event, realms=realms)