|
a/bitergiametrics/main.py |
|
b/bitergiametrics/main.py |
|
... |
|
... |
115 |
def __init__(self):
|
115 |
def __init__(self):
|
116 |
# setattr(self, 'feed.atom', self.feed)
|
116 |
# setattr(self, 'feed.atom', self.feed)
|
117 |
# setattr(self, 'feed.rss', self.feed)
|
117 |
# setattr(self, 'feed.rss', self.feed)
|
118 |
# self._discuss = AppDiscussionController()
|
118 |
# self._discuss = AppDiscussionController()
|
119 |
pass
|
119 |
pass
|
|
|
120 |
|
|
|
121 |
@expose('jinja:bitergiametrics:templates/metrics/bar.html')
|
|
|
122 |
@with_trailing_slash
|
|
|
123 |
def bar(self, page=0, limit=10, **kw):
|
|
|
124 |
return dict()
|
|
|
125 |
|
120 |
|
126 |
|
121 |
@expose('jinja:bitergiametrics:templates/metrics/index.html')
|
127 |
@expose('jinja:bitergiametrics:templates/metrics/index.html')
|
122 |
@with_trailing_slash
|
128 |
@with_trailing_slash
|
123 |
def index(self, page=0, limit=10, **kw):
|
129 |
def index(self, page=0, limit=10, **kw):
|
124 |
query_filter = dict(app_config_id=c.app.config._id)
|
130 |
query_filter = dict(app_config_id=c.app.config._id)
|