Download:
child 202:cc7aa8429043
parent 200:51b38a0bdcea
201:3e522a31ae89
Anton Shestakov <av6@dwimlabs.net>, Wed, 10 Aug 2016 22:32:10 +0800
viewer: a more descriptive text for the green status badge

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
candolint/handlers.py file | annotate | diff | comparison | revisions
--- a/candolint/handlers.py Fri Aug 05 15:39:05 2016 +0800
+++ b/candolint/handlers.py Wed Aug 10 22:32:10 2016 +0800
@@ -121,7 +121,7 @@
width = 7 + 6 * len(text) + 9
parts.append(('#faa732', width, width // 2 + 0.5, text))
else:
- parts.append(('#8cc14c', 40, 19.5, 'none'))
+ parts.append(('#8cc14c', 60, 29.5, 'all clean'))
width = sum(p[1] for p in parts)
self.set_header('Content-Type', 'image/svg+xml; charset=utf-8')
self.render('status.svg', width=width, parts=parts, height=20)