From e61c249c9ca9d179d65f8f93c2ea6a3ab4a62288 Mon Sep 17 00:00:00 2001 From: Guillaume Wuip Date: Mon, 22 Dec 2014 22:06:12 +0100 Subject: [PATCH] Add line number --- static/js/directives/log.js | 8 ++++++++ static/partials/elements/log.html | 4 ++++ static/partials/logs.html | 1 + static/style.css | 17 +++++++++++------ 4 files changed, 24 insertions(+), 6 deletions(-) diff --git a/static/js/directives/log.js b/static/js/directives/log.js index 147081c..25710b3 100644 --- a/static/js/directives/log.js +++ b/static/js/directives/log.js @@ -21,6 +21,14 @@ */ log : "=", + /** + * number + * + * Line number + * @type {Int} + */ + number : "=", + /** * showFile * diff --git a/static/partials/elements/log.html b/static/partials/elements/log.html index 6691f53..b82a7d8 100644 --- a/static/partials/elements/log.html +++ b/static/partials/elements/log.html @@ -1,5 +1,9 @@

+ + {{number}} + + diff --git a/static/partials/logs.html b/static/partials/logs.html index 4aa221a..670675f 100644 --- a/static/partials/logs.html +++ b/static/partials/logs.html @@ -8,6 +8,7 @@ span { color: #2980b9;