|
|
@ -175,10 +175,15 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mt-3">
|
|
|
|
<div class="mt-3">
|
|
|
|
<label>{{ $t("Add a monitor") }}:</label>
|
|
|
|
<div v-if="allMonitorList.length > 0 && loadedData">
|
|
|
|
<select v-model="selectedMonitor" class="form-control">
|
|
|
|
<label>{{ $t("Add a monitor") }}:</label>
|
|
|
|
<option v-for="monitor in allMonitorList" :key="monitor.id" :value="monitor">{{ monitor.name }}</option>
|
|
|
|
<select v-model="selectedMonitor" class="form-control">
|
|
|
|
</select>
|
|
|
|
<option v-for="monitor in allMonitorList" :key="monitor.id" :value="monitor">{{ monitor.name }}</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div v-else class="text-center">
|
|
|
|
|
|
|
|
{{ $t("No monitors available.") }} <router-link to="/add">{{ $t("Add one") }}</router-link>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|