From 27049764da40e08c9ba875abdc11bd353e873962 Mon Sep 17 00:00:00 2001 From: Rinsvent Date: Wed, 25 Jan 2023 00:16:50 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B0=D0=BF=D0=B8=20=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=20=D0=A1?= =?UTF-8?q?=D1=82=D0=B8=D0=BB=D0=B8=D0=B7=D0=BE=D0=B2=D0=B0=D0=BB=20=D0=B1?= =?UTF-8?q?=D0=BB=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/sm/schemas/command.ts | 10 ++++++++++ components/elements/commands/styles.module.css | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 api/sm/schemas/command.ts diff --git a/api/sm/schemas/command.ts b/api/sm/schemas/command.ts new file mode 100644 index 0000000..c280d22 --- /dev/null +++ b/api/sm/schemas/command.ts @@ -0,0 +1,10 @@ +import {Method, SchemaInterface} from "../../schema-client"; + +class CommandSchema implements SchemaInterface { + method = Method.GET + url = '/system-monitoring/commands/{commandName}' + contentType = null; +} + +export let commandSchema = new CommandSchema() +export default commandSchema \ No newline at end of file diff --git a/components/elements/commands/styles.module.css b/components/elements/commands/styles.module.css index 4474b1f..c92f1e7 100644 --- a/components/elements/commands/styles.module.css +++ b/components/elements/commands/styles.module.css @@ -1,3 +1,5 @@ .autocomplete { width: 100%; + display: grid; + grid-template-columns: 11fr 1fr; }