Repository: louislam/uptime-kuma
File: src/pages/EditMonitor.vue (Vue)

Code before:

                                    <div class="form-text">
                                        <template v-if="$root.info.runtime.platform === 'linux'">
                                            {{ $t("systemServiceDescriptionLinux", {service_name: monitor.system_service_name || 'nginx'}) }}
                                        </template>
                                        <template v-else-if="$root.info.runtime.platform === 'win32'">
                                            {{ $t("systemServiceDescriptionWindows", {service_name: monitor.system_service_name || 'wuauserv'}) }}
                                        </template>
                                        <template v-else>
                                            {{ $t("systemServiceDescription", {service_name: monitor.system_service_name || 'nginx'}) }}
                                        </template>

                                        <div v-if="$root.info.runtime.platform === 'linux'" class="mt-2">
                                            <div>
                                                <i18n-t keypath="systemServiceCommandHint" tag="span">
                                                    <template #command>
                                                        <code>systemctl is-active {{ monitor.system_service_name || 'nginx' }}</code>
                                                    </template>
                                                </i18n-t>
                                            </div>
                                            <div class="text-secondary small">
                                                {{ $t("systemServiceExpectedOutput", ["active"]) }}
                                            </div>
                                        </div>

                                        <div v-if="$root.info.runtime.platform === 'win32'" class="mt-2">
                                            <div>
                                                <i18n-t keypath="systemServiceCommandHint" tag="span">
                                                    <template #command>
                                                        <code>(Get-Service -Name '{{ monitor.system_service_name || 'wuauserv' }}').Status</code>
                                                    </template>
                                                </i18n-t>
                                            </div>
                                            <div class="text-secondary small">
                                                {{ $t("systemServiceExpectedOutput", ["Running"]) }}
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </template>

                            <template v-if="monitor.type === 'mysql'">
                                <div class="my-3">
                                    <label for="mysql-password" class="form-label">{{ $t("Password") }}</label>
                                    <!-- TODO: Rename monitor.radiusPassword to monitor.password for general use -->
                                    <HiddenInput id="mysql-password" v-model="monitor.radiusPassword" autocomplete="false"></HiddenInput>
                                </div>
                            </template>

                            <!-- SQL Server / PostgreSQL / MySQL -->
                            <template v-if="monitor.type === 'sqlserver' || monitor.type === 'postgres' || monitor.type === 'mysql'">

Review comment (suggestion):
```suggestion
                                        <div v-else-if="$root.info.runtime.platform === 'win32'" class="mt-2">
```

Code after:
                                            <a href="https://www.mongodb.com/docs/manual/reference/command/" target="_blank" rel="noopener noreferrer">{{ $t('documentationOf', ['MongoDB']) }}</a>
                                        </template>
                                    </i18n-t>
                                </div>
                                <div class="my-3">
                                    <label for="jsonPath" class="form-label">{{ $t("Json Query") }}</label>
                                    <input id="jsonPath" v-model="monitor.jsonPath" type="text" class="form-control">

                                    <i18n-t tag="div" class="form-text" keypath="jsonQueryDescription">
                                        <a href="https://jsonata.org/" target="_blank" rel="noopener noreferrer">jsonata.org</a>
                                        <a href="https://try.jsonata.org/" target="_blank" rel="noopener noreferrer">{{ $t('here') }}</a>
                                    </i18n-t>
                                </div>
                                <div class="my-3">
                                    <label for="expectedValue" class="form-label">{{ $t("Expected Value") }}</label>
                                    <input id="expectedValue" v-model="monitor.expectedValue" type="text" class="form-control">
                                </div>
                            </template>

                            <!-- Conditions -->
                            <EditMonitorConditions
                                v-if="supportsConditions && conditionVariables.length > 0"
                                v-model="monitor.conditions"
                                :condition-variables="conditionVariables"
                                class="my-3"
                            />

                            <!-- Interval -->
                            <div class="my-3">
                                <label for="interval" class="form-label">{{ $t("Heartbeat Interval") }} ({{ $t("checkEverySecond", [ monitor.interval ]) }})</label>
                                <input
                                    id="interval"
                                    v-model="monitor.interval"
                                    type="number"
                                    class="form-control"
                                    required
                                    :min="minInterval"
                                    :max="maxInterval"
                                    step="1"
                                    @focus="lowIntervalConfirmation.editedValue=true"
                                    @blur="checkIntervalValue"
                                >

                                <div class="form-text">
                                    {{ monitor.humanReadableInterval }}
                                </div>

                                <div v-if="monitor.interval < 20" class="form-text">
                                    {{ $t("minimumIntervalWarning") }}
                                </div>
                            </div>