UNCLASSIFIED - NO CUI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
platform-one-site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform One
Party Bus
static-sites
platform-one-site
Commits
45cdfb03
Commit
45cdfb03
authored
4 years ago
by
Luke Glasscock
Browse files
Options
Downloads
Patches
Plain Diff
Add ability to pass component to Header as prop
parent
48b7b6cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/components/ADCE/HeaderSubtextTooltip.vue
+14
-0
14 additions, 0 deletions
src/components/ADCE/HeaderSubtextTooltip.vue
src/components/PageHeader.vue
+6
-2
6 additions, 2 deletions
src/components/PageHeader.vue
src/views/ADCE.vue
+3
-1
3 additions, 1 deletion
src/views/ADCE.vue
with
23 additions
and
3 deletions
src/components/ADCE/HeaderSubtextTooltip.vue
0 → 100644
+
14
−
0
View file @
45cdfb03
<
template
>
<span>
<Tooltip
text=
"ABMS"
tooltip=
"Advanced Battle Management System"
light
/>
<Tooltip
text=
"ADCE"
tooltip=
"All Domain Common Environment"
light
/>
</span>
</
template
>
<
script
>
import
Tooltip
from
"
@/components/Base/Tooltip.vue
"
;
export
default
{
components
:
{
Tooltip
},
};
</
script
>
<
style
></
style
>
This diff is collapsed.
Click to expand it.
src/components/PageHeader.vue
+
6
−
2
View file @
45cdfb03
...
...
@@ -35,10 +35,13 @@
: 'col-md-9 py-0 mt-md-n10'
"
>
<div
v-if=
"subtext"
>
<h2
class=
"subtext"
>
<div
v-if=
"subtext
|| subtextComponent
"
>
<h2
class=
"subtext"
v-if=
"subtext"
>
{{
subtext
}}
</h2>
<h2
class=
"subtext"
v-if=
"subtextComponent"
>
<component
v-bind:is=
"subtextComponent"
/>
</h2>
</div>
<div
class=
"py-0"
>
<h1
class=
"my-0"
>
...
...
@@ -105,6 +108,7 @@ export default {
displaySearch
:
Boolean
,
onChangeSearch
:
Function
,
hideBreadcrumbs
:
Boolean
,
subtextComponent
:
Object
,
},
components
:
{
Breadcrumb
},
data
()
{
...
...
This diff is collapsed.
Click to expand it.
src/views/ADCE.vue
+
3
−
1
View file @
45cdfb03
...
...
@@ -2,7 +2,7 @@
<div
class=
"adce"
>
<PageHeader
title=
"The Party Bus"
subtext
=
"ABMS ADCE
"
:
subtext
Component=
"headerSubtextTooltip
"
description=
"The environment and services you need to develop and deploy your software application"
:logoSource=
"pbLogo"
/>
...
...
@@ -249,6 +249,7 @@ import PairedProgrammingIcon from "@/assets/images/icons/Icon_PairedProgramming.
import
TestDrivenDevelopmentIcon
from
"
@/assets/images/icons/Icon_TestDrivenDevelopment.svg
"
;
import
PBGraphicsProcess
from
"
@/assets/images/party-bus/Party_Bus_Graphics_Process.png
"
;
import
DownloadButton
from
"
@/components/Base/DownloadButton
"
;
import
HeaderSubtextTooltip
from
"
@/components/ADCE/HeaderSubtextTooltip
"
;
export
default
{
name
:
"
ADCE
"
,
...
...
@@ -281,6 +282,7 @@ export default {
return
{
currentTab
:
""
,
pbLogo
:
PBLogo
,
headerSubtextTooltip
:
HeaderSubtextTooltip
,
pbGraphicsProcess
:
PBGraphicsProcess
,
// lightbox state
lightbox
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment