mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
Show proxy option for http monitor only
This commit is contained in:
parent
6014b9534f
commit
e89356b283
1 changed files with 24 additions and 22 deletions
|
@ -232,7 +232,8 @@
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Proxies -->
|
<!-- Proxies -->
|
||||||
<h2 class="mt-5 mb-2">{{ $t("Proxies") }}</h2>
|
<div v-if="monitor.type === 'http' || monitor.type === 'keyword'">
|
||||||
|
<h2 class="mt-5 mb-2">{{ $t("Proxy") }}</h2>
|
||||||
<p v-if="$root.proxyList.length === 0">
|
<p v-if="$root.proxyList.length === 0">
|
||||||
{{ $t("Not available, please setup.") }}
|
{{ $t("Not available, please setup.") }}
|
||||||
</p>
|
</p>
|
||||||
|
@ -256,6 +257,7 @@
|
||||||
<button class="btn btn-primary me-2" type="button" @click="$refs.proxyDialog.show()">
|
<button class="btn btn-primary me-2" type="button" @click="$refs.proxyDialog.show()">
|
||||||
{{ $t("Setup Proxy") }}
|
{{ $t("Setup Proxy") }}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- HTTP Options -->
|
<!-- HTTP Options -->
|
||||||
<template v-if="monitor.type === 'http' || monitor.type === 'keyword' ">
|
<template v-if="monitor.type === 'http' || monitor.type === 'keyword' ">
|
||||||
|
|
Loading…
Reference in a new issue