diff --git a/orochi/static/js/handlebars/maxmind.js b/orochi/static/js/handlebars/maxmind.js index d238cf4b..e28522d7 100644 --- a/orochi/static/js/handlebars/maxmind.js +++ b/orochi/static/js/handlebars/maxmind.js @@ -20,7 +20,7 @@ templates['maxmind'] = template({"1":function(container,depth0,helpers,partials, }; return " <div id=\"js_received\" style=\"width: 100%; height: 100%;\"></div>\n <script>\n var options = {\n mode: 'code',\n modes: ['text', 'code', 'view'],\n onEditable: function (node) {\n if (!node.path) { return false; }\n }\n }\n var json_viewer = document.getElementById(\"js_received\")\n var json_container = new JSONEditor(json_viewer, options)\n json_container.set(" - + ((stack1 = (lookupProperty(helpers,"json")||(depth0 && lookupProperty(depth0,"json"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"info") : depth0),{"name":"json","hash":{},"data":data,"loc":{"start":{"line":22,"column":27},"end":{"line":22,"column":44}}})) != null ? stack1 : "") + + ((stack1 = (lookupProperty(helpers,"json")||(depth0 && lookupProperty(depth0,"json"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"json","hash":{},"data":data,"loc":{"start":{"line":22,"column":27},"end":{"line":22,"column":41}}})) != null ? stack1 : "") + ")\n </script>\n"; },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) { var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) { diff --git a/orochi/static/js/handlebars/vt.js b/orochi/static/js/handlebars/vt.js index f5cea5a1..9c02face 100644 --- a/orochi/static/js/handlebars/vt.js +++ b/orochi/static/js/handlebars/vt.js @@ -20,7 +20,7 @@ templates['vt'] = template({"1":function(container,depth0,helpers,partials,data) }; return " <div id=\"js_received\" style=\"width: 100%; height: 100%;\"></div>\n <script>\n var options = {\n mode: 'code',\n modes: ['text', 'code', 'view'],\n onEditable: function (node) {\n if (!node.path) { return false; }\n }\n }\n var json_viewer = document.getElementById(\"js_received\")\n var json_container = new JSONEditor(json_viewer, options)\n json_container.set(" - + ((stack1 = (lookupProperty(helpers,"json")||(depth0 && lookupProperty(depth0,"json"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"info") : depth0),{"name":"json","hash":{},"data":data,"loc":{"start":{"line":22,"column":27},"end":{"line":22,"column":44}}})) != null ? stack1 : "") + + ((stack1 = (lookupProperty(helpers,"json")||(depth0 && lookupProperty(depth0,"json"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"json","hash":{},"data":data,"loc":{"start":{"line":22,"column":27},"end":{"line":22,"column":41}}})) != null ? stack1 : "") + ")\n </script>\n"; },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) { var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) { diff --git a/orochi/templates/handlebars/maxmind.handlebars b/orochi/templates/handlebars/maxmind.handlebars index 19120be6..c6a988d5 100644 --- a/orochi/templates/handlebars/maxmind.handlebars +++ b/orochi/templates/handlebars/maxmind.handlebars @@ -19,7 +19,7 @@ } var json_viewer = document.getElementById("js_received") var json_container = new JSONEditor(json_viewer, options) - json_container.set({{{ json info }}}) + json_container.set({{{ json . }}}) </script> {{/if}} </div> diff --git a/orochi/templates/handlebars/vt.handlebars b/orochi/templates/handlebars/vt.handlebars index 94f99011..ca7b3726 100644 --- a/orochi/templates/handlebars/vt.handlebars +++ b/orochi/templates/handlebars/vt.handlebars @@ -19,7 +19,7 @@ } var json_viewer = document.getElementById("js_received") var json_container = new JSONEditor(json_viewer, options) - json_container.set({{{ json info }}}) + json_container.set({{{ json . }}}) </script> {{/if}} </div> diff --git a/orochi/templates/website/index.html b/orochi/templates/website/index.html index ba3ed74c..a903359c 100644 --- a/orochi/templates/website/index.html +++ b/orochi/templates/website/index.html @@ -199,6 +199,7 @@ <h5 class="offcanvas-title" id="leftNoteLabel">History Log</h5> method: 'get', beforeSend: function () { $("#modal-update .modal-content").html(''); + $("#modal-update").addClass("modal-xl"); $("#modal-update").modal("show"); }, success: function (data) { @@ -222,6 +223,7 @@ <h5 class="offcanvas-title" id="leftNoteLabel">History Log</h5> method: 'get', beforeSend: function () { $("#modal-update .modal-content").html(''); + $("#modal-update").addClass("modal-xl"); $("#modal-update").modal("show"); }, success: function (data) {