Commit 4aeaef5d authored by Nathan Friend's avatar Nathan Friend

Remove duplicate "Operations Dashboard" header

This commit cleans up the Operations Dashboard page by removing the
duplicate header and converting the breadcrumb into a proper page title.
In addition, this commit moves the search bar into the same line as the
"Operations Dashboard" header.

Relevant issue:
https://gitlab.com/gitlab-org/gitlab-ee/issues/9129
parent 9254a80c
...@@ -54,13 +54,13 @@ export default { ...@@ -54,13 +54,13 @@ export default {
<template> <template>
<div class="operations-dashboard"> <div class="operations-dashboard">
<nav class="breadcrumbs container-fluid container-limited"> <div
<div class="breadcrumbs-container"> class="page-title-holder flex-fill d-flex flex-column flex-md-row align-items-md-end align-items-stretch"
<h2 class="js-dashboard-title breadcrumbs-sub-title">{{ __('Operations Dashboard') }}</h2> >
<div class="flex-fill append-right-20">
<h1 class="js-dashboard-title page-title text-nowrap">{{ __('Operations Dashboard') }}</h1>
</div> </div>
</nav> <div class="d-flex flex-fill align-items-end append-bottom-default">
<div class="container-fluid container-limited prepend-top-default">
<div class="d-flex align-items-center">
<project-search class="flex-grow-1" /> <project-search class="flex-grow-1" />
<button <button
:class="{ disabled: addIsDisabled }" :class="{ disabled: addIsDisabled }"
...@@ -71,6 +71,8 @@ export default { ...@@ -71,6 +71,8 @@ export default {
{{ __('Add projects') }} {{ __('Add projects') }}
</button> </button>
</div> </div>
</div>
<div class="prepend-top-default">
<div v-if="projects.length" class="row m-0 prepend-top-default"> <div v-if="projects.length" class="row m-0 prepend-top-default">
<div <div
v-for="project in projects" v-for="project in projects"
......
- page_title _('Operations') - page_title _('Operations Dashboard')
- @hide_breadcrumbs = true
#js-operations{ data: operations_data } #js-operations{ data: operations_data }
---
title: Remove duplicate "Operations Dashboard" header/breadcrumb
merge_request: 9152
author: Nathan Friend
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment