favor h1 tags over h2 w/ burnettk
This commit is contained in:
parent
427973a4aa
commit
1bd671fe3c
|
@ -122,7 +122,7 @@ export default function HomePage() {
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h2>Processes I can start</h2>
|
<h1>Processes I can start</h1>
|
||||||
<Table striped bordered>
|
<Table striped bordered>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -145,7 +145,7 @@ export default function HomePage() {
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h2>Tasks waiting for me</h2>
|
<h1>Tasks waiting for me</h1>
|
||||||
<PaginationForTable
|
<PaginationForTable
|
||||||
page={page}
|
page={page}
|
||||||
perPage={perPage}
|
perPage={perPage}
|
||||||
|
|
|
@ -126,7 +126,7 @@ export default function MessageInstanceList() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{breadcrumbElement}
|
{breadcrumbElement}
|
||||||
<h2>Messages</h2>
|
<h1>Messages</h1>
|
||||||
<PaginationForTable
|
<PaginationForTable
|
||||||
page={page}
|
page={page}
|
||||||
perPage={perPage}
|
perPage={perPage}
|
||||||
|
|
|
@ -33,7 +33,7 @@ export default function ProcessGroupEdit() {
|
||||||
],
|
],
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<h2>Edit Process Group: {(processGroup as any).id}</h2>
|
<h1>Edit Process Group: {(processGroup as any).id}</h1>
|
||||||
<ProcessGroupForm
|
<ProcessGroupForm
|
||||||
mode="edit"
|
mode="edit"
|
||||||
processGroup={processGroup}
|
processGroup={processGroup}
|
||||||
|
|
|
@ -20,7 +20,7 @@ export default function ProcessGroupNew() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ProcessBreadcrumb hotCrumbs={hotCrumbs} />
|
<ProcessBreadcrumb hotCrumbs={hotCrumbs} />
|
||||||
<h2>Add Process Group</h2>
|
<h1>Add Process Group</h1>
|
||||||
<ProcessGroupForm
|
<ProcessGroupForm
|
||||||
mode="new"
|
mode="new"
|
||||||
processGroup={processGroup}
|
processGroup={processGroup}
|
||||||
|
|
|
@ -494,7 +494,7 @@ export default function ProcessInstanceList() {
|
||||||
};
|
};
|
||||||
|
|
||||||
const processInstanceTitleElement = () => {
|
const processInstanceTitleElement = () => {
|
||||||
return <h2>Process Instances</h2>;
|
return <h1>Process Instances</h1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleShowFilterOptions = () => {
|
const toggleShowFilterOptions = () => {
|
||||||
|
|
|
@ -112,7 +112,7 @@ export default function ProcessInstanceReportEdit() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ProcessBreadcrumb />
|
<ProcessBreadcrumb />
|
||||||
<h2>Edit Process Instance Report: {params.report_identifier}</h2>
|
<h1>Edit Process Instance Report: {params.report_identifier}</h1>
|
||||||
<ButtonWithConfirmation
|
<ButtonWithConfirmation
|
||||||
description={`Delete Report ${params.report_identifier}?`}
|
description={`Delete Report ${params.report_identifier}?`}
|
||||||
onConfirmation={deleteProcessInstanceReport}
|
onConfirmation={deleteProcessInstanceReport}
|
||||||
|
|
|
@ -54,7 +54,7 @@ export default function ProcessInstanceReportList() {
|
||||||
processModelId={params.process_model_id}
|
processModelId={params.process_model_id}
|
||||||
linkProcessModel
|
linkProcessModel
|
||||||
/>
|
/>
|
||||||
<h2>Reports for Process Model: {params.process_model_id}</h2>
|
<h1>Reports for Process Model: {params.process_model_id}</h1>
|
||||||
<Button
|
<Button
|
||||||
href={`/admin/process-models/${modifiedProcessModelId}/process-instances/reports/new`}
|
href={`/admin/process-models/${modifiedProcessModelId}/process-instances/reports/new`}
|
||||||
>
|
>
|
||||||
|
|
|
@ -59,7 +59,7 @@ export default function ProcessInstanceReportNew() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ProcessBreadcrumb />
|
<ProcessBreadcrumb />
|
||||||
<h2>Add Process Model</h2>
|
<h1>Add Process Model</h1>
|
||||||
<form onSubmit={addProcessInstanceReport}>
|
<form onSubmit={addProcessInstanceReport}>
|
||||||
<label htmlFor="identifier">
|
<label htmlFor="identifier">
|
||||||
identifier:
|
identifier:
|
||||||
|
|
|
@ -80,7 +80,7 @@ export default function ProcessInstanceReport() {
|
||||||
processGroupId={params.process_group_id}
|
processGroupId={params.process_group_id}
|
||||||
linkProcessModel
|
linkProcessModel
|
||||||
/>
|
/>
|
||||||
<h2>Process Instance Report: {params.report_identifier}</h2>
|
<h1>Process Instance Report: {params.report_identifier}</h1>
|
||||||
<Button
|
<Button
|
||||||
href={`/admin/process-models/${params.process_group_id}/${params.process_model_id}/process-instances/reports/${params.report_identifier}/edit`}
|
href={`/admin/process-models/${params.process_group_id}/${params.process_model_id}/process-instances/reports/${params.report_identifier}/edit`}
|
||||||
>
|
>
|
||||||
|
|
|
@ -30,7 +30,7 @@ export default function ProcessModelEdit() {
|
||||||
],
|
],
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<h2>Edit Process Model: {(processModel as any).id}</h2>
|
<h1>Edit Process Model: {(processModel as any).id}</h1>
|
||||||
<ProcessModelForm
|
<ProcessModelForm
|
||||||
mode="edit"
|
mode="edit"
|
||||||
processGroupId={params.process_group_id}
|
processGroupId={params.process_group_id}
|
||||||
|
|
|
@ -782,10 +782,10 @@ export default function ProcessModelEditDiagram() {
|
||||||
[processModelFileName],
|
[processModelFileName],
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<h2>
|
<h1>
|
||||||
Process Model File{processModelFile ? ': ' : ''}
|
Process Model File{processModelFile ? ': ' : ''}
|
||||||
{processModelFileName}
|
{processModelFileName}
|
||||||
</h2>
|
</h1>
|
||||||
{appropriateEditor()}
|
{appropriateEditor()}
|
||||||
{newFileNameBox()}
|
{newFileNameBox()}
|
||||||
{scriptEditor()}
|
{scriptEditor()}
|
||||||
|
|
|
@ -25,7 +25,7 @@ export default function ProcessModelNew() {
|
||||||
],
|
],
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<h2>Add Process Model</h2>
|
<h1>Add Process Model</h1>
|
||||||
<ProcessModelForm
|
<ProcessModelForm
|
||||||
mode="new"
|
mode="new"
|
||||||
processGroupId={params.process_group_id}
|
processGroupId={params.process_group_id}
|
||||||
|
|
|
@ -166,10 +166,10 @@ export default function ReactFormEditor() {
|
||||||
[processModelFileName],
|
[processModelFileName],
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<h2>
|
<h1>
|
||||||
Process Model File{processModelFile ? ': ' : ''}
|
Process Model File{processModelFile ? ': ' : ''}
|
||||||
{processModelFileName}
|
{processModelFileName}
|
||||||
</h2>
|
</h1>
|
||||||
{newFileNameBox()}
|
{newFileNameBox()}
|
||||||
<Button onClick={saveFile} variant="danger" data-qa="file-save-button">
|
<Button onClick={saveFile} variant="danger" data-qa="file-save-button">
|
||||||
Save
|
Save
|
||||||
|
|
|
@ -95,7 +95,7 @@ export default function SecretList() {
|
||||||
if (pagination) {
|
if (pagination) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<h2>Secrets</h2>
|
<h1>Secrets</h1>
|
||||||
{SecretsDisplayArea()}
|
{SecretsDisplayArea()}
|
||||||
<Button href="/admin/secrets/new">Add a secret</Button>
|
<Button href="/admin/secrets/new">Add a secret</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -46,7 +46,7 @@ export default function SecretNew() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main style={{ padding: '1rem 0' }}>
|
<main style={{ padding: '1rem 0' }}>
|
||||||
<h2>Add Secret</h2>
|
<h1>Add Secret</h1>
|
||||||
<Form onSubmit={addSecret}>
|
<Form onSubmit={addSecret}>
|
||||||
<Form.Group className="mb-3" controlId="formDisplayName">
|
<Form.Group className="mb-3" controlId="formDisplayName">
|
||||||
<Form.Label>
|
<Form.Label>
|
||||||
|
|
|
@ -65,7 +65,7 @@ export default function SecretShow() {
|
||||||
if (secret) {
|
if (secret) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h2>Secret Key: {secret.key}</h2>
|
<h1>Secret Key: {secret.key}</h1>
|
||||||
<Stack orientation="horizontal" gap={3}>
|
<Stack orientation="horizontal" gap={3}>
|
||||||
<ButtonWithConfirmation
|
<ButtonWithConfirmation
|
||||||
description="Delete Secret?"
|
description="Delete Secret?"
|
||||||
|
|
Loading…
Reference in New Issue