Skip to content

Commit

Permalink
fix header in jsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng authored and bjoernricks committed Jun 10, 2024
1 parent 78f5da0 commit eb39e0c
Show file tree
Hide file tree
Showing 1,160 changed files with 2,319 additions and 16,228 deletions.
16 changes: 2 additions & 14 deletions src/index.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2016-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import React from 'react';

import {createRoot} from 'react-dom/client';
Expand Down
16 changes: 2 additions & 14 deletions src/web/app.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2016-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import React from 'react';

import {Provider as StoreProvider} from 'react-redux';
Expand Down
16 changes: 2 additions & 14 deletions src/web/authorized.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2018-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import React from 'react';

import {connect} from 'react-redux';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/badge/__tests__/badge.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
/* Copyright (C) 2019-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/


import {describe, test, expect} from '@gsa/testing';

import {render} from 'web/utils/testing';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/badge/badge.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
/* Copyright (C) 2017-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/


import React, {useRef, useState, useEffect} from 'react';

import styled from 'styled-components';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/__tests__/compliancestatusbar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2019-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import {describe, test, expect} from '@gsa/testing';

import {render} from 'web/utils/testing';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/__tests__/progressbar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2019-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import {describe, test, expect} from '@gsa/testing';

import {render} from 'web/utils/testing';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/__tests__/severitybar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2019-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import {describe, test, expect} from '@gsa/testing';

import {render} from 'web/utils/testing';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/__tests__/statusbar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2019-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import {describe, test, expect} from '@gsa/testing';

import {render} from 'web/utils/testing';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/__tests__/titlebar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2019-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import {describe, test, expect} from '@gsa/testing';

import {rendererWith} from 'web/utils/testing';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/__tests__/toolbar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2019-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import {describe, test, expect} from '@gsa/testing';

import {render} from 'web/utils/testing';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/compliancestatusbar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2018-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import React from 'react';

import _ from 'gmp/locale';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/menubar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2016-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import React from 'react';

import {connect} from 'react-redux';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/progressbar.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
/* Copyright (C) 2017-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/


import React from 'react';

import styled from 'styled-components';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/severitybar.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* Copyright (C) 2016-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import React from 'react';

import {isDefined} from 'gmp/utils/identity';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/statusbar.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
/* Copyright (C) 2016-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/


import React from 'react';

import styled from 'styled-components';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/titlebar.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
/* Copyright (C) 2016-2022 Greenbone AG
/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/


import React from 'react';

import {connect} from 'react-redux';
Expand Down
Loading

0 comments on commit eb39e0c

Please sign in to comment.