|
|
@ -1,4 +1,6 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
|
|
|
|
<transition name="slide-fade" appear>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<h1> {{ monitor.name }}</h1>
|
|
|
|
<h1> {{ monitor.name }}</h1>
|
|
|
|
<p class="url">
|
|
|
|
<p class="url">
|
|
|
|
<a v-if="monitor.type === 'http' || monitor.type === 'keyword' " :href="monitor.url" target="_blank">{{ monitor.url }}</a>
|
|
|
|
<a v-if="monitor.type === 'http' || monitor.type === 'keyword' " :href="monitor.url" target="_blank">{{ monitor.url }}</a>
|
|
|
@ -74,14 +76,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div v-if="showPingChartBox" class="shadow-box big-padding text-center ping-chart-wrapper">
|
|
|
|
<transition name="slide-fade" appear>
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<PingChart :monitor-id="monitor.id" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-if="showCertInfoBox" class="shadow-box big-padding text-center">
|
|
|
|
<div v-if="showCertInfoBox" class="shadow-box big-padding text-center">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<div class="col">
|
|
|
@ -123,6 +118,15 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-if="showPingChartBox" class="shadow-box big-padding text-center ping-chart-wrapper">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<PingChart :monitor-id="monitor.id" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="shadow-box">
|
|
|
|
<div class="shadow-box">
|
|
|
|
<table class="table table-borderless table-hover">
|
|
|
|
<table class="table table-borderless table-hover">
|
|
|
@ -164,6 +168,8 @@
|
|
|
|
<Confirm ref="confirmDelete" btn-style="btn-danger" @yes="deleteMonitor">
|
|
|
|
<Confirm ref="confirmDelete" btn-style="btn-danger" @yes="deleteMonitor">
|
|
|
|
Are you sure want to delete this monitor?
|
|
|
|
Are you sure want to delete this monitor?
|
|
|
|
</Confirm>
|
|
|
|
</Confirm>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|