Skip to content

Commit

Permalink
Add extra features (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
rroose-rvo authored Nov 6, 2023
1 parent 7728249 commit d4665b7
Show file tree
Hide file tree
Showing 8 changed files with 94 additions and 15 deletions.
21 changes: 21 additions & 0 deletions documentation/demopages/common/mijn-percelen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@
margin-inline-end: -16px;
margin-inline-start: -16px;

.utrecht-icon {
height: 16px;
width: 16px;
}

// .utrecht-button {
// color: var(--rvo-color-donkerblauw);
// }
Expand Down Expand Up @@ -344,4 +349,20 @@
top: 3px;
width: 21px;
}

.rvo-instellingen {
text-align: end;

.utrecht-button {
padding-block-end: 0;
padding-block-start: 0;
padding-inline-end: 0;
padding-inline-start: 0;
}

.utrecht-icon {
height: 16px;
width: 16px;
}
}
}
12 changes: 11 additions & 1 deletion documentation/demopages/mijnpercelen/Oplossen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ const Oplossen = () => {
<div className="rvo-rhs-update-component">
<MenuBar
items={[
{
label: 'Home',

icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
},
{
label: 'Mijn Percelen',
active: true,
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-percelen--default&viewMode=story',
},
{
label: 'Boer Overveen B.V',
Expand Down Expand Up @@ -252,6 +258,10 @@ const Oplossen = () => {
</LayoutColumnRow>
</fieldset>
</div>
<div className="utrecht-button-group">
<Button kind="primary">Versturen</Button>
<Button kind="secondary">Percelen wijzigen</Button>
</div>
</LayoutColumnRow>
</div>
</div>
Expand Down
8 changes: 7 additions & 1 deletion documentation/demopages/mijnpercelen/PerceelEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,16 @@ const PerceelEdit = () => {
<div className="rvo-rhs-update-component">
<MenuBar
items={[
{
label: 'Home',

icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
},
{
label: 'Mijn Percelen',
active: true,
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-percelen--default&viewMode=story',
},
{
label: 'Boer Overveen B.V',
Expand Down
27 changes: 25 additions & 2 deletions documentation/demopages/mijnpercelen/Percelen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ const Percelen = () => {
<div className="rvo-rhs-update-component">
<MenuBar
items={[
{
label: 'Home',

icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
},
{
label: 'Mijn Percelen',
active: true,
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-percelen--default&viewMode=story',
},
{
label: 'Boer Overveen B.V',
Expand Down Expand Up @@ -101,6 +106,20 @@ const Percelen = () => {
<div className="rvo-rhs-update-component">
<LayoutColumnRow size="md">
<Alert kind="warning" content="U moet de wijzigingen nog versturen. <a href='#'>Nu versturen</a>" />
<div className="rvo-instellingen">
<a
className="utrecht-button utrecht-button--rvo-tertiary-action utrecht-button--rvo-xs"
type="button"
href="iframe.html?args=&id=demo-pagina-s-mijn-percelen-profiel--default&viewMode=story"
>
<span
className="utrecht-icon rvo-icon rvo-icon-tandwielen rvo-icon--xs rvo-icon--hemelblauw"
role="img"
aria-label="Tandwielen"
></span>
Instellingen
</a>
</div>
<div className="utrecht-form-fieldset rvo-form-fieldset rvo-percelen-filter-form">
<fieldset className="utrecht-form-fieldset__fieldset utrecht-form-fieldset--html-fieldset">
<details className="rvo-percelen-filter">
Expand Down Expand Up @@ -133,6 +152,7 @@ const Percelen = () => {
</details>
</fieldset>
</div>

<div className="rvo-cards rvo-cards--percelen">
<div className="rvo-card rvo-card--perceel">
<div className="rvo-card-perceel-title">
Expand Down Expand Up @@ -171,6 +191,9 @@ const Percelen = () => {
</div>

<div className="rvo-card-perceel-actions">
<Button kind="warning-subtle" size="xs" showIcon="before" icon="refresh">
Ongedaan maken
</Button>
<Button kind="tertiary" size="xs" showIcon="no">
Bewerken
</Button>
Expand Down
15 changes: 10 additions & 5 deletions documentation/demopages/mijnpercelen/Profiel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,21 @@ const Profiel = () => {
<MenuBar
items={[
{
label: 'Mijn Percelen',
label: 'Home',

link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
},
{
label: 'Mijn Percelen',

link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-percelen--default&viewMode=story',
},
{
label: 'Boer Overveen B.V',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-profiel--default&viewMode=story',
icon: 'user',
active: true,
icon: 'user',
},
{ label: 'Uitloggen', link: '#', align: 'right' },
]}
Expand All @@ -46,15 +51,15 @@ const Profiel = () => {
<main className="rvo-main--mijn-percelen rvo-main--mijn-percelen-sidebar-active rvo-max-width-layout rvo-max-width-layout--md">
<div className="rvo-main-mijn-percelen--sidebar-menu">
<MenuBar
items={[{ label: 'Voorkeuren', link: '#', icon: 'user', active: true }]}
items={[{ label: 'Instellingen', link: '#', icon: 'user', active: true }]}
size="md"
useIcons={true}
iconPlacement="before"
menuMaxWidth="md"
/>
</div>
<div className="rvo-main-mijn-percelen--profiel">
<Heading type="h1" textContent="Voorkeuren" />
<Heading type="h1" textContent="Instellingen" />
<LayoutColumnRow size="md">
<ul role="tablist" className="rvo-tabs">
<li role="presentation" className="rvo-tabs-item">
Expand Down
9 changes: 7 additions & 2 deletions documentation/demopages/mijnpercelen/Samenvatting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ const Samenvatting = () => {
<div className="rvo-rhs-update-component">
<MenuBar
items={[
{
label: 'Home',

icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
},
{
label: 'Mijn Percelen',
active: true,
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-percelen--default&viewMode=story',
},
{
label: 'Boer Overveen B.V',
Expand Down
7 changes: 6 additions & 1 deletion documentation/demopages/mijnpercelen/Startpagina.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@ const Startpagina = () => {
<MenuBar
items={[
{
label: 'Mijn Percelen',
label: 'Home',
active: true,
icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
},
{
label: 'Mijn Percelen',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-percelen--default&viewMode=story',
},
{
label: 'Boer Overveen B.V',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-profiel--default&viewMode=story',
Expand Down
10 changes: 7 additions & 3 deletions documentation/demopages/mijnpercelen/Versturen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,20 @@ const Versturen = () => {
<MenuBar
items={[
{
label: 'Mijn Percelen',
label: 'Home',

link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
icon: 'home',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-startpagina--default&viewMode=story',
},
{
label: 'Mijn Percelen',
active: true,
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-percelen--default&viewMode=story',
},
{
label: 'Boer Overveen B.V',
link: 'iframe.html?args=&id=demo-pagina-s-mijn-percelen-profiel--default&viewMode=story',
icon: 'user',
active: true,
},
{ label: 'Uitloggen', link: '#', align: 'right' },
]}
Expand Down

0 comments on commit d4665b7

Please sign in to comment.