From 196ae4b03893f980b533cd429b783385a1eec5d2 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Thu, 6 Nov 2014 22:38:32 +0000 Subject: [PATCH] Fixed l10n and import scripts failing. The l10n script was failing because the location of the pluginLI template had changed. The import scripts were failing because their importDoc JS var was getting overwritten by the other script. Localised text has also been added back into message dialogs. --- resources/report/html/message-dialog.html | 29 ++++++++++++++++------- resources/report/html/plugin-li.html | 4 ++-- resources/report/js/l10n.js | 2 +- resources/report/js/script.js | 8 +++++-- 4 files changed, 29 insertions(+), 14 deletions(-) diff --git a/resources/report/html/message-dialog.html b/resources/report/html/message-dialog.html index 2774e28b..215ac88a 100644 --- a/resources/report/html/message-dialog.html +++ b/resources/report/html/message-dialog.html @@ -23,33 +23,44 @@ } .accept, .cancel { margin: 0.5em; - font-size: 2em; + font-size: 1.5em; + display: inline-block; + cursor: pointer; } - .accept { + .accept > span:last-child, .cancel > span:last-child { + margin-left: 0.5em; + display: inline-block; + } + .accept:hover { color: green; - cursor: pointer; } - .cancel { + .cancel:hover { color: red; - cursor: pointer; }

- - +
+