Add plugin wizard initialization step (#2045)

Adds a new initialization step after setting up the initial administration account that allows administrators to initialize the instance with a selection of plugin sets.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
This commit is contained in:
Konstantin Schaper
2022-05-31 15:14:52 +02:00
committed by Eduard Heimbuch
parent 6216945f0d
commit 1b18191c57
63 changed files with 2294 additions and 135 deletions

View File

@@ -21,17 +21,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React, { FC, ReactNode } from "react";
import React, { FC } from "react";
import Logo from "./../Logo";
import { Links } from "@scm-manager/ui-types";
type Props = {
links: Links;
authenticated: boolean;
children: ReactNode;
authenticated?: boolean;
};
const SmallHeader: FC<{ children: ReactNode }> = ({ children }) => {
const SmallHeader: FC = ({ children }) => {
return <div className="has-scm-background">{children}</div>;
};
@@ -51,7 +48,7 @@ const LargeHeader: FC = () => {
);
};
const Header: FC<Props> = ({ authenticated, children, links }) => {
const Header: FC<Props> = ({ authenticated, children }) => {
if (authenticated) {
return <SmallHeader>{children}</SmallHeader>;
} else {