%page args="app"/> <% def application(app): id_query = u'?id=' + app['id'] unstoppable = '' if app['unstoppable']: unstoppable = 'unstoppable' q = app.get('queued') qa = app.get('active') qf = app.get('failed') qs = app.get('success') return u'''