diff --git a/templates/editor.html b/templates/editor.html
index 3d3aeeb..c0d32e5 100755
--- a/templates/editor.html
+++ b/templates/editor.html
@@ -208,6 +208,8 @@
editor = ace.edit("editor");
//editor.setTheme("ace/theme/twilight");
+ //safely delete all bindings
+ editor.keyBinding.$defaultHandler.commandKeyBinding = {}
$("#language").on('change', function () {
var language = $('#language option').filter(':selected').attr('data-lang');
diff --git a/templates/page.html.tt b/templates/page.html.tt
index 241a54d..0951b99 100755
--- a/templates/page.html.tt
+++ b/templates/page.html.tt
@@ -12,7 +12,7 @@
-
+
Perlbot Pastebin
[% PROCESS body_style %]
diff --git a/templates/viewer.html b/templates/viewer.html
index 79e45f4..e05f67e 100755
--- a/templates/viewer.html
+++ b/templates/viewer.html
@@ -18,7 +18,11 @@
.options label:not(:first-child) {
padding-left: 2em;
}
-
+
+ td, th {border-left: thin solid black; border-top: thin solid black; margin: 1px;}
+ td pre {border-radius: 0; border: none;}
+ table {border-right: thin solid black; border-bottom: thin solid black}
+
@font-face {
font-family: "AnonymousPro";
src: url("/static/fonts/AnonymousPro-Regular.woff2") format('woff2');
@@ -69,14 +73,26 @@
- [% FOR lang IN eval.keys %]
-
-
Program Output as [% lang %]:
-
[% eval.$lang | html %]
-
+ [% IF eval.keys.size == 0 %]
+ ZERO
+ [% ELSIF eval.keys.size == 1 %]
+
+
Program Output
+ [% FOR lang IN eval.keys %]
+
[% eval.$lang | html %]
+ [% END %]
+
+ [% ELSE %]
+
+
+ Language | Output |
+ [% FOR lang IN eval.keys.sort %]
+ [% lang %] | [% eval.$lang | html %] |
+ [% END %]
+
+ [% END %]
- [% END %]