Skip to content

Commit

Permalink
Merge pull request #1006 from bcgov/bugs/detailView
Browse files Browse the repository at this point in the history
EDX-1755 Detail-Summary View Fix
  • Loading branch information
SodhiA1 authored Sep 1, 2023
2 parents ee89059 + 8961610 commit 512713d
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 76 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
id="detailButton"
size="large"
class="detail-button"
:class="{ 'active-button': reportView === 'detail' }"
@click="showDetail"
>
Detail View
Expand All @@ -16,6 +17,7 @@
id="summaryButton"
size="large"
class="summary-button"
:class="{ 'active-button': reportView === 'summary' }"
@click="showSummary"
>
Summary View
Expand Down Expand Up @@ -67,19 +69,22 @@ export default {
}
};
</script>

<style scoped>
.detail-button {
background-color: #003366 !important;
color: white !important;
}

.summary-button {
color: #003366;
border: 1px solid #003366;
}
<style scoped>
.detail-button {
border: 1px solid lightgray;
}
</style>
.summary-button {
border: 1px solid lightgray;
}
.active-button {
background-color: #003366 !important;
color: white !important;
border: 1px solid #003366;
}
</style>



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
id="detailButton"
size="large"
class="detail-button"
:class="{ 'active-button': reportView === 'detail' }"
@click="showDetail"
>
Detail View
Expand All @@ -16,6 +17,7 @@
id="summaryButton"
size="large"
class="summary-button"
:class="{ 'active-button': reportView === 'summary' }"
@click="showSummary"
>
Summary View
Expand Down Expand Up @@ -67,19 +69,22 @@ export default {
}
};
</script>

<style scoped>
.detail-button {
background-color: #003366 !important;
color: white !important;
}

.summary-button {
color: #003366;
border: 1px solid #003366;
}
<style scoped>
.detail-button {
border: 1px solid lightgray;
}
</style>
.summary-button {
border: 1px solid lightgray;
}
.active-button {
background-color: #003366 !important;
color: white !important;
border: 1px solid #003366;
}
</style>



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
id="detailButton"
size="large"
class="detail-button"
:class="{ 'active-button': reportView === 'detail' }"
@click="showDetail"
>
Detail View
Expand All @@ -16,6 +17,7 @@
id="summaryButton"
size="large"
class="summary-button"
:class="{ 'active-button': reportView === 'summary' }"
@click="showSummary"
>
Summary View
Expand Down Expand Up @@ -75,15 +77,18 @@ export default {

<style scoped>
.detail-button {
background-color: #003366 !important;
color: white !important;
border: 1px solid lightgray;
}
.summary-button {
color: #003366;
border: 1px solid #003366;
border: 1px solid lightgray;
}
.active-button {
background-color: #003366 !important;
color: white !important;
border: 1px solid #003366;
}
</style>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
id="detailButton"
size="large"
class="detail-button"
:class="{ 'active-button': reportView === 'detail' }"
@click="showDetail"
>
Detail View
Expand All @@ -16,6 +17,7 @@
id="summaryButton"
size="large"
class="summary-button"
:class="{ 'active-button': reportView === 'summary' }"
@click="showSummary"
>
Summary View
Expand Down Expand Up @@ -67,19 +69,20 @@ export default {
}
};
</script>

<style scoped>
.detail-button {
background-color: #003366 !important;
color: white !important;
}

.summary-button {
color: #003366;
border: 1px solid #003366;
}
</style>
<style scoped>
.detail-button {
border: 1px solid lightgray;
}
.summary-button {
border: 1px solid lightgray;
}
.active-button {
background-color: #003366 !important;
color: white !important;
border: 1px solid #003366;
}
</style>



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
id="detailButton"
size="large"
class="detail-button"
:class="{ 'active-button': reportView === 'detail' }"
@click="showDetail"
>
Detail View
Expand All @@ -16,6 +17,7 @@
id="summaryButton"
size="large"
class="summary-button"
:class="{ 'active-button': reportView === 'summary' }"
@click="showSummary"
>
Summary View
Expand Down Expand Up @@ -67,20 +69,20 @@ export default {
}
};
</script>

<style scoped>
.detail-button {
background-color: #003366 !important;
color: white !important;
}

.summary-button {
color: #003366;
border: 1px solid #003366;
}
<style scoped>
.detail-button {
border: 1px solid lightgray;
}
.summary-button {
border: 1px solid lightgray;
}
.active-button {
background-color: #003366 !important;
color: white !important;
border: 1px solid #003366;
}
</style>

</style>




Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
id="detailButton"
size="large"
class="detail-button"
:class="{ 'active-button': reportView === 'detail' }"
@click="showDetail"
>
Detail View
Expand All @@ -16,6 +17,7 @@
id="summaryButton"
size="large"
class="summary-button"
:class="{ 'active-button': reportView === 'summary' }"
@click="showSummary"
>
Summary View
Expand Down Expand Up @@ -67,19 +69,22 @@ export default {
}
};
</script>

<style scoped>
.detail-button {
background-color: #003366 !important;
color: white !important;
}

.summary-button {
color: #003366;
border: 1px solid #003366;
}
<style scoped>
.detail-button {
border: 1px solid lightgray;
}
</style>
.summary-button {
border: 1px solid lightgray;
}
.active-button {
background-color: #003366 !important;
color: white !important;
border: 1px solid #003366;
}
</style>



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
id="detailButton"
size="large"
class="detail-button"
:class="{ 'active-button': reportView === 'detail' }"
@click="showDetail"
>
Detail View
Expand All @@ -16,6 +17,7 @@
id="summaryButton"
size="large"
class="summary-button"
:class="{ 'active-button': reportView === 'summary' }"
@click="showSummary"
>
Summary View
Expand Down Expand Up @@ -67,19 +69,22 @@ export default {
}
};
</script>

<style scoped>
.detail-button {
background-color: #003366 !important;
color: white !important;
}

.summary-button {
color: #003366;
border: 1px solid #003366;
}
<style scoped>
.detail-button {
border: 1px solid lightgray;
}
</style>
.summary-button {
border: 1px solid lightgray;
}
.active-button {
background-color: #003366 !important;
color: white !important;
border: 1px solid #003366;
}
</style>



Expand Down

0 comments on commit 512713d

Please sign in to comment.