diff options
author | Jose <jvargas@gitlab.com> | 2018-06-28 01:13:21 +0300 |
---|---|---|
committer | Jose <jvargas@gitlab.com> | 2018-07-03 20:49:40 +0300 |
commit | bafa86dec1ff32375178473a4e193a9f40dece45 (patch) | |
tree | 94050ca2352c1938ae08d5abdb75cbcc0fa365b1 /app/assets/javascripts | |
parent | 3fc8aa2c173fce2aa93a0bad6dcfaa945331cb6c (diff) |
Add dropdown, without data
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/monitoring/components/dashboard.vue | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/app/assets/javascripts/monitoring/components/dashboard.vue b/app/assets/javascripts/monitoring/components/dashboard.vue index e1c8b6a6d4a..d8416cdb12e 100644 --- a/app/assets/javascripts/monitoring/components/dashboard.vue +++ b/app/assets/javascripts/monitoring/components/dashboard.vue @@ -155,8 +155,30 @@ export default { <template> <div v-if="!showEmptyState" - class="prometheus-graphs" + class="prometheus-graphs prepend-top-10" > + <div class="environments"> + Environment + <div class="dropdown prepend-left-10"> + <!--Set up the actual data--> + <button + class="dropdown-menu-toggle" + data-toggle="dropdown" + type="button" + > + Production + <i class="fa fa-chevron-down"></i> + </button> + <div class="dropdown-menu dropdown-menu-selectable dropdown-menu-drop-up"> + <a + href="#" + class="dropdown-item" + > + Staging + </a> + </div> + </div> + </div> <graph-group v-for="(groupData, index) in store.groups" :key="index" |