Skip to content

Commit

Permalink
adding basics
Browse files Browse the repository at this point in the history
  • Loading branch information
wrt95 committed Dec 15, 2023
1 parent ee8ef99 commit d4c2d08
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/language/src/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@
"process_editor.not_found_process_error_message": "Det finnes ingen prosess definert innenfor BPMN, Du kan verifisere om prosessen finnes i BPMN-filen.",
"process_editor.not_found_process_heading": "Ingen tilgjengelig prosess",
"process_editor.save": "Lagre",
"process_editor.select_datamodel_label": "Datamodell",
"process_editor.too_old_version_helptext_content": "Applikasjonen din har versjon {{ version }} av app-lib-pakken. \nVersjonen er for gammel for å kunne redigere denne modellen.\nDu kan se på prosessen og konfigurere oppsett tilknyttet prosessen, men vi anbefaler at du oppgraderer til versjon 8 eller nyere.",
"process_editor.too_old_version_helptext_title": "Du kan ikke redigere prosessen",
"process_editor.too_old_version_title": "Du kan ikke redigere denne prosessen",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.headerWrapper {
display: flex;
align-items: center;
margin-inline: 1rem;
margin-inline: 0.75rem;
margin-top: 1rem;
justify-content: space-between;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import classes from './ConfigContent.module.css';
import { useTranslation } from 'react-i18next';
import { Divider, Heading, HelpText, Paragraph } from '@digdir/design-system-react';
import { Divider, Heading, HelpText, Paragraph, Select } from '@digdir/design-system-react';
import { ConfigIcon } from './ConfigIcon';
import { ConfigDetailsRow } from './ConfigDetailsRow';
import { getConfigTitleKey, getConfigTitleHelpTextKey } from '../../../utils/configPanelUtils';
Expand Down Expand Up @@ -42,6 +42,25 @@ export const ConfigContent = (): JSX.Element => {
text={bpmnDetails.name}
/>
</ConfigSectionWrapper>
<ConfigSectionWrapper>
{/*
IF Datamodel exists, show drop down with models
ELSE show LINK to Datamodel page
*/}
<Select
label={t('process_editor.select_datamodel_label')}
options={[]}
onChange={() => {}}
value={''}
/>
</ConfigSectionWrapper>
</>
);
};

/**
* options={authLevelOptionKeysAsDisplayStrings}
onChange={(authLevel: RequiredAuthLevel) => onSave(authLevel)}
value={requiredAuthenticationLevelEndUser}
inputId={SELECT_AUTH_LEVEL_ID}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
flex-direction: column;
margin-inline: 1rem;
gap: 1rem;
margin-bottom: 2rem;
margin-top: 1rem;
}

0 comments on commit d4c2d08

Please sign in to comment.