Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui, compliance] Remove the newline after .hbs copyright headers #16861

Merged
merged 2 commits into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ui/app/components/allocation-service-sidebar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div
class="sidebar has-subnav service-sidebar {{if this.isSideBarOpen "open"}}"
{{on-click-outside
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/breadcrumbs.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{yield this.crumbs}}
1 change: 0 additions & 1 deletion ui/app/components/breadcrumbs/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{! template-lint-disable no-unknown-arguments-for-builtin-components }}
<li data-test-breadcrumb-default
{{(modifier
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/breadcrumbs/job.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Trigger @onError={{action this.onError}} @do={{this.fetchParent}} as |trigger|>
{{did-insert trigger.fns.do}}
{{#if trigger.data.isBusy}}
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/chart-primitives/area.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<defs>
<linearGradient x1="0" x2="0" y1="0" y2="1" class="{{this.colorClass}}" id="{{this.fillId}}">
<stop class="start" offset="0%" />
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/chart-primitives/h-annotations.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div data-test-annotations class="line-chart-annotations" style={{this.chartAnnotationsStyle}} ...attributes>
{{#each this.processed key=@key as |annotation|}}
<div data-test-annotation class="chart-horizontal-annotation" style={{annotation.style}}>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/chart-primitives/tooltip.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div data-test-chart-tooltip class="chart-tooltip {{if @active "active" "inactive"}}" style={{@style}} ...attributes>
<ol>
{{#each @data as |props|}}
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/chart-primitives/v-annotations.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div data-test-annotations class="line-chart-annotations" style={{this.chartAnnotationsStyle}} ...attributes>
{{#each this.processed key=@key as |annotation|}}
<div data-test-annotation class="chart-vertical-annotation {{annotation.iconClass}} {{annotation.staggerClass}}" style={{annotation.style}}>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/accepted.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<section class="das-accepted">
<main>
<h3>Recommendation accepted</h3>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/diffs-table.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<table class='diffs-table' ...attributes>
<tbody>
<tr data-test-current>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/dismissed.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<section class="das-dismissed {{if this.explanationUnderstood 'understood'}}">
{{#if this.explanationUnderstood}}
<h3 {{did-insert this.proceedAutomatically}}>Recommendation dismissed</h3>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/error.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<section class="das-error" data-test-recommendation-error>
<section>
<h3 data-test-headline>Recommendation error</h3>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/recommendation-accordion.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if this.show}}
<ListAccordion
data-test-recommendation-accordion
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/recommendation-card.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{! template-lint-disable no-duplicate-landmark-elements}}
{{#if this.interstitialComponent}}
<section class="das-interstitial" style={{this.interstitialStyle}}>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/recommendation-chart.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div
...attributes
class="chart recommendation-chart {{this.directionClass}}"
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/recommendation-row.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if @summary.taskGroup.allocations.length}}
{{! Prevent storing aggregate diffs until allocation count is known }}
<tr
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/das/task-row.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<tr
class={{if @active 'active'}}
{{on 'click' @onClick}}
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/evaluation-sidebar/detail.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#let this.currentEvalDetail as |evaluation|}}
{{#if this.isSideBarOpen}}
{{keyboard-commands this.keyCommands}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div class="boxed-section">
<div class="boxed-section-head">
Related Evaluations
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/keyboard-shortcuts-modal.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if this.keyboard.shortcutsVisible}}
{{keyboard-commands (array this.escapeCommand)}}
<div class="keyboard-shortcuts"
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/metadata-editor.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<form class="metadata-editor">
<label>
<strong>Key</strong>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/metadata-kv.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<tr data-test-attributes-section>
{{#if this.editing}}
<td colspan="2">
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/policy-editor.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<form class="edit-policy" autocomplete="off" {{on "submit" this.save}}>
{{#if @policy.isNew }}
<label>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/primary-metric/allocation.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div data-test-primary-metric class="primary-metric" ...attributes
{{did-insert this.start}}
{{did-update this.start}}>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/primary-metric/current-value.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div class="columns secondary-graphic">
<div class="column">
<div class="inline-chart" data-test-percentage-bar>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/primary-metric/node.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div data-test-primary-metric class="primary-metric" ...attributes
{{did-insert this.start}}
{{did-update this.start}}>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/primary-metric/task.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div data-test-primary-metric class="primary-metric" ...attributes
{{did-insert this.start}}
{{did-update this.start @taskState @metric}}>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/profile-navbar-item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if this.token.selfToken}}
<PowerSelect
data-test-header-profile-dropdown
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/providers/actors-relationships.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{yield
(hash fns=this.actorsRelationships.fns data=this.actorsRelationships.data)
}}
1 change: 0 additions & 1 deletion ui/app/components/service-status-indicator.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<span
class="service-status-indicator status-{{@check.Status}} tooltip is-right-aligned"
aria-label="{{@check.Status}} at {{format-ts @check.Timestamp}}"
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/single-select-dropdown/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div data-test-single-select-dropdown class="dropdown" ...attributes>
<PowerSelect
@options={{@options}}
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/status-cell.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<span class="color-swatch {{@status}}"></span>{{@status}}
1 change: 0 additions & 1 deletion ui/app/components/task-context-sidebar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Portal @target="log-sidebar-portal">
<div
class="sidebar task-context-sidebar has-subnav {{if this.wide "wide"}} {{if @task.events.length "has-events"}} {{if this.isSideBarOpen "open"}}"
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/task-sub-row.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<tr class="task-sub-row {{if @active "is-active"}}"
{{keyboard-shortcut
enumerated=true
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/trigger.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{yield (hash data=this.data fns=this.fns)}}
1 change: 0 additions & 1 deletion ui/app/components/variable-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{did-update this.onViewChange @view}}
{{did-insert this.establishKeyValues}}
<form class="new-variables" autocomplete="off" {{on "submit" this.save}}>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/variable-form/input-group.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<label class="value-label">
<span>
Value
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/variable-form/job-template-editor.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{did-insert this.establishKeyValues}}
<div>
<label>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/variable-form/namespace-filter.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Trigger @do={{this.fetchNamespaces}} @onSuccess={{this.formatAndSetNamespaces}} as |trigger|>
{{did-insert trigger.fns.do}}
{{! No-op on Error}}
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/variable-form/related-entities.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<p class="related-entities notification">
<FlightIcon @name="info-fill" @color="var(--blue)" />
<span>
Expand Down
1 change: 0 additions & 1 deletion ui/app/components/variable-paths.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<ListTable class="path-tree" @source={{@branch}} as |t|>
<t.head>
<th>
Expand Down
1 change: 0 additions & 1 deletion ui/app/templates/allocations.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<PageLayout>
{{outlet}}
</PageLayout>
1 change: 0 additions & 1 deletion ui/app/templates/allocations/allocation.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#each this.breadcrumbs as |crumb|}}
<Breadcrumb @crumb={{crumb}} />
{{/each}}
Expand Down
1 change: 0 additions & 1 deletion ui/app/templates/allocations/allocation/fs.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{page-title this.pathWithLeadingSlash " - Allocation " this.allocation.shortId " filesystem"}}
<AllocationSubnav @allocation={{this.allocation}} />
<Fs::Browser
Expand Down
1 change: 0 additions & 1 deletion ui/app/templates/allocations/allocation/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{page-title "Allocation " this.model.name}}
<AllocationSubnav @allocation={{this.model}} />
<section class="section">
Expand Down
1 change: 0 additions & 1 deletion ui/app/templates/allocations/allocation/task.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Breadcrumb @crumb={{this.breadcrumb}} />{{outlet}}
1 change: 0 additions & 1 deletion ui/app/templates/allocations/allocation/task/fs.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{page-title this.pathWithLeadingSlash " - Task " this.taskState.name " filesystem"}}
<TaskSubnav @task={{this.taskState}} />
<Fs::Browser
Expand Down
1 change: 0 additions & 1 deletion ui/app/templates/allocations/allocation/task/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{page-title "Task " this.model.name}}
<TaskSubnav @task={{this.model}} />
<section class="section">
Expand Down
1 change: 0 additions & 1 deletion ui/app/templates/allocations/allocation/task/logs.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{page-title "Task " this.model.name " logs"}}
<TaskSubnav @task={{this.model}} />
<section class="section is-full-width">
Expand Down
1 change: 0 additions & 1 deletion ui/app/templates/application.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{page-title
(if this.system.shouldShowRegions (concat this.system.activeRegion " - "))
(if this.system.agent.config.UI.Label.Text (concat this.system.agent.config.UI.Label.Text " - "))
Expand Down
Loading