diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 7a5295f1c5..dce8b584da 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -385,6 +385,7 @@ if (check_acl($config['id_user'], 0, 'PM') || check_acl($config['id_user'], 0, ' $sub['extensions/dbmanager']['text'] = __('DB Interface'); $sub['extensions/dbmanager']['id'] = 'DB Interface'; $sub['extensions/dbmanager']['sec'] = 'gbman'; + enterprise_hook('elasticsearch_interface_menu'); } } diff --git a/pandora_console/include/styles/ace.css b/pandora_console/include/styles/ace.css new file mode 100644 index 0000000000..db0895a7a0 --- /dev/null +++ b/pandora_console/include/styles/ace.css @@ -0,0 +1,52 @@ +#elasticsearch_container { + display: flex; +} + +.elasticsearch_editor_container { + width: 30%; +} + +.elasticsearch_editor_container p { + padding-left: 40px; + font-size: medium; + margin-top: 5px; + margin-bottom: 5px; +} + +.elasticsearch_editor { + width: 100%; + height: 65em; + border-top: 1px solid #e2e2e2; + border-right: 1px solid #e2e2e2; + border-bottom: 1px solid #e2e2e2; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; +} + +.elasticsearch_view_container { + width: 70%; + margin-left: 30px; +} + +.elasticsearch_view_container p { + padding-left: 40px; + font-size: medium; + margin-top: 5px; + margin-bottom: 5px; +} + +.elasticsearch_view { + min-height: 65em; + border-top: 1px solid #e2e2e2; + border-left: 1px solid #e2e2e2; + border-bottom: 1px solid #e2e2e2; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; +} + +.edit-button { + margin-top: 10px; + margin-bottom: 10px; +}