mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
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:
committed by
Eduard Heimbuch
parent
6216945f0d
commit
1b18191c57
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user