-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from maykinmedia/feature/destruction-list-create
Feature/destruction list create
- Loading branch information
Showing
22 changed files
with
7,370 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from django.contrib import admin | ||
|
||
from .models import Zaak | ||
|
||
|
||
@admin.register(Zaak) | ||
class ZaakAdmin(admin.ModelAdmin): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
import { render } from "@testing-library/react"; | ||
import React from "react"; | ||
import * as React from "react"; | ||
import { createBrowserRouter } from "react-router-dom"; | ||
|
||
import App from "./App"; | ||
|
||
test("renders app", () => { | ||
const router = createBrowserRouter([ | ||
{ | ||
path: "*", | ||
element: <App />, | ||
}, | ||
]); | ||
render(<App />); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,37 @@ | ||
import { NavigationContext, Outline } from "@maykin-ui/admin-ui"; | ||
import React from "react"; | ||
import { Outlet, useNavigate } from "react-router-dom"; | ||
|
||
import "./App.css"; | ||
|
||
export type AppProps = React.ComponentProps<"div">; | ||
|
||
function App({ children }: AppProps) { | ||
return <div className="App">{children}</div>; | ||
const navigate = useNavigate(); | ||
|
||
return ( | ||
<div className="App"> | ||
<NavigationContext.Provider | ||
value={{ | ||
primaryNavigationItems: [ | ||
{ | ||
children: <Outline.HomeIcon />, | ||
title: "Home", | ||
onClick: () => navigate("/"), | ||
}, | ||
"spacer", | ||
{ | ||
children: <Outline.ArrowRightOnRectangleIcon />, | ||
title: "Uitloggen", | ||
onClick: () => navigate("/logout"), | ||
}, | ||
], | ||
}} | ||
> | ||
<Outlet /> | ||
</NavigationContext.Provider> | ||
</div> | ||
); | ||
} | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.DestructionListCreatePage { | ||
/* Rules here. */ | ||
} |
Oops, something went wrong.