Skip to content

Commit

Permalink
Add copyright headers to UI files
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodingenthusiast committed Mar 11, 2023
1 parent e451a0c commit 3210ba0
Show file tree
Hide file tree
Showing 4,415 changed files with 22,061 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<li
class="acls-separator"
role="separator"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if (can 'use acls')}}
<li data-test-main-nav-auth>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

import Component from '@glimmer/component';
import { action } from '@ember/object';

Expand Down
5 changes: 5 additions & 0 deletions ui/packages/consul-acls/vendor/consul-acls/routes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(routes => routes({
dc: {
acls: {
Expand Down
5 changes: 5 additions & 0 deletions ui/packages/consul-acls/vendor/consul-acls/services.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(services => services({

}))(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div
class="consul-hcp-home"
...attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

.consul-hcp-home {
position: relative;
top: -22px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
Expand Down
5 changes: 5 additions & 0 deletions ui/packages/consul-hcp/vendor/consul-hcp/routes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(routes => routes({
dc: {
show: null
Expand Down
5 changes: 5 additions & 0 deletions ui/packages/consul-hcp/vendor/consul-hcp/services.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(services => services({
'component:consul/hcp/home': {
class: 'consul-ui/components/consul/hcp/home',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div
class="consul-lock-session-form"
data-test-session={{@item.ID}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

.consul-lock-session-form {
overflow: hidden;
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<ListCollection
class="consul-lock-session-list"
...attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

.consul-lock-session-list ul > li:not(:first-child) {
@extend %composite-row;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if (eq @type 'remove')}}
{{#if @error}}
<Hds::Toast
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Route
@name={{routeName}}
as |route|>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(routes => routes({
dc: {
nodes: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(services => services({

}))(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div class="consul-nspace-form" ...attributes>
<DataWriter
@sink={{uri
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

import Component from "@glimmer/component";
import { action } from "@ember/object";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<ListCollection
class="consul-nspace-list"
...attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

export default (collection, clickable, attribute, text, actions) => () => {
return collection('.consul-nspace-list [data-test-list-row]', {
nspace: clickable('a'),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if (eq @type 'remove')}}
<Hds::Toast @color='success'
...attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<SearchBar
class="consul-nspace-search-bar"
...attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if (can "use nspaces")}}
{{#if (can "choose nspaces")}}
{{#let
Expand Down
5 changes: 5 additions & 0 deletions ui/packages/consul-nspaces/app/templates/dc/nspaces/edit.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Route
@name={{routeName}}
as |route|>
Expand Down
5 changes: 5 additions & 0 deletions ui/packages/consul-nspaces/app/templates/dc/nspaces/index.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Route
@name={{routeName}}
as |route|>
Expand Down
5 changes: 5 additions & 0 deletions ui/packages/consul-nspaces/vendor/consul-nspaces/routes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(routes => routes({
dc: {
nspaces: {
Expand Down
5 changes: 5 additions & 0 deletions ui/packages/consul-nspaces/vendor/consul-nspaces/services.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(services => services({

}))(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div
class="consul-partition-form"
...attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<ListCollection
class="consul-partition-list"
...attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

export const selectors = () => ({
['.consul-partition-list']: {
row: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#if (eq @type 'remove')}}
<Hds::Toast
@color='success'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<SearchBar
class="consul-partition-search-bar"
...attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

{{#let
(or @partition "default")
(is-href "dc.partitions" @dc.Name)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Route
@name={{routeName}}
as |route|>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Route
@name={{routeName}}
as |route|>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(routes => routes({
dc: {
partitions: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

(services => services({
"component:consul/partition/selector": {
"class": "consul-ui/components/consul/partition/selector"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Providers::Dimension as |p|>
{{#if p.data.height}}
<div style={{p.data.fillRemainingHeightStyle}} class="overflow-y-scroll">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

.border-bottom-primary {
border-bottom: 1px solid var(--token-color-border-primary);
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<Hds::Card::Container @level="base" @hasBorder={{true}} class="mt-6 mb-3">
<div class="flex h-24 p-6 overflow-x-auto space-x-12">
<div class="shrink-0">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

%pill-pending::before,
%pill-establishing::before,
%pill-active::before,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

export default {
id: 'consul-peer-form',
initial: 'generate',
Expand Down
Loading

0 comments on commit 3210ba0

Please sign in to comment.