BigW Consortium Gitlab

environment_monitoring.vue 564 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<script>
/**
 * Renders the Monitoring (Metrics) link in environments table.
 */
export default {
  props: {
    monitoringUrl: {
      type: String,
      required: true,
    },
  },

  computed: {
    title() {
      return 'Monitoring';
    },
  },
};
</script>
<template>
  <a
22
    class="btn monitoring-url has-tooltip hidden-xs hidden-sm"
23 24 25 26 27 28 29 30 31 32
    data-container="body"
    rel="noopener noreferrer nofollow"
    :href="monitoringUrl"
    :title="title"
    :aria-label="title">
    <i
      class="fa fa-area-chart"
      aria-hidden="true" />
  </a>
</template>