|
|
@ -99,18 +99,6 @@
|
|
|
|
<input id="name" v-model="monitor.name" type="text" class="form-control" required>
|
|
|
|
<input id="name" v-model="monitor.name" type="text" class="form-control" required>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Parent Monitor -->
|
|
|
|
|
|
|
|
<div class="my-3">
|
|
|
|
|
|
|
|
<label for="parent" class="form-label">{{ $t("Monitor Group") }}</label>
|
|
|
|
|
|
|
|
<ActionSelect
|
|
|
|
|
|
|
|
v-model="monitor.parent"
|
|
|
|
|
|
|
|
:options="parentMonitorOptionsList"
|
|
|
|
|
|
|
|
:disabled="sortedGroupMonitorList.length === 0 && draftGroupName == null"
|
|
|
|
|
|
|
|
:icon="'plus'"
|
|
|
|
|
|
|
|
:action="() => $refs.createGroupDialog.show()"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- URL -->
|
|
|
|
<!-- URL -->
|
|
|
|
<div v-if="monitor.type === 'http' || monitor.type === 'keyword' || monitor.type === 'json-query' || monitor.type === 'real-browser' " class="my-3">
|
|
|
|
<div v-if="monitor.type === 'http' || monitor.type === 'keyword' || monitor.type === 'json-query' || monitor.type === 'real-browser' " class="my-3">
|
|
|
|
<label for="url" class="form-label">{{ $t("URL") }}</label>
|
|
|
|
<label for="url" class="form-label">{{ $t("URL") }}</label>
|
|
|
@ -504,6 +492,18 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Parent Monitor -->
|
|
|
|
|
|
|
|
<div class="my-3">
|
|
|
|
|
|
|
|
<label for="parent" class="form-label">{{ $t("Monitor Group") }}</label>
|
|
|
|
|
|
|
|
<ActionSelect
|
|
|
|
|
|
|
|
v-model="monitor.parent"
|
|
|
|
|
|
|
|
:options="parentMonitorOptionsList"
|
|
|
|
|
|
|
|
:disabled="sortedGroupMonitorList.length === 0 && draftGroupName == null"
|
|
|
|
|
|
|
|
:icon="'plus'"
|
|
|
|
|
|
|
|
:action="() => $refs.createGroupDialog.show()"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Description -->
|
|
|
|
<!-- Description -->
|
|
|
|
<div class="my-3">
|
|
|
|
<div class="my-3">
|
|
|
|
<label for="description" class="form-label">{{ $t("Description") }}</label>
|
|
|
|
<label for="description" class="form-label">{{ $t("Description") }}</label>
|
|
|
|