cmdbox 0.5.2__py3-none-any.whl → 0.5.3.1__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/auth/signin.py +1 -0
- cmdbox/app/feature.py +2 -0
- cmdbox/app/features/cli/audit_base.py +5 -2
- cmdbox/app/features/cli/cmdbox_audit_createdb.py +1 -1
- cmdbox/app/features/cli/cmdbox_audit_delete.py +27 -18
- cmdbox/app/features/cli/cmdbox_audit_search.py +128 -62
- cmdbox/app/features/cli/cmdbox_audit_write.py +31 -20
- cmdbox/app/features/cli/cmdbox_client_file_copy.py +1 -1
- cmdbox/app/features/cli/cmdbox_client_file_download.py +1 -1
- cmdbox/app/features/cli/cmdbox_client_file_list.py +1 -1
- cmdbox/app/features/cli/cmdbox_client_file_mkdir.py +1 -1
- cmdbox/app/features/cli/cmdbox_client_file_move.py +1 -1
- cmdbox/app/features/cli/cmdbox_client_file_remove.py +1 -1
- cmdbox/app/features/cli/cmdbox_client_file_rmdir.py +1 -1
- cmdbox/app/features/cli/cmdbox_client_file_upload.py +1 -1
- cmdbox/app/features/cli/cmdbox_client_server_info.py +1 -1
- cmdbox/app/features/cli/cmdbox_gui_start.py +1 -1
- cmdbox/app/features/cli/cmdbox_server_start.py +1 -1
- cmdbox/app/features/cli/cmdbox_server_stop.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_apikey_add.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_apikey_del.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_group_add.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_group_del.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_group_edit.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_group_list.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_start.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_user_add.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_user_del.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_user_edit.py +1 -1
- cmdbox/app/features/cli/cmdbox_web_user_list.py +1 -1
- cmdbox/app/features/web/cmdbox_web_audit.py +87 -0
- cmdbox/app/features/web/cmdbox_web_audit_metrics.py +72 -0
- cmdbox/app/features/web/cmdbox_web_exec_cmd.py +10 -5
- cmdbox/app/features/web/cmdbox_web_user_data.py +58 -0
- cmdbox/app/options.py +49 -19
- cmdbox/app/server.py +15 -3
- cmdbox/app/web.py +7 -1
- cmdbox/extensions/features.yml +11 -8
- cmdbox/extensions/sample_project/sample/app/features/cli/sample_server_time.py +1 -1
- cmdbox/extensions/user_list.yml +5 -0
- cmdbox/licenses/LICENSE.Jinja2.3.1.4(BSD License).txt +28 -0
- cmdbox/licenses/LICENSE.Pygments.2.18.0(BSD License).txt +25 -0
- cmdbox/licenses/LICENSE.Sphinx.8.1.3(BSD License).txt +31 -0
- cmdbox/licenses/LICENSE.anyio.4.6.2.post1(MIT License).txt +20 -0
- cmdbox/licenses/LICENSE.argcomplete.3.5.1(Apache Software License).txt +177 -0
- cmdbox/licenses/LICENSE.argcomplete.3.6.2(Apache Software License).txt +177 -0
- cmdbox/licenses/LICENSE.babel.2.16.0(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.certifi.2024.8.30(Mozilla Public License 2.0 (MPL 2.0)).txt +20 -0
- cmdbox/licenses/LICENSE.charset-normalizer.3.4.0(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.click.8.1.7(BSD License).txt +28 -0
- cmdbox/licenses/LICENSE.cryptography.43.0.3(Apache Software License; BSD License).txt +3 -0
- cmdbox/licenses/LICENSE.fastapi.0.115.5(MIT License).txt +21 -0
- 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.importlib_metadata.8.5.0(Apache Software License).txt +202 -0
- cmdbox/licenses/LICENSE.keyring.25.5.0(MIT License).txt +17 -0
- cmdbox/licenses/LICENSE.more-itertools.10.5.0(MIT License).txt +19 -0
- cmdbox/licenses/LICENSE.nh3.0.2.18(MIT).txt +1 -0
- cmdbox/licenses/LICENSE.numpy.2.1.3(BSD License).txt +950 -0
- cmdbox/licenses/LICENSE.pillow.11.0.0(CMU License (MIT-CMU)).txt +1226 -0
- cmdbox/licenses/LICENSE.pillow.11.2.1(UNKNOWN).txt +1200 -0
- cmdbox/licenses/LICENSE.pkginfo.1.10.0(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.prettytable.3.12.0(BSD License).txt +30 -0
- cmdbox/licenses/LICENSE.prompt_toolkit.3.0.51(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.pydantic.2.10.2(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.pydantic.2.11.3(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.pydantic_core.2.27.1(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.pydantic_core.2.33.1(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.python-dotenv.1.0.1(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.python-multipart.0.0.17(Apache Software License).txt +14 -0
- cmdbox/licenses/LICENSE.redis.5.2.0(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.rich.13.9.4(MIT License).txt +19 -0
- cmdbox/licenses/LICENSE.six.1.16.0(MIT License).txt +18 -0
- cmdbox/licenses/LICENSE.sphinx-intl.2.3.0(BSD License).txt +25 -0
- cmdbox/licenses/LICENSE.starlette.0.41.3(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.starlette.0.46.2(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.tomli.2.1.0(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.twine.5.1.1(Apache Software License).txt +174 -0
- cmdbox/licenses/LICENSE.typing_extensions.4.12.2(Python Software Foundation License).txt +279 -0
- cmdbox/licenses/LICENSE.typing_extensions.4.13.2(UNKNOWN).txt +279 -0
- cmdbox/licenses/LICENSE.urllib3.2.2.3(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.urllib3.2.4.0(UNKNOWN).txt +21 -0
- cmdbox/licenses/LICENSE.uvicorn.0.32.1(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.uvicorn.0.34.1(BSD License).txt +27 -0
- cmdbox/licenses/LICENSE.watchfiles.1.0.0(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.watchfiles.1.0.5(MIT License).txt +21 -0
- cmdbox/licenses/LICENSE.websockets.14.1(BSD License).txt +24 -0
- cmdbox/licenses/LICENSE.zope.interface.7.1.1(Zope Public License).txt +44 -0
- cmdbox/licenses/files.txt +12 -13
- 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 +404 -0
- cmdbox/web/assets/cmdbox/color_mode.css +4 -0
- cmdbox/web/assets/cmdbox/common.js +397 -24
- cmdbox/web/assets/cmdbox/filer_modal.js +1 -1
- cmdbox/web/assets/cmdbox/list_cmd.js +7 -271
- cmdbox/web/assets/cmdbox/list_pipe.js +3 -3
- cmdbox/web/assets/cmdbox/users.js +17 -17
- 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_license_list.txt +4 -1
- cmdbox/web/audit.html +293 -0
- cmdbox/web/filer.html +21 -10
- cmdbox/web/gui.html +21 -52
- cmdbox/web/result.html +9 -2
- cmdbox/web/users.html +7 -3
- {cmdbox-0.5.2.dist-info → cmdbox-0.5.3.1.dist-info}/METADATA +13 -10
- {cmdbox-0.5.2.dist-info → cmdbox-0.5.3.1.dist-info}/RECORD +114 -59
- {cmdbox-0.5.2.dist-info → cmdbox-0.5.3.1.dist-info}/LICENSE +0 -0
- {cmdbox-0.5.2.dist-info → cmdbox-0.5.3.1.dist-info}/WHEEL +0 -0
- {cmdbox-0.5.2.dist-info → cmdbox-0.5.3.1.dist-info}/entry_points.txt +0 -0
- {cmdbox-0.5.2.dist-info → cmdbox-0.5.3.1.dist-info}/top_level.txt +0 -0
cmdbox/web/audit.html
ADDED
|
@@ -0,0 +1,293 @@
|
|
|
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
|
+
</style>
|
|
10
|
+
</head>
|
|
11
|
+
<body lang="ja" class="overflow-hidden p-2" style="background-color:rgb(33, 37, 41)">
|
|
12
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
13
|
+
<symbol id="svg_signin_ico" viewBox="0 0 16 16">
|
|
14
|
+
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"></path>
|
|
15
|
+
<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>
|
|
16
|
+
</symbol>
|
|
17
|
+
<symbol id="svg_window_stack" viewBox="0 0 16 16">
|
|
18
|
+
<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"/>
|
|
19
|
+
<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"/>
|
|
20
|
+
</symbol>
|
|
21
|
+
<symbol id="svg_window" viewBox="0 0 16 16">
|
|
22
|
+
<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"/>
|
|
23
|
+
<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"/>
|
|
24
|
+
</symbol>
|
|
25
|
+
<symbol id="btn_x" viewBox="0 0 16 16">
|
|
26
|
+
<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"/>
|
|
27
|
+
</symbol>
|
|
28
|
+
<symbol id="btn_trash" viewBox="0 0 16 16">
|
|
29
|
+
<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"/>
|
|
30
|
+
<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"/>
|
|
31
|
+
</symbol>
|
|
32
|
+
<symbol id="btn_plus" viewBox="0 0 16 16">
|
|
33
|
+
<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"/>
|
|
34
|
+
</symbol>
|
|
35
|
+
<symbol id="svg_add_btn" viewBox="0 0 16 16">
|
|
36
|
+
<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>
|
|
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 4"></path>
|
|
38
|
+
</symbol>
|
|
39
|
+
<symbol id="svg_edit_btn" viewBox="0 0 16 16">
|
|
40
|
+
<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"/>
|
|
41
|
+
<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"/>
|
|
42
|
+
</symbol>
|
|
43
|
+
<symbol id="svg_search_btn" viewBox="0 0 16 16">
|
|
44
|
+
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/>
|
|
45
|
+
</symbol>
|
|
46
|
+
</svg>
|
|
47
|
+
<!-- ナビゲーションバー -->
|
|
48
|
+
<nav class="navbar navbar-expand-sm fixed-top p-2">
|
|
49
|
+
<div class="container-fluid">
|
|
50
|
+
<a class="navbar-brand" href="#">cmdbox</a>
|
|
51
|
+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
|
52
|
+
<span class="navbar-toggler-icon"></span>
|
|
53
|
+
</button>
|
|
54
|
+
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
|
55
|
+
<ul class="navbar-nav me-auto">
|
|
56
|
+
<li class="nav-item dropdown">
|
|
57
|
+
<a class="nav-link dropdown-toggle" href="#" id="viewMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
58
|
+
View
|
|
59
|
+
</a>
|
|
60
|
+
<ul class="dropdown-menu viewmenu">
|
|
61
|
+
<li class="nav-item dropdown">
|
|
62
|
+
<span class="dropdown-item">
|
|
63
|
+
Change Dark Mode
|
|
64
|
+
<select class="d-inline-block change_color_mode" onchange="cmdbox.change_color_mode($(this).val());">
|
|
65
|
+
<option value="dark" selected>Dark</option>
|
|
66
|
+
<option value="midnight">midnight</option>
|
|
67
|
+
<option value="deepsea">deepsea</option>
|
|
68
|
+
<option value="verdant">verdant</option>
|
|
69
|
+
<option value="bumblebee">bumblebee</option>
|
|
70
|
+
<option value="crimson">crimson</option>
|
|
71
|
+
<option value="light">light</option>
|
|
72
|
+
</select>
|
|
73
|
+
</span>
|
|
74
|
+
</li>
|
|
75
|
+
</ul>
|
|
76
|
+
</li>
|
|
77
|
+
<li class="nav-item dropdown">
|
|
78
|
+
<a class="nav-link dropdown-toggle" href="#" id="aboutMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
79
|
+
About
|
|
80
|
+
</a>
|
|
81
|
+
<ul class="dropdown-menu aboutmenu" aria-labelledby="aboutMenuLink">
|
|
82
|
+
<li><a class="dropdown-item" href="#" onclick="$(`#versions_modal`).modal(`show`);">Versions</a></li>
|
|
83
|
+
</ul>
|
|
84
|
+
</li>
|
|
85
|
+
</ul>
|
|
86
|
+
<div class="d-none dropdown user_info">
|
|
87
|
+
<a href="#" class="d-block link-body-emphasis text-decoration-none dropdown-toggle show" data-bs-toggle="dropdown" aria-expanded="true" style="fill:gray;">
|
|
88
|
+
<svg class="m-1" width="24" height="24" viewBox="0 0 16 16">
|
|
89
|
+
<use href="#svg_signin_ico"></use>
|
|
90
|
+
</svg>
|
|
91
|
+
<span class="username">UserName</span>
|
|
92
|
+
</a>
|
|
93
|
+
<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">
|
|
94
|
+
<div class="user_info_note ps-3 pe-3"></div>
|
|
95
|
+
<li><hr class="dropdown-divider"></li>
|
|
96
|
+
</ul>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</nav>
|
|
101
|
+
<div id="main_container" class="container-fluid overflow-auto split-pane fixed-left" style="margin-top:66px;height:calc(100vh - 120px);">
|
|
102
|
+
<ul id="main_tabs" class="nav nav-tabs" role="tablist">
|
|
103
|
+
<li class="nav-item" role="presentation">
|
|
104
|
+
<a class="nav-link active" id="metrics-tab" data-bs-toggle="tab" href="#metrics" role="tab" aria-controls="metrics" aria-selected="true">Metrics</a>
|
|
105
|
+
</li>
|
|
106
|
+
<li class="nav-item" role="presentation">
|
|
107
|
+
<a class="nav-link" id="trace-tab" data-bs-toggle="tab" href="#trace" role="tab" aria-controls="trace" aria-selected="false">Trace</a>
|
|
108
|
+
</li>
|
|
109
|
+
<li class="nav-item" role="presentation">
|
|
110
|
+
<a class="nav-link" id="rawlog-tab" data-bs-toggle="tab" href="#rawlog" role="tab" aria-controls="rawlog" aria-selected="false">Raw Log</a>
|
|
111
|
+
</li>
|
|
112
|
+
</ul>
|
|
113
|
+
<div class="tab-content">
|
|
114
|
+
<div class="tab-pane fade show active" id="metrics" role="tabpanel" aria-labelledby="metrics-tab">
|
|
115
|
+
<button id="add_metrics" type="button" class="btn">
|
|
116
|
+
<svg width="32" height="32" fill="currentColor" class="bi bi-plus-lg"><use href="#svg_add_btn"></use></svg>
|
|
117
|
+
</button>
|
|
118
|
+
<!-- メトリクスグラフ -->
|
|
119
|
+
<div class="row g-2 m-0 overflow-auto" id="metrics_area" style="height:calc(100vh - 220px);"></div>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="tab-pane fade" id="trace" role="tabpanel" aria-labelledby="trace-tab">
|
|
122
|
+
<button id="search_trace" type="button" class="btn">
|
|
123
|
+
<svg width="32" height="32" fill="currentColor" class="bi bi-plus-lg"><use href="#svg_search_btn"></use></svg>
|
|
124
|
+
</button>
|
|
125
|
+
<!-- トレース一覧 -->
|
|
126
|
+
<div class="row g-2 mt-1 overflow-auto" id="trace_area" style="height:calc(100vh - 220px);"></div>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="tab-pane fade" id="rawlog" role="tabpanel" aria-labelledby="rawlog-tab">
|
|
129
|
+
<button id="search_rawlog" type="button" class="btn">
|
|
130
|
+
<svg width="32" height="32" fill="currentColor" class="bi bi-plus-lg"><use href="#svg_search_btn"></use></svg>
|
|
131
|
+
</button>
|
|
132
|
+
<!-- 監査ログ一覧 -->
|
|
133
|
+
<div class="row g-2 mt-1 overflow-auto" id="rawlog_area" style="height:calc(100vh - 220px);"></div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
<!-- searchモーダル -->
|
|
138
|
+
<div id="search_modal" class="modal" tabindex="-1">
|
|
139
|
+
<div class="modal-dialog modal-lg">
|
|
140
|
+
<div id="search_form" class="modal-content novalidate">
|
|
141
|
+
<div class="modal-header">
|
|
142
|
+
<h5 class="modal-title">Search Condition</h5>
|
|
143
|
+
<button type="button" class="btn btn_window_stack">
|
|
144
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window-stack" viewBox="0 0 16 16">
|
|
145
|
+
<use href="#svg_window_stack"></use>
|
|
146
|
+
</svg>
|
|
147
|
+
</button>
|
|
148
|
+
<button type="button" class="btn btn_window">
|
|
149
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window" viewBox="0 0 16 16">
|
|
150
|
+
<use href="#svg_window"></use>
|
|
151
|
+
</svg>
|
|
152
|
+
</button>
|
|
153
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
154
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
155
|
+
</button>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="modal-body">
|
|
158
|
+
<div class="row row_content"></div>
|
|
159
|
+
<form id="filter_form" class="d-none filer_form">
|
|
160
|
+
<input name="filer_host" type="hidden" class="filer_host">
|
|
161
|
+
<input name="filer_port" type="hidden" class="filer_port">
|
|
162
|
+
<input name="filer_password" type="hidden" class="filer_password">
|
|
163
|
+
<input name="filer_svname" type="hidden" class="filer_svname">
|
|
164
|
+
<input name="filer_scope" type="hidden" class="filer_scope">
|
|
165
|
+
<input name="filer_client_data" type="hidden" class="filer_client_data">
|
|
166
|
+
</form>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="modal-footer">
|
|
169
|
+
<button id="do_search" type="button" class="btn btn-success">Search</button>
|
|
170
|
+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
<!-- metricsモーダル -->
|
|
176
|
+
<div id="metrics_modal" class="modal" tabindex="-1">
|
|
177
|
+
<div class="modal-dialog modal-lg">
|
|
178
|
+
<div id="metrics_form" class="modal-content novalidate">
|
|
179
|
+
<div class="modal-header">
|
|
180
|
+
<h5 class="modal-title"></h5>
|
|
181
|
+
<button type="button" class="btn btn_window_stack">
|
|
182
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window-stack" viewBox="0 0 16 16">
|
|
183
|
+
<use href="#svg_window_stack"></use>
|
|
184
|
+
</svg>
|
|
185
|
+
</button>
|
|
186
|
+
<button type="button" class="btn btn_window">
|
|
187
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window" viewBox="0 0 16 16">
|
|
188
|
+
<use href="#svg_window"></use>
|
|
189
|
+
</svg>
|
|
190
|
+
</button>
|
|
191
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
192
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
193
|
+
</button>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="modal-body">
|
|
196
|
+
<div class="row row_content"></div>
|
|
197
|
+
</div>
|
|
198
|
+
<div class="modal-footer">
|
|
199
|
+
<button id="metrics_save" type="button" class="btn btn-success">Save</button>
|
|
200
|
+
<button id="metrics_del" type="button" class="btn btn-danger">Delete</button>
|
|
201
|
+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
<!-- versionsモーダル -->
|
|
207
|
+
<div id="versions_modal" class="modal" tabindex="-1">
|
|
208
|
+
<div class="modal-dialog modal-lg">
|
|
209
|
+
<form id="version_form" class="modal-content novalidate">
|
|
210
|
+
<div class="modal-header">
|
|
211
|
+
<h5 class="modal-title">
|
|
212
|
+
Versions
|
|
213
|
+
</h5>
|
|
214
|
+
<button type="button" class="btn btn_window_stack">
|
|
215
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window-stack">
|
|
216
|
+
<use href="#svg_window_stack"></use>
|
|
217
|
+
</svg>
|
|
218
|
+
</button>
|
|
219
|
+
<button type="button" class="btn btn_window">
|
|
220
|
+
<svg width="16" height="16" fill="currentColor" class="bi bi-window">
|
|
221
|
+
<use href="#svg_window"></use>
|
|
222
|
+
</svg>
|
|
223
|
+
</button>
|
|
224
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
225
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
226
|
+
</button>
|
|
227
|
+
</div>
|
|
228
|
+
<div class="modal-body">
|
|
229
|
+
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
|
230
|
+
<div class="tab-content version-content"></div>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="modal-footer">
|
|
233
|
+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
234
|
+
</div>
|
|
235
|
+
</form>
|
|
236
|
+
</div>
|
|
237
|
+
</div>
|
|
238
|
+
<!-- ローディングマスク -->
|
|
239
|
+
<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;">
|
|
240
|
+
<div class="text-center position-absolute top-50 start-50 w-100 translate-middle">
|
|
241
|
+
<div class="spinner-border text-light" role="status">
|
|
242
|
+
<span class="sr-only"></span>
|
|
243
|
+
</div>
|
|
244
|
+
<div>
|
|
245
|
+
<button type="button" class="btn btn-outline-danger mt-3 bbforce">Back by force</button>
|
|
246
|
+
</div>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
<!-- フッター -->
|
|
250
|
+
<footer class="fixed-bottom text-center p-2 copyright"></footer>
|
|
251
|
+
</body>
|
|
252
|
+
<script type="text/javascript">
|
|
253
|
+
// jqueryの読込み完了までbodyの背景色を設定
|
|
254
|
+
document.querySelector(`body`).style.setProperty(`--bs-body-bg`, `#212529`);
|
|
255
|
+
document.querySelector(`body`).style.setProperty(`--bs-tertiary-bg`, `#2b3035`);
|
|
256
|
+
document.querySelector(`body`).style.setProperty(`--bs-tertiary-bg-rgb`, `43,48,53`);
|
|
257
|
+
document.querySelector(`body`).style.setProperty(`--bs-secondary-bg`, `#343a40`);
|
|
258
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
259
|
+
document.querySelector(`body`).style.setProperty(`--bs-body-bg`, null);
|
|
260
|
+
document.querySelector(`body`).style.setProperty(`--bs-tertiary-bg`, null);
|
|
261
|
+
document.querySelector(`body`).style.setProperty(`--bs-tertiary-bg-rgb`, null);
|
|
262
|
+
document.querySelector(`body`).style.setProperty(`--bs-secondary-bg`, null);
|
|
263
|
+
});
|
|
264
|
+
</script>
|
|
265
|
+
<link rel="stylesheet" href="assets/bootstrap/bootstrap.min.5.3.0.css">
|
|
266
|
+
<link rel="stylesheet" href="assets/cmdbox/color_mode.css">
|
|
267
|
+
<link rel="stylesheet" href="assets/tree-menu/css/tree-menu.css">
|
|
268
|
+
<link rel="stylesheet" href="assets/apexcharts/apexcharts.css">
|
|
269
|
+
<style type="text/css">
|
|
270
|
+
.apexcharts-tooltip {
|
|
271
|
+
background: var(--bs-body-bg);
|
|
272
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
273
|
+
color: var(--bs-body-color);
|
|
274
|
+
}
|
|
275
|
+
.apexcharts-tooltip-title {
|
|
276
|
+
background: var(--bs-tertiary-bg);
|
|
277
|
+
color: var(--bs-body-color);
|
|
278
|
+
}
|
|
279
|
+
.apexcharts-xaxistooltip, .apexcharts-yaxistooltip {
|
|
280
|
+
background: var(--bs-tertiary-bg);
|
|
281
|
+
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
282
|
+
color: var(--bs-body-color);
|
|
283
|
+
}
|
|
284
|
+
</style>
|
|
285
|
+
<script type="text/javascript" src="assets/bootstrap/bootstrap.bundle.min.5.3.0.js"></script>
|
|
286
|
+
<script type="text/javascript" src="assets/jquery/jquery.min.3.2.0.js"></script>
|
|
287
|
+
<script type="text/javascript" src="assets/jquery-ui/jquery-ui.min.js"></script>
|
|
288
|
+
<script type="text/javascript" src="assets/jquery-resizable/jquery-resizable.min.js"></script>
|
|
289
|
+
<script type="text/javascript" src="assets/apexcharts/apexcharts.min.js"></script>
|
|
290
|
+
<script type="text/javascript" src="assets/cmdbox/common.js"></script>
|
|
291
|
+
<script type="text/javascript" src="assets/cmdbox/view_result.js"></script>
|
|
292
|
+
<script type="text/javascript" src="assets/cmdbox/audit.js"></script>
|
|
293
|
+
</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">
|
|
@@ -137,18 +150,14 @@
|
|
|
137
150
|
<div class="modal-header">
|
|
138
151
|
<h5 class="modal-title">Versions</h5>
|
|
139
152
|
<button type="button" class="btn btn_window_stack">
|
|
140
|
-
<svg
|
|
141
|
-
<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"/>
|
|
142
|
-
<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"/>
|
|
143
|
-
</svg>
|
|
153
|
+
<svg class="bi bi-window-stack" width="16" height="16" fill="currentColor"><use href="#btn_window_stack"></use></svg>
|
|
144
154
|
</button>
|
|
145
155
|
<button type="button" class="btn btn_window">
|
|
146
|
-
<svg
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
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>
|
|
150
160
|
</button>
|
|
151
|
-
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;"></button>
|
|
152
161
|
</div>
|
|
153
162
|
<div class="modal-body"></div>
|
|
154
163
|
<div class="modal-footer">
|
|
@@ -177,7 +186,9 @@
|
|
|
177
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"/>
|
|
178
187
|
</svg>
|
|
179
188
|
</button>
|
|
180
|
-
<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>
|
|
181
192
|
</div>
|
|
182
193
|
<div class="modal-body">
|
|
183
194
|
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
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"/>
|
|
@@ -206,7 +209,9 @@
|
|
|
206
209
|
<button type="button" class="btn btn_window">
|
|
207
210
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
208
211
|
</button>
|
|
209
|
-
<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>
|
|
210
215
|
</div>
|
|
211
216
|
<div class="modal-body">
|
|
212
217
|
<input name="modal_mode" type="hidden" class="form-control" />
|
|
@@ -244,52 +249,6 @@
|
|
|
244
249
|
</div>
|
|
245
250
|
</div>
|
|
246
251
|
</div>
|
|
247
|
-
<div class="row d-none row_content_template_str">
|
|
248
|
-
<div class="col-6 mb-3">
|
|
249
|
-
<div class="input-group">
|
|
250
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
251
|
-
<input type="text" class="form-control row_content_template_input">
|
|
252
|
-
</div>
|
|
253
|
-
</div>
|
|
254
|
-
</div>
|
|
255
|
-
<div class="row d-none row_content_template_text">
|
|
256
|
-
<div class="col-12 mb-3">
|
|
257
|
-
<div class="input-group">
|
|
258
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
259
|
-
<textarea class="form-control row_content_template_input" rows="1" style="field-sizing:content;"></textarea>
|
|
260
|
-
</div>
|
|
261
|
-
</div>
|
|
262
|
-
</div>
|
|
263
|
-
<div class="row d-none row_content_template_dict">
|
|
264
|
-
<div class="col-12 mb-3">
|
|
265
|
-
<div class="input-group">
|
|
266
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
267
|
-
<input type="text" class="form-control row_content_key row_content_template_input">
|
|
268
|
-
<label class="input-group-text">=</label>
|
|
269
|
-
<input type="text" class="form-control row_content_val row_content_template_input">
|
|
270
|
-
</div>
|
|
271
|
-
</div>
|
|
272
|
-
</div>
|
|
273
|
-
<div class="row d-none row_content_template_dict_choice">
|
|
274
|
-
<div class="col-12 mb-3">
|
|
275
|
-
<div class="input-group">
|
|
276
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
277
|
-
<input type="text" class="form-control row_content_key row_content_template_input">
|
|
278
|
-
<label class="input-group-text">=</label>
|
|
279
|
-
<select class="form-select row_content_template_select">
|
|
280
|
-
</select>
|
|
281
|
-
</div>
|
|
282
|
-
</div>
|
|
283
|
-
</div>
|
|
284
|
-
<div class="row d-none row_content_template_choice">
|
|
285
|
-
<div class="col-6 mb-3">
|
|
286
|
-
<div class="input-group">
|
|
287
|
-
<label class="input-group-text row_content_template_title">title</label>
|
|
288
|
-
<select class="form-select row_content_template_select">
|
|
289
|
-
</select>
|
|
290
|
-
</div>
|
|
291
|
-
</div>
|
|
292
|
-
</div>
|
|
293
252
|
<div class="row row_content">
|
|
294
253
|
</div>
|
|
295
254
|
</div>
|
|
@@ -322,7 +281,9 @@
|
|
|
322
281
|
<button type="button" class="btn btn_window">
|
|
323
282
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
324
283
|
</button>
|
|
325
|
-
<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>
|
|
326
287
|
</div>
|
|
327
288
|
<div class="modal-body">
|
|
328
289
|
<div class="row row_content_common">
|
|
@@ -385,7 +346,9 @@
|
|
|
385
346
|
<button type="button" class="btn btn_window">
|
|
386
347
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
387
348
|
</button>
|
|
388
|
-
<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>
|
|
389
352
|
</div>
|
|
390
353
|
<div class="modal-body overflow-auto"></div>
|
|
391
354
|
<div class="modal-footer">
|
|
@@ -420,7 +383,9 @@
|
|
|
420
383
|
<button type="button" class="btn btn_window">
|
|
421
384
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
422
385
|
</button>
|
|
423
|
-
<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>
|
|
424
389
|
</div>
|
|
425
390
|
<div class="modal-body row">
|
|
426
391
|
</div>
|
|
@@ -442,7 +407,9 @@
|
|
|
442
407
|
<button type="button" class="btn btn_window">
|
|
443
408
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
444
409
|
</button>
|
|
445
|
-
<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>
|
|
446
413
|
</div>
|
|
447
414
|
<div class="modal-body">
|
|
448
415
|
<textarea id="console_modal_log" class="form-control overflow-auto w-100" rows="10"></textarea>
|
|
@@ -468,7 +435,9 @@
|
|
|
468
435
|
<button type="button" class="btn btn_window">
|
|
469
436
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
470
437
|
</button>
|
|
471
|
-
<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>
|
|
472
441
|
</div>
|
|
473
442
|
<div class="modal-body">
|
|
474
443
|
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
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"/>
|
|
@@ -130,7 +133,9 @@
|
|
|
130
133
|
<button type="button" class="btn btn_window">
|
|
131
134
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
132
135
|
</button>
|
|
133
|
-
<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>
|
|
134
139
|
</div>
|
|
135
140
|
<div class="modal-body">
|
|
136
141
|
<textarea id="console_modal_log" class="form-control overflow-auto w-100" rows="10"></textarea>
|
|
@@ -156,7 +161,9 @@
|
|
|
156
161
|
<button type="button" class="btn btn_window">
|
|
157
162
|
<svg class="bi bi-window" width="16" height="16" fill="currentColor"><use href="#btn_window"></use></svg>
|
|
158
163
|
</button>
|
|
159
|
-
<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>
|
|
160
167
|
</div>
|
|
161
168
|
<div class="modal-body">
|
|
162
169
|
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
cmdbox/web/users.html
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<option value="midnight">midnight</option>
|
|
74
74
|
<option value="deepsea">deepsea</option>
|
|
75
75
|
<option value="verdant">verdant</option>
|
|
76
|
-
<option value="">bumblebee</option>
|
|
76
|
+
<option value="bumblebee">bumblebee</option>
|
|
77
77
|
<option value="crimson">crimson</option>
|
|
78
78
|
<option value="light">light</option>
|
|
79
79
|
</select>
|
|
@@ -166,7 +166,9 @@
|
|
|
166
166
|
<use href="#svg_window"></use>
|
|
167
167
|
</svg>
|
|
168
168
|
</button>
|
|
169
|
-
<button type="button" class="btn-
|
|
169
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
170
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
171
|
+
</button>
|
|
170
172
|
</div>
|
|
171
173
|
<div class="modal-body">
|
|
172
174
|
<div class="row row_content"></div>
|
|
@@ -234,7 +236,9 @@
|
|
|
234
236
|
<use href="#svg_window"></use>
|
|
235
237
|
</svg>
|
|
236
238
|
</button>
|
|
237
|
-
<button type="button" class="btn-
|
|
239
|
+
<button type="button" class="btn btn_close p-0 m-0" data-bs-dismiss="modal" aria-label="Close" style="margin-left: 0px;">
|
|
240
|
+
<svg class="bi bi-x" width="24" height="24" fill="currentColor"><use href="#btn_x"></use></svg>
|
|
241
|
+
</button>
|
|
238
242
|
</div>
|
|
239
243
|
<div class="modal-body">
|
|
240
244
|
<ul class="nav nav-tabs version-tabs" role="tablist"></ul>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cmdbox
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3.1
|
|
4
4
|
Summary: cmdbox: It is a command line application with a plugin mechanism.
|
|
5
5
|
Home-page: https://github.com/hamacom2004jp/cmdbox
|
|
6
6
|
Download-URL: https://github.com/hamacom2004jp/cmdbox
|
|
@@ -193,7 +193,7 @@ class ServerTime(feature.Feature):
|
|
|
193
193
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None,
|
|
194
194
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
195
195
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
196
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
196
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None,
|
|
197
197
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
198
198
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
199
199
|
dict(opt="timedelta", type=Options.T_INT, default=9, required=False, multi=False, hide=False, choice=None,
|
|
@@ -289,17 +289,20 @@ aliases: # Specify the alias for the specified co
|
|
|
289
289
|
# e.g. true
|
|
290
290
|
audit:
|
|
291
291
|
enabled: true # Specify whether to enable the audit function.
|
|
292
|
-
|
|
293
|
-
mode: audit # Specify the mode of the feature to be
|
|
294
|
-
cmd: write # Specify the command to be
|
|
292
|
+
write:
|
|
293
|
+
mode: audit # Specify the mode of the feature to be writed.
|
|
294
|
+
cmd: write # Specify the command to be writed.
|
|
295
|
+
search:
|
|
296
|
+
mode: audit # Specify the mode of the feature to be searched.
|
|
297
|
+
cmd: search # Specify the command to be searched.
|
|
295
298
|
options: # Specify the options for the audit function.
|
|
296
|
-
host: localhost # Specify the service host of the audit Redis server.
|
|
297
|
-
port: 6379 # Specify the service port of the audit Redis server.
|
|
298
|
-
password: password # Specify the access password of the audit Redis server.
|
|
299
|
-
svname: server # Specify the audit service name of the inference server.
|
|
299
|
+
host: localhost # Specify the service host of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
300
|
+
port: 6379 # Specify the service port of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
301
|
+
password: password # Specify the access password of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
302
|
+
svname: server # Specify the audit service name of the inference server.However, if it is specified as a command line argument, it is ignored.
|
|
300
303
|
retry_count: 3 # Specifies the number of reconnections to the audit Redis server.If less than 0 is specified, reconnection is forever.
|
|
301
304
|
retry_interval: 1 # Specifies the number of seconds before reconnecting to the audit Redis server.
|
|
302
|
-
timeout:
|
|
305
|
+
timeout: 15 # Specify the maximum waiting time until the server responds.
|
|
303
306
|
pg_enabled: False # Specify True if using the postgresql database server.
|
|
304
307
|
pg_host: localhost # Specify the postgresql host.
|
|
305
308
|
pg_port: 5432 # Specify the postgresql port.
|