cmdbox 0.5.1.2__py3-none-any.whl → 0.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cmdbox might be problematic. Click here for more details.
- cmdbox/app/app.py +4 -2
- cmdbox/app/auth/signin.py +634 -631
- cmdbox/app/client.py +10 -10
- cmdbox/app/common.py +50 -6
- cmdbox/app/commons/convert.py +9 -0
- cmdbox/app/commons/module.py +113 -113
- cmdbox/app/commons/redis_client.py +40 -29
- cmdbox/app/edge.py +4 -4
- cmdbox/app/features/cli/audit_base.py +138 -0
- cmdbox/app/features/cli/cmdbox_audit_createdb.py +224 -0
- cmdbox/app/features/cli/cmdbox_audit_delete.py +308 -0
- cmdbox/app/features/cli/cmdbox_audit_search.py +416 -0
- cmdbox/app/features/cli/cmdbox_audit_write.py +247 -0
- cmdbox/app/features/cli/cmdbox_client_file_copy.py +207 -207
- cmdbox/app/features/cli/cmdbox_client_file_download.py +207 -207
- cmdbox/app/features/cli/cmdbox_client_file_list.py +193 -193
- cmdbox/app/features/cli/cmdbox_client_file_mkdir.py +191 -191
- cmdbox/app/features/cli/cmdbox_client_file_move.py +199 -199
- cmdbox/app/features/cli/cmdbox_client_file_remove.py +190 -190
- cmdbox/app/features/cli/cmdbox_client_file_rmdir.py +190 -190
- cmdbox/app/features/cli/cmdbox_client_file_upload.py +212 -212
- cmdbox/app/features/cli/cmdbox_client_server_info.py +166 -166
- cmdbox/app/features/cli/cmdbox_server_list.py +88 -88
- cmdbox/app/features/cli/cmdbox_server_stop.py +138 -138
- cmdbox/app/features/web/cmdbox_web_audit.py +81 -0
- cmdbox/app/features/web/cmdbox_web_audit_metrics.py +72 -0
- cmdbox/app/features/web/cmdbox_web_del_cmd.py +2 -0
- cmdbox/app/features/web/cmdbox_web_del_pipe.py +1 -0
- cmdbox/app/features/web/cmdbox_web_do_signin.py +12 -2
- cmdbox/app/features/web/cmdbox_web_do_signout.py +1 -0
- cmdbox/app/features/web/cmdbox_web_exec_cmd.py +31 -2
- cmdbox/app/features/web/cmdbox_web_exec_pipe.py +1 -0
- cmdbox/app/features/web/cmdbox_web_filer download.py +43 -42
- cmdbox/app/features/web/cmdbox_web_filer.py +1 -0
- cmdbox/app/features/web/cmdbox_web_filer_upload.py +65 -64
- cmdbox/app/features/web/cmdbox_web_gui.py +166 -165
- cmdbox/app/features/web/cmdbox_web_load_pin.py +43 -43
- cmdbox/app/features/web/cmdbox_web_raw_pipe.py +87 -87
- cmdbox/app/features/web/cmdbox_web_save_cmd.py +1 -0
- cmdbox/app/features/web/cmdbox_web_save_pin.py +42 -42
- cmdbox/app/features/web/cmdbox_web_save_pipe.py +1 -0
- cmdbox/app/features/web/cmdbox_web_user_data.py +58 -0
- cmdbox/app/features/web/cmdbox_web_users.py +12 -0
- cmdbox/app/options.py +788 -601
- cmdbox/app/web.py +7 -1
- cmdbox/extensions/features.yml +23 -0
- cmdbox/extensions/sample_project/sample/app/features/cli/sample_client_time.py +82 -82
- cmdbox/extensions/sample_project/sample/app/features/cli/sample_server_time.py +145 -145
- cmdbox/extensions/user_list.yml +5 -0
- cmdbox/licenses/{LICENSE.Sphinx.8.1.3(BSD License).txt → LICENSE.Sphinx.8.2.3(UNKNOWN).txt} +1 -1
- cmdbox/licenses/LICENSE.argcomplete.3.6.2(Apache Software License).txt +177 -0
- cmdbox/licenses/{LICENSE.babel.2.16.0(BSD License).txt → LICENSE.babel.2.17.0(BSD License).txt } +1 -1
- cmdbox/licenses/{LICENSE.pkginfo.1.10.0(MIT License).txt → LICENSE.charset-normalizer.3.4.1(MIT License).txt } +1 -1
- cmdbox/licenses/LICENSE.gevent.25.4.1(MIT).txt +25 -0
- cmdbox/licenses/LICENSE.greenlet.3.2.0(MIT AND Python-2.0).txt +30 -0
- cmdbox/licenses/LICENSE.gunicorn.23.0.0(MIT License).txt +23 -0
- cmdbox/licenses/LICENSE.importlib_metadata.8.6.1(Apache Software License).txt +202 -0
- cmdbox/licenses/LICENSE.nh3.0.2.21(MIT).txt +21 -0
- cmdbox/licenses/{LICENSE.pillow.11.0.0(CMU License (MIT-CMU)).txt → LICENSE.pillow.11.1.0(CMU License (MIT-CMU)).txt } +27 -40
- cmdbox/licenses/LICENSE.pillow.11.2.1(UNKNOWN).txt +1200 -0
- cmdbox/licenses/LICENSE.plyer.2.1.0(MIT License).txt +19 -0
- cmdbox/licenses/LICENSE.prompt_toolkit.3.0.50(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.prompt_toolkit.3.0.51(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.psycopg-binary.3.2.6(GNU Lesser General Public License v3 (LGPLv3)).txt +165 -0
- cmdbox/licenses/LICENSE.psycopg-pool.3.2.6(GNU Lesser General Public License v3 (LGPLv3)).txt +165 -0
- cmdbox/licenses/LICENSE.psycopg.3.2.6(GNU Lesser General Public License v3 (LGPLv3)).txt +165 -0
- cmdbox/licenses/LICENSE.pycryptodome.3.22.0(BSD License; Public Domain).txt +61 -0
- cmdbox/licenses/LICENSE.pydantic.2.11.3(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.pydantic_core.2.33.1(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.pystray.0.19.5(GNU Lesser General Public License v3 (LGPLv3)).txt +674 -0
- cmdbox/licenses/LICENSE.questionary.2.1.0(MIT License).txt +19 -0
- cmdbox/licenses/LICENSE.roman-numerals-py.3.1.0(CC0 1.0 Universal (CC0 1.0) Public Domain Dedication; Zero-Clause BSD (0BSD)).txt +146 -0
- cmdbox/licenses/{LICENSE.six.1.16.0(MIT License).txt → LICENSE.six.1.17.0(MIT License).txt } +1 -1
- cmdbox/licenses/LICENSE.starlette.0.46.2(BSD License).txt +27 -0
- cmdbox/licenses/{LICENSE.charset-normalizer.3.4.0(MIT License).txt → LICENSE.typing-inspection.0.4.0(MIT License).txt } +2 -2
- cmdbox/licenses/LICENSE.typing_extensions.4.13.2(UNKNOWN).txt +279 -0
- cmdbox/licenses/LICENSE.tzdata.2025.2(Apache Software License).txt +15 -0
- cmdbox/licenses/LICENSE.urllib3.2.4.0(UNKNOWN).txt +21 -0
- cmdbox/licenses/LICENSE.uvicorn.0.34.1(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.watchfiles.1.0.5(MIT License).txt +21 -0
- cmdbox/licenses/files.txt +49 -38
- cmdbox/logconf_audit.yml +30 -0
- cmdbox/logconf_cmdbox.yml +30 -0
- cmdbox/version.py +2 -2
- cmdbox/web/assets/apexcharts/apexcharts.css +679 -0
- cmdbox/web/assets/apexcharts/apexcharts.min.js +38 -0
- cmdbox/web/assets/cmdbox/audit.js +340 -0
- cmdbox/web/assets/cmdbox/color_mode.css +520 -0
- cmdbox/web/assets/cmdbox/common.js +416 -24
- cmdbox/web/assets/cmdbox/filer_modal.js +1 -1
- cmdbox/web/assets/cmdbox/list_cmd.js +10 -275
- cmdbox/web/assets/cmdbox/list_pipe.js +3 -3
- cmdbox/web/assets/cmdbox/main.js +2 -2
- cmdbox/web/assets/cmdbox/result.js +2 -2
- cmdbox/web/assets/cmdbox/signin.js +2 -2
- cmdbox/web/assets/cmdbox/users.js +19 -20
- cmdbox/web/assets/cmdbox/view_raw.js +1 -1
- cmdbox/web/assets/cmdbox/view_result.js +11 -13
- cmdbox/web/assets/filer/filer.js +2 -2
- cmdbox/web/assets/filer/main.js +2 -2
- cmdbox/web/assets_license_list.txt +4 -1
- cmdbox/web/audit.html +268 -0
- cmdbox/web/filer.html +37 -12
- cmdbox/web/gui.html +36 -53
- cmdbox/web/result.html +24 -3
- cmdbox/web/signin.html +35 -14
- cmdbox/web/users.html +21 -3
- {cmdbox-0.5.1.2.dist-info → cmdbox-0.5.3.dist-info}/METADATA +28 -5
- {cmdbox-0.5.1.2.dist-info → cmdbox-0.5.3.dist-info}/RECORD +142 -103
- {cmdbox-0.5.1.2.dist-info → cmdbox-0.5.3.dist-info}/entry_points.txt +0 -1
- cmdbox/licenses/LICENSE.nh3.0.2.18(MIT).txt +0 -1
- /cmdbox/licenses/{LICENSE.Jinja2.3.1.4(BSD License).txt → LICENSE.Jinja2.3.1.6(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.Pygments.2.18.0(BSD License).txt → LICENSE.Pygments.2.19.1(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.anyio.4.6.2.post1(MIT License).txt → LICENSE.anyio.4.9.0(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.argcomplete.3.5.1(Apache Software License).txt → LICENSE.argcomplete.3.6.1(Apache Software License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.certifi.2024.8.30(Mozilla Public License 2.0 (MPL 2.0)).txt → LICENSE.certifi.2025.1.31(Mozilla Public License 2.0 (MPL 2.0)).txt} +0 -0
- /cmdbox/licenses/{LICENSE.click.8.1.7(BSD License).txt → LICENSE.click.8.1.8(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.cryptography.43.0.3(Apache Software License; BSD License).txt → LICENSE.cryptography.44.0.2(Apache Software License; BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.fastapi.0.115.5(MIT License).txt → LICENSE.fastapi.0.115.12(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.importlib_metadata.8.5.0(Apache Software License).txt → LICENSE.id.1.5.0(Apache Software License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.keyring.25.5.0(MIT License).txt → LICENSE.keyring.25.6.0(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.more-itertools.10.5.0(MIT License).txt → LICENSE.more-itertools.10.6.0(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.numpy.2.1.3(BSD License).txt → LICENSE.numpy.2.2.4(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.prettytable.3.12.0(BSD License).txt → LICENSE.prettytable.3.16.0(UNKNOWN).txt} +0 -0
- /cmdbox/licenses/{LICENSE.pydantic.2.10.2(MIT License).txt → LICENSE.pydantic.2.11.1(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.pydantic_core.2.27.1(MIT License).txt → LICENSE.pydantic_core.2.33.0(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.python-dotenv.1.0.1(BSD License).txt → LICENSE.python-dotenv.1.1.0(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.python-multipart.0.0.17(Apache Software License).txt → LICENSE.python-multipart.0.0.20(Apache Software License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.redis.5.2.0(MIT License).txt → LICENSE.redis.5.2.1(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.rich.13.9.4(MIT License).txt → LICENSE.rich.14.0.0(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.sphinx-intl.2.3.0(BSD License).txt → LICENSE.sphinx-intl.2.3.1(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.starlette.0.41.3(BSD License).txt → LICENSE.starlette.0.46.1(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.tomli.2.1.0(MIT License).txt → LICENSE.tomli.2.2.1(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.twine.5.1.1(Apache Software License).txt → LICENSE.twine.6.1.0(Apache Software License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.typing_extensions.4.12.2(Python Software Foundation License).txt → LICENSE.typing_extensions.4.13.0(UNKNOWN).txt} +0 -0
- /cmdbox/licenses/{LICENSE.urllib3.2.2.3(MIT License).txt → LICENSE.urllib3.2.3.0(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.uvicorn.0.32.1(BSD License).txt → LICENSE.uvicorn.0.34.0(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.watchfiles.1.0.0(MIT License).txt → LICENSE.watchfiles.1.0.4(MIT License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.websockets.14.1(BSD License).txt → LICENSE.websockets.15.0.1(BSD License).txt} +0 -0
- /cmdbox/licenses/{LICENSE.zope.interface.7.1.1(Zope Public License).txt → LICENSE.zope.interface.7.2(Zope Public License).txt} +0 -0
- {cmdbox-0.5.1.2.dist-info → cmdbox-0.5.3.dist-info}/LICENSE +0 -0
- {cmdbox-0.5.1.2.dist-info → cmdbox-0.5.3.dist-info}/WHEEL +0 -0
- {cmdbox-0.5.1.2.dist-info → cmdbox-0.5.3.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Author License Name URL Version File
|
|
2
|
-
The Bootstrap Authors MIT Bootstrap https://getbootstrap.com/ v5.0
|
|
2
|
+
The Bootstrap Authors MIT Bootstrap https://getbootstrap.com/ v5.3.0 -
|
|
3
3
|
Josh Goebel <hello@joshgoebel.com> and other contributors BSD-3-Clause highlight.js https://highlightjs.org/ v11.10.0 -
|
|
4
4
|
JS Foundation and other contributors jquery.org/license jquery https://jquery.com/ v3.2.0 -
|
|
5
5
|
jQuery Foundation and other contributors MIT jqueryui http://jqueryui.com v1.13.2 -
|
|
@@ -8,3 +8,6 @@ Simon Hagström MIT split-pane https://github.com/shagstrom/split-pane v0.9.4 -
|
|
|
8
8
|
杜甫々 - tree-menu https://www.tohoho-web.com/tech/tree-menu.htm Ver1.1 -
|
|
9
9
|
polygonplanet MIT encoding-japanese https://github.com/polygonplanet/encoding.js v2.2.0 -
|
|
10
10
|
Alan Williamson MIT jquery-linedtextarea https://github.com/cotenoni/jquery-linedtextarea - -
|
|
11
|
+
ApexCharts MIT ApexCharts https://apexcharts.com/ v4.3.0 -
|
|
12
|
+
svgdotjs MIT svg.resize.js https://github.com/svgdotjs/svg.resize.js 2.0.4 -
|
|
13
|
+
svgdotjs MIT svg.select.js https://github.com/svgdotjs/svg.select.js 4.0.1 -
|
cmdbox/web/audit.html
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<meta charset="UTF-8">
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.card-hover:hover {
|
|
7
|
+
box-shadow: 0 0 8px gray;
|
|
8
|
+
}
|
|
9
|
+
.pane-divider {
|
|
10
|
+
border: 1px solid #C8C8C8 !important;
|
|
11
|
+
border-radius: 1px;
|
|
12
|
+
}
|
|
13
|
+
</style>
|
|
14
|
+
</head>
|
|
15
|
+
<body lang="ja" class="overflow-hidden p-2" style="background-color:rgb(33, 37, 41)">
|
|
16
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
17
|
+
<symbol id="svg_signin_ico" viewBox="0 0 16 16">
|
|
18
|
+
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"></path>
|
|
19
|
+
<path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"></path>
|
|
20
|
+
</symbol>
|
|
21
|
+
<symbol id="svg_window_stack" viewBox="0 0 16 16">
|
|
22
|
+
<path d="M4.5 6a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM6 6a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/>
|
|
23
|
+
<path d="M12 1a2 2 0 0 1 2 2 2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2 2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h10ZM2 12V5a2 2 0 0 1 2-2h9a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1Zm1-4v5a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8H3Zm12-1V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v2h12Z"/>
|
|
24
|
+
</symbol>
|
|
25
|
+
<symbol id="svg_window" viewBox="0 0 16 16">
|
|
26
|
+
<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>
|
|
27
|
+
<path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>
|
|
28
|
+
</symbol>
|
|
29
|
+
<symbol id="btn_x" viewBox="0 0 16 16">
|
|
30
|
+
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/>
|
|
31
|
+
</symbol>
|
|
32
|
+
<symbol id="btn_trash" viewBox="0 0 16 16">
|
|
33
|
+
<path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"/>
|
|
34
|
+
<path fill-rule="evenodd" d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"/>
|
|
35
|
+
</symbol>
|
|
36
|
+
<symbol id="btn_plus" viewBox="0 0 16 16">
|
|
37
|
+
<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>
|
|
38
|
+
</symbol>
|
|
39
|
+
<symbol id="svg_add_btn" viewBox="0 0 16 16">
|
|
40
|
+
<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"></path>
|
|
41
|
+
<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4"></path>
|
|
42
|
+
</symbol>
|
|
43
|
+
<symbol id="svg_edit_btn" viewBox="0 0 16 16">
|
|
44
|
+
<path d="M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z"/>
|
|
45
|
+
<path fill-rule="evenodd" d="M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5z"/>
|
|
46
|
+
</symbol>
|
|
47
|
+
</svg>
|
|
48
|
+
<!-- ナビゲーションバー -->
|
|
49
|
+
<nav class="navbar navbar-expand-sm fixed-top p-2">
|
|
50
|
+
<div class="container-fluid">
|
|
51
|
+
<a class="navbar-brand" href="#">cmdbox</a>
|
|
52
|
+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
|
53
|
+
<span class="navbar-toggler-icon"></span>
|
|
54
|
+
</button>
|
|
55
|
+
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
|
56
|
+
<ul class="navbar-nav me-auto">
|
|
57
|
+
<li class="nav-item dropdown">
|
|
58
|
+
<a class="nav-link dropdown-toggle" href="#" id="viewMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
59
|
+
View
|
|
60
|
+
</a>
|
|
61
|
+
<ul class="dropdown-menu viewmenu">
|
|
62
|
+
<li class="nav-item dropdown">
|
|
63
|
+
<span class="dropdown-item">
|
|
64
|
+
Change Dark Mode
|
|
65
|
+
<select class="d-inline-block change_color_mode" onchange="cmdbox.change_color_mode($(this).val());">
|
|
66
|
+
<option value="dark" selected>Dark</option>
|
|
67
|
+
<option value="midnight">midnight</option>
|
|
68
|
+
<option value="deepsea">deepsea</option>
|
|
69
|
+
<option value="verdant">verdant</option>
|
|
70
|
+
<option value="bumblebee">bumblebee</option>
|
|
71
|
+
<option value="crimson">crimson</option>
|
|
72
|
+
<option value="light">light</option>
|
|
73
|
+
</select>
|
|
74
|
+
</span>
|
|
75
|
+
</li>
|
|
76
|
+
</ul>
|
|
77
|
+
</li>
|
|
78
|
+
<li class="nav-item dropdown">
|
|
79
|
+
<a class="nav-link dropdown-toggle" href="#" id="aboutMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
80
|
+
About
|
|
81
|
+
</a>
|
|
82
|
+
<ul class="dropdown-menu aboutmenu" aria-labelledby="aboutMenuLink">
|
|
83
|
+
<li><a class="dropdown-item" href="#" onclick="$(`#versions_modal`).modal(`show`);">Versions</a></li>
|
|
84
|
+
</ul>
|
|
85
|
+
</li>
|
|
86
|
+
</ul>
|
|
87
|
+
<div class="d-none dropdown user_info">
|
|
88
|
+
<a href="#" class="d-block link-body-emphasis text-decoration-none dropdown-toggle show" data-bs-toggle="dropdown" aria-expanded="true" style="fill:gray;">
|
|
89
|
+
<svg class="m-1" width="24" height="24" viewBox="0 0 16 16">
|
|
90
|
+
<use href="#svg_signin_ico"></use>
|
|
91
|
+
</svg>
|
|
92
|
+
<span class="username">UserName</span>
|
|
93
|
+
</a>
|
|
94
|
+
<ul class="dropdown-menu text-small shadow" style="position: absolute; inset: 0px 0px auto auto; margin: 0px; transform: translate(0px, 34px);" data-popper-placement="bottom-end">
|
|
95
|
+
<div class="user_info_note ps-3 pe-3"></div>
|
|
96
|
+
<li><hr class="dropdown-divider"></li>
|
|
97
|
+
</ul>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</nav>
|
|
102
|
+
<div id="main_container" class="container-fluid overflow-auto split-pane fixed-left" style="margin-top:66px;height:calc(100vh - 120px);">
|
|
103
|
+
<!-- 検索結果側ペイン -->
|
|
104
|
+
<div id="left_container" class="split-pane-component" style="width:80%;">
|
|
105
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
106
|
+
<li class="nav-item" role="presentation">
|
|
107
|
+
<a class="nav-link active" id="metrics-tab" data-bs-toggle="tab" href="#metrics" role="tab" aria-controls="metrics" aria-selected="true">Metrics</a>
|
|
108
|
+
</li>
|
|
109
|
+
<li class="nav-item" role="presentation">
|
|
110
|
+
<a class="nav-link" id="trace-tab" data-bs-toggle="tab" href="#trace" role="tab" aria-controls="trace" aria-selected="false">Trace</a>
|
|
111
|
+
</li>
|
|
112
|
+
<li class="nav-item" role="presentation">
|
|
113
|
+
<a class="nav-link" id="rawlog-tab" data-bs-toggle="tab" href="#rawlog" role="tab" aria-controls="rawlog" aria-selected="false">Raw Log</a>
|
|
114
|
+
</li>
|
|
115
|
+
</ul>
|
|
116
|
+
<div class="tab-content">
|
|
117
|
+
<div class="tab-pane fade show active" id="metrics" role="tabpanel" aria-labelledby="metrics-tab">
|
|
118
|
+
<button id="add_metrics" type="button" class="btn">
|
|
119
|
+
<svg width="32" height="32" fill="currentColor" class="bi bi-plus-lg"><use href="#svg_add_btn"></use></svg>
|
|
120
|
+
</button>
|
|
121
|
+
<div class="row g-2 m-0" id="metrics_area"></div>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="tab-pane fade" id="trace" role="tabpanel" aria-labelledby="trace-tab">
|
|
124
|
+
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4 g-2 mt-2" id="trace_area"></div>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="tab-pane fade" id="rawlog" role="tabpanel" aria-labelledby="rawlog-tab">
|
|
127
|
+
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4 g-2 mt-2 modal-body" id="rawlog_area"></div>
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
<!-- 左右のスプリッター -->
|
|
132
|
+
<div class="split-pane-divider pane-divider" style="left:80%;"></div>
|
|
133
|
+
<!-- フィルター側ペイン -->
|
|
134
|
+
<div id="right_container" class="split-pane-component" style="left:80%;">
|
|
135
|
+
<form class="d-none filer_form">
|
|
136
|
+
<input name="filer_host" type="hidden" class="filer_host">
|
|
137
|
+
<input name="filer_port" type="hidden" class="filer_port">
|
|
138
|
+
<input name="filer_password" type="hidden" class="filer_password">
|
|
139
|
+
<input name="filer_svname" type="hidden" class="filer_svname">
|
|
140
|
+
<input name="filer_scope" type="hidden" class="filer_scope">
|
|
141
|
+
<input name="filer_client_data" type="hidden" class="filer_client_data">
|
|
142
|
+
</form>
|
|
143
|
+
<div id="filter_form">
|
|
144
|
+
<div class="row row_content m-1"></div>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
<!-- metricsモーダル -->
|
|
149
|
+
<div id="metrics_modal" class="modal" tabindex="-1">
|
|
150
|
+
<div class="modal-dialog modal-lg">
|
|
151
|
+
<div id="metrics_form" class="modal-content novalidate">
|
|
152
|
+
<div class="modal-header">
|
|
153
|
+
<h5 class="modal-title"></h5>
|
|
154
|
+
<button type="button" class="btn btn_window_stack">
|
|
155
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window-stack" viewBox="0 0 16 16">
|
|
156
|
+
<use href="#svg_window_stack"></use>
|
|
157
|
+
</svg>
|
|
158
|
+
</button>
|
|
159
|
+
<button type="button" class="btn btn_window">
|
|
160
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window" viewBox="0 0 16 16">
|
|
161
|
+
<use href="#svg_window"></use>
|
|
162
|
+
</svg>
|
|
163
|
+
</button>
|
|
164
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
165
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
166
|
+
</button>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="modal-body">
|
|
169
|
+
<div class="row row_content"></div>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="modal-footer">
|
|
172
|
+
<button id="metrics_save" type="button" class="btn btn-success">Save</button>
|
|
173
|
+
<button id="metrics_del" type="button" class="btn btn-danger">Delete</button>
|
|
174
|
+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
<!-- versionsモーダル -->
|
|
180
|
+
<div id="versions_modal" class="modal" tabindex="-1">
|
|
181
|
+
<div class="modal-dialog modal-lg">
|
|
182
|
+
<form id="version_form" class="modal-content novalidate">
|
|
183
|
+
<div class="modal-header">
|
|
184
|
+
<h5 class="modal-title">
|
|
185
|
+
Versions
|
|
186
|
+
</h5>
|
|
187
|
+
<button type="button" class="btn btn_window_stack">
|
|
188
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window-stack">
|
|
189
|
+
<use href="#svg_window_stack"></use>
|
|
190
|
+
</svg>
|
|
191
|
+
</button>
|
|
192
|
+
<button type="button" class="btn btn_window">
|
|
193
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window">
|
|
194
|
+
<use href="#svg_window"></use>
|
|
195
|
+
</svg>
|
|
196
|
+
</button>
|
|
197
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
198
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
199
|
+
</button>
|
|
200
|
+
</div>
|
|
201
|
+
<div class="modal-body">
|
|
202
|
+
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
|
203
|
+
<div class="tab-content version-content"></div>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="modal-footer">
|
|
206
|
+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
207
|
+
</div>
|
|
208
|
+
</form>
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
<!-- ローディングマスク -->
|
|
212
|
+
<div id="loading" class="position-absolute top-0 start-0 w-100 h-100 d-none" style="background:rgba(0, 0, 0, 0.3);z-index:10000;">
|
|
213
|
+
<div class="text-center position-absolute top-50 start-50 w-100 translate-middle">
|
|
214
|
+
<div class="spinner-border text-light" role="status">
|
|
215
|
+
<span class="sr-only"></span>
|
|
216
|
+
</div>
|
|
217
|
+
<div>
|
|
218
|
+
<button type="button" class="btn btn-outline-danger mt-3 bbforce">Back by force</button>
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
<!-- フッター -->
|
|
223
|
+
<footer class="fixed-bottom text-center p-2 copyright"></footer>
|
|
224
|
+
</body>
|
|
225
|
+
<script type="text/javascript">
|
|
226
|
+
// jqueryの読込み完了までbodyの背景色を設定
|
|
227
|
+
document.querySelector(`body`).style.setProperty(`--bs-body-bg`, `#212529`);
|
|
228
|
+
document.querySelector(`body`).style.setProperty(`--bs-tertiary-bg`, `#2b3035`);
|
|
229
|
+
document.querySelector(`body`).style.setProperty(`--bs-tertiary-bg-rgb`, `43,48,53`);
|
|
230
|
+
document.querySelector(`body`).style.setProperty(`--bs-secondary-bg`, `#343a40`);
|
|
231
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
232
|
+
document.querySelector(`body`).style.setProperty(`--bs-body-bg`, null);
|
|
233
|
+
document.querySelector(`body`).style.setProperty(`--bs-tertiary-bg`, null);
|
|
234
|
+
document.querySelector(`body`).style.setProperty(`--bs-tertiary-bg-rgb`, null);
|
|
235
|
+
document.querySelector(`body`).style.setProperty(`--bs-secondary-bg`, null);
|
|
236
|
+
});
|
|
237
|
+
</script>
|
|
238
|
+
<link rel="stylesheet" href="assets/bootstrap/bootstrap.min.5.3.0.css">
|
|
239
|
+
<link rel="stylesheet" href="assets/cmdbox/color_mode.css">
|
|
240
|
+
<link rel="stylesheet" href="assets/tree-menu/css/tree-menu.css">
|
|
241
|
+
<link rel="stylesheet" href="assets/split-pane/split-pane.css">
|
|
242
|
+
<link rel="stylesheet" href="assets/apexcharts/apexcharts.css">
|
|
243
|
+
<style type="text/css">
|
|
244
|
+
.apexcharts-tooltip {
|
|
245
|
+
background: var(--bs-body-bg);
|
|
246
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
247
|
+
color: var(--bs-body-color);
|
|
248
|
+
}
|
|
249
|
+
.apexcharts-tooltip-title {
|
|
250
|
+
background: var(--bs-tertiary-bg);
|
|
251
|
+
color: var(--bs-body-color);
|
|
252
|
+
}
|
|
253
|
+
.apexcharts-xaxistooltip, .apexcharts-yaxistooltip {
|
|
254
|
+
background: var(--bs-tertiary-bg);
|
|
255
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
256
|
+
color: var(--bs-body-color);
|
|
257
|
+
}
|
|
258
|
+
</style>
|
|
259
|
+
<script type="text/javascript" src="assets/bootstrap/bootstrap.bundle.min.5.3.0.js"></script>
|
|
260
|
+
<script type="text/javascript" src="assets/jquery/jquery.min.3.2.0.js"></script>
|
|
261
|
+
<script type="text/javascript" src="assets/jquery-ui/jquery-ui.min.js"></script>
|
|
262
|
+
<script type="text/javascript" src="assets/jquery-resizable/jquery-resizable.min.js"></script>
|
|
263
|
+
<script type="text/javascript" src="assets/split-pane/split-pane.js"></script>
|
|
264
|
+
<script type="text/javascript" src="assets/apexcharts/apexcharts.min.js"></script>
|
|
265
|
+
<script type="text/javascript" src="assets/cmdbox/common.js"></script>
|
|
266
|
+
<script type="text/javascript" src="assets/cmdbox/view_result.js"></script>
|
|
267
|
+
<script type="text/javascript" src="assets/cmdbox/audit.js"></script>
|
|
268
|
+
</html>
|
cmdbox/web/filer.html
CHANGED
|
@@ -16,6 +16,19 @@
|
|
|
16
16
|
</style>
|
|
17
17
|
</head>
|
|
18
18
|
<body lang="ja" class="overflow-hidden p-2" style="background-color:rgb(33, 37, 41)">
|
|
19
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
20
|
+
<symbol id="btn_window_stack" viewBox="0 0 16 16">
|
|
21
|
+
<path d="M4.5 6a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM6 6a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/>
|
|
22
|
+
<path d="M12 1a2 2 0 0 1 2 2 2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2 2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h10ZM2 12V5a2 2 0 0 1 2-2h9a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1Zm1-4v5a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8H3Zm12-1V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v2h12Z"/>
|
|
23
|
+
</symbol>
|
|
24
|
+
<symbol id="btn_window" viewBox="0 0 16 16">
|
|
25
|
+
<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>
|
|
26
|
+
<path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>
|
|
27
|
+
</symbol>
|
|
28
|
+
<symbol id="btn_x" viewBox="0 0 16 16">
|
|
29
|
+
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/>
|
|
30
|
+
</symbol>
|
|
31
|
+
</svg>
|
|
19
32
|
<!-- ナビゲーションバー -->
|
|
20
33
|
<nav class="navbar navbar-expand-sm fixed-top p-2">
|
|
21
34
|
<div class="container-fluid">
|
|
@@ -29,8 +42,21 @@
|
|
|
29
42
|
<a class="nav-link dropdown-toggle" href="#" id="viewMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
30
43
|
View
|
|
31
44
|
</a>
|
|
32
|
-
<ul class="dropdown-menu">
|
|
33
|
-
<li
|
|
45
|
+
<ul class="dropdown-menu viewmenu">
|
|
46
|
+
<li class="nav-item dropdown">
|
|
47
|
+
<span class="dropdown-item">
|
|
48
|
+
Change Dark Mode
|
|
49
|
+
<select class="d-inline-block change_color_mode" onchange="cmdbox.change_color_mode($(this).val());">
|
|
50
|
+
<option value="dark" selected>Dark</option>
|
|
51
|
+
<option value="midnight">midnight</option>
|
|
52
|
+
<option value="deepsea">deepsea</option>
|
|
53
|
+
<option value="verdant">verdant</option>
|
|
54
|
+
<option value="bumblebee">bumblebee</option>
|
|
55
|
+
<option value="crimson">crimson</option>
|
|
56
|
+
<option value="light">light</option>
|
|
57
|
+
</select>
|
|
58
|
+
</span>
|
|
59
|
+
</li>
|
|
34
60
|
</ul>
|
|
35
61
|
</li>
|
|
36
62
|
<li class="nav-item dropdown">
|
|
@@ -124,18 +150,14 @@
|
|
|
124
150
|
<div class="modal-header">
|
|
125
151
|
<h5 class="modal-title">Versions</h5>
|
|
126
152
|
<button type="button" class="btn btn_window_stack">
|
|
127
|
-
<svg
|
|
128
|
-
<path d="M4.5 6a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM6 6a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/>
|
|
129
|
-
<path d="M12 1a2 2 0 0 1 2 2 2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2 2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h10ZM2 12V5a2 2 0 0 1 2-2h9a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1Zm1-4v5a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8H3Zm12-1V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v2h12Z"/>
|
|
130
|
-
</svg>
|
|
153
|
+
<svg class="bi bi-window-stack" width="16" height="16" fill="currentColor"><use href="#btn_window_stack"></use></svg>
|
|
131
154
|
</button>
|
|
132
155
|
<button type="button" class="btn btn_window">
|
|
133
|
-
<svg
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
156
|
+
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
157
|
+
</button>
|
|
158
|
+
<button type="button" class="btn btn_close" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
159
|
+
<svg class="bi bi-x" width="16" height="16" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
137
160
|
</button>
|
|
138
|
-
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;"></button>
|
|
139
161
|
</div>
|
|
140
162
|
<div class="modal-body"></div>
|
|
141
163
|
<div class="modal-footer">
|
|
@@ -164,7 +186,9 @@
|
|
|
164
186
|
<path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>
|
|
165
187
|
</svg>
|
|
166
188
|
</button>
|
|
167
|
-
<button type="button" class="btn-
|
|
189
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
190
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
191
|
+
</button>
|
|
168
192
|
</div>
|
|
169
193
|
<div class="modal-body">
|
|
170
194
|
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
|
@@ -201,6 +225,7 @@
|
|
|
201
225
|
});
|
|
202
226
|
</script>
|
|
203
227
|
<link rel="stylesheet" href="assets/bootstrap/bootstrap.min.5.3.0.css">
|
|
228
|
+
<link rel="stylesheet" href="assets/cmdbox/color_mode.css">
|
|
204
229
|
<link rel="stylesheet" href="assets/lightbox2/css/lightbox.min.css">
|
|
205
230
|
<link rel="stylesheet" href="assets/tree-menu/css/tree-menu.css">
|
|
206
231
|
<link rel="stylesheet" href="assets/split-pane/split-pane.css">
|
cmdbox/web/gui.html
CHANGED
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>
|
|
24
24
|
<path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>
|
|
25
25
|
</symbol>
|
|
26
|
+
<symbol id="btn_x" viewBox="0 0 16 16">
|
|
27
|
+
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/>
|
|
28
|
+
</symbol>
|
|
26
29
|
<symbol id="btn_trash" viewBox="0 0 16 16">
|
|
27
30
|
<path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"/>
|
|
28
31
|
<path fill-rule="evenodd" d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"/>
|
|
@@ -85,7 +88,20 @@
|
|
|
85
88
|
View
|
|
86
89
|
</a>
|
|
87
90
|
<ul class="dropdown-menu viewmenu">
|
|
88
|
-
<li
|
|
91
|
+
<li class="nav-item dropdown">
|
|
92
|
+
<span class="dropdown-item">
|
|
93
|
+
Change Dark Mode
|
|
94
|
+
<select class="d-inline-block change_color_mode" onchange="cmdbox.change_color_mode($(this).val());">
|
|
95
|
+
<option value="dark" selected>Dark</option>
|
|
96
|
+
<option value="midnight">midnight</option>
|
|
97
|
+
<option value="deepsea">deepsea</option>
|
|
98
|
+
<option value="verdant">verdant</option>
|
|
99
|
+
<option value="bumblebee">bumblebee</option>
|
|
100
|
+
<option value="crimson">crimson</option>
|
|
101
|
+
<option value="light">light</option>
|
|
102
|
+
</select>
|
|
103
|
+
</span>
|
|
104
|
+
</li>
|
|
89
105
|
<li><a class="dropdown-item" href="#" onclick="$(`#console_modal`).modal(`show`);">Console log</a></li>
|
|
90
106
|
</ul>
|
|
91
107
|
</li>
|
|
@@ -193,7 +209,9 @@
|
|
|
193
209
|
<button type="button" class="btn btn_window">
|
|
194
210
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
195
211
|
</button>
|
|
196
|
-
<button type="button" class="btn-
|
|
212
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
213
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
214
|
+
</button>
|
|
197
215
|
</div>
|
|
198
216
|
<div class="modal-body">
|
|
199
217
|
<input name="modal_mode" type="hidden" class="form-control" />
|
|
@@ -231,52 +249,6 @@
|
|
|
231
249
|
</div>
|
|
232
250
|
</div>
|
|
233
251
|
</div>
|
|
234
|
-
<div class="row d-none row_content_template_str">
|
|
235
|
-
<div class="col-6 mb-3">
|
|
236
|
-
<div class="input-group">
|
|
237
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
238
|
-
<input type="text" class="form-control row_content_template_input">
|
|
239
|
-
</div>
|
|
240
|
-
</div>
|
|
241
|
-
</div>
|
|
242
|
-
<div class="row d-none row_content_template_text">
|
|
243
|
-
<div class="col-12 mb-3">
|
|
244
|
-
<div class="input-group">
|
|
245
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
246
|
-
<textarea class="form-control row_content_template_input" rows="1" style="field-sizing:content;"></textarea>
|
|
247
|
-
</div>
|
|
248
|
-
</div>
|
|
249
|
-
</div>
|
|
250
|
-
<div class="row d-none row_content_template_dict">
|
|
251
|
-
<div class="col-12 mb-3">
|
|
252
|
-
<div class="input-group">
|
|
253
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
254
|
-
<input type="text" class="form-control row_content_key row_content_template_input">
|
|
255
|
-
<label class="input-group-text">=</label>
|
|
256
|
-
<input type="text" class="form-control row_content_val row_content_template_input">
|
|
257
|
-
</div>
|
|
258
|
-
</div>
|
|
259
|
-
</div>
|
|
260
|
-
<div class="row d-none row_content_template_dict_choice">
|
|
261
|
-
<div class="col-12 mb-3">
|
|
262
|
-
<div class="input-group">
|
|
263
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
264
|
-
<input type="text" class="form-control row_content_key row_content_template_input">
|
|
265
|
-
<label class="input-group-text">=</label>
|
|
266
|
-
<select class="form-select row_content_template_select">
|
|
267
|
-
</select>
|
|
268
|
-
</div>
|
|
269
|
-
</div>
|
|
270
|
-
</div>
|
|
271
|
-
<div class="row d-none row_content_template_choice">
|
|
272
|
-
<div class="col-6 mb-3">
|
|
273
|
-
<div class="input-group">
|
|
274
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
275
|
-
<select class="form-select row_content_template_select">
|
|
276
|
-
</select>
|
|
277
|
-
</div>
|
|
278
|
-
</div>
|
|
279
|
-
</div>
|
|
280
252
|
<div class="row row_content">
|
|
281
253
|
</div>
|
|
282
254
|
</div>
|
|
@@ -309,7 +281,9 @@
|
|
|
309
281
|
<button type="button" class="btn btn_window">
|
|
310
282
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
311
283
|
</button>
|
|
312
|
-
<button type="button" class="btn-
|
|
284
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
285
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
286
|
+
</button>
|
|
313
287
|
</div>
|
|
314
288
|
<div class="modal-body">
|
|
315
289
|
<div class="row row_content_common">
|
|
@@ -372,7 +346,9 @@
|
|
|
372
346
|
<button type="button" class="btn btn_window">
|
|
373
347
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
374
348
|
</button>
|
|
375
|
-
<button type="button" class="btn-
|
|
349
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
350
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
351
|
+
</button>
|
|
376
352
|
</div>
|
|
377
353
|
<div class="modal-body overflow-auto"></div>
|
|
378
354
|
<div class="modal-footer">
|
|
@@ -407,7 +383,9 @@
|
|
|
407
383
|
<button type="button" class="btn btn_window">
|
|
408
384
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
409
385
|
</button>
|
|
410
|
-
<button type="button" class="btn-
|
|
386
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
387
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
388
|
+
</button>
|
|
411
389
|
</div>
|
|
412
390
|
<div class="modal-body row">
|
|
413
391
|
</div>
|
|
@@ -429,7 +407,9 @@
|
|
|
429
407
|
<button type="button" class="btn btn_window">
|
|
430
408
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
431
409
|
</button>
|
|
432
|
-
<button type="button" class="btn-
|
|
410
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
411
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
412
|
+
</button>
|
|
433
413
|
</div>
|
|
434
414
|
<div class="modal-body">
|
|
435
415
|
<textarea id="console_modal_log" class="form-control overflow-auto w-100" rows="10"></textarea>
|
|
@@ -455,7 +435,9 @@
|
|
|
455
435
|
<button type="button" class="btn btn_window">
|
|
456
436
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
457
437
|
</button>
|
|
458
|
-
<button type="button" class="btn-
|
|
438
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
439
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
440
|
+
</button>
|
|
459
441
|
</div>
|
|
460
442
|
<div class="modal-body">
|
|
461
443
|
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
|
@@ -495,6 +477,7 @@
|
|
|
495
477
|
});
|
|
496
478
|
</script>
|
|
497
479
|
<link rel="stylesheet" href="assets/bootstrap/bootstrap.min.5.3.0.css">
|
|
480
|
+
<link rel="stylesheet" href="assets/cmdbox/color_mode.css">
|
|
498
481
|
<link rel="stylesheet" href="assets/lightbox2/css/lightbox.min.css">
|
|
499
482
|
<link rel="stylesheet" href="assets/tree-menu/css/tree-menu.css">
|
|
500
483
|
<script type="text/javascript" src="assets/bootstrap/bootstrap.bundle.min.5.3.0.js"></script>
|
cmdbox/web/result.html
CHANGED
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>
|
|
24
24
|
<path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>
|
|
25
25
|
</symbol>
|
|
26
|
+
<symbol id="btn_x" viewBox="0 0 16 16">
|
|
27
|
+
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/>
|
|
28
|
+
</symbol>
|
|
26
29
|
<symbol id="btn_trash" viewBox="0 0 16 16">
|
|
27
30
|
<path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"/>
|
|
28
31
|
<path fill-rule="evenodd" d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"/>
|
|
@@ -66,7 +69,20 @@
|
|
|
66
69
|
View
|
|
67
70
|
</a>
|
|
68
71
|
<ul class="dropdown-menu viewmenu">
|
|
69
|
-
<li
|
|
72
|
+
<li class="nav-item dropdown">
|
|
73
|
+
<span class="dropdown-item">
|
|
74
|
+
Change Dark Mode
|
|
75
|
+
<select class="d-inline-block change_color_mode" onchange="cmdbox.change_color_mode($(this).val());">
|
|
76
|
+
<option value="dark" selected>Dark</option>
|
|
77
|
+
<option value="midnight">midnight</option>
|
|
78
|
+
<option value="deepsea">deepsea</option>
|
|
79
|
+
<option value="verdant">verdant</option>
|
|
80
|
+
<option value="bumblebee">bumblebee</option>
|
|
81
|
+
<option value="crimson">crimson</option>
|
|
82
|
+
<option value="light">light</option>
|
|
83
|
+
</select>
|
|
84
|
+
</span>
|
|
85
|
+
</li>
|
|
70
86
|
<li><a class="dropdown-item" href="#" onclick="$(`#console_modal`).modal(`show`);">Console log</a></li>
|
|
71
87
|
</ul>
|
|
72
88
|
</li>
|
|
@@ -117,7 +133,9 @@
|
|
|
117
133
|
<button type="button" class="btn btn_window">
|
|
118
134
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
119
135
|
</button>
|
|
120
|
-
<button type="button" class="btn-
|
|
136
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
137
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
138
|
+
</button>
|
|
121
139
|
</div>
|
|
122
140
|
<div class="modal-body">
|
|
123
141
|
<textarea id="console_modal_log" class="form-control overflow-auto w-100" rows="10"></textarea>
|
|
@@ -143,7 +161,9 @@
|
|
|
143
161
|
<button type="button" class="btn btn_window">
|
|
144
162
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
145
163
|
</button>
|
|
146
|
-
<button type="button" class="btn-
|
|
164
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
165
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
166
|
+
</button>
|
|
147
167
|
</div>
|
|
148
168
|
<div class="modal-body">
|
|
149
169
|
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
|
@@ -183,6 +203,7 @@
|
|
|
183
203
|
});
|
|
184
204
|
</script>
|
|
185
205
|
<link rel="stylesheet" href="assets/bootstrap/bootstrap.min.5.3.0.css">
|
|
206
|
+
<link rel="stylesheet" href="assets/cmdbox/color_mode.css">
|
|
186
207
|
<link rel="stylesheet" href="assets/lightbox2/css/lightbox.min.css">
|
|
187
208
|
<script type="text/javascript" src="assets/bootstrap/bootstrap.bundle.min.5.3.0.js"></script>
|
|
188
209
|
<script type="text/javascript" src="assets/jquery/jquery.min.3.2.0.js"></script>
|