favor h1 tags over h2 w/ burnettk

This commit is contained in:
jasquat 2022-11-10 15:46:57 -05:00
parent 7aca52035c
commit ce3f27d0e7
16 changed files with 19 additions and 19 deletions

View File

@ -122,7 +122,7 @@ export default function HomePage() {
});
return (
<>
<h2>Processes I can start</h2>
<h1>Processes I can start</h1>
<Table striped bordered>
<thead>
<tr>
@ -145,7 +145,7 @@ export default function HomePage() {
);
return (
<>
<h2>Tasks waiting for me</h2>
<h1>Tasks waiting for me</h1>
<PaginationForTable
page={page}
perPage={perPage}

View File

@ -126,7 +126,7 @@ export default function MessageInstanceList() {
return (
<>
{breadcrumbElement}
<h2>Messages</h2>
<h1>Messages</h1>
<PaginationForTable
page={page}
perPage={perPage}

View File

@ -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
mode="edit"
processGroup={processGroup}

View File

@ -20,7 +20,7 @@ export default function ProcessGroupNew() {
return (
<>
<ProcessBreadcrumb hotCrumbs={hotCrumbs} />
<h2>Add Process Group</h2>
<h1>Add Process Group</h1>
<ProcessGroupForm
mode="new"
processGroup={processGroup}

View File

@ -494,7 +494,7 @@ export default function ProcessInstanceList() {
};
const processInstanceTitleElement = () => {
return <h2>Process Instances</h2>;
return <h1>Process Instances</h1>;
};
const toggleShowFilterOptions = () => {

View File

@ -112,7 +112,7 @@ export default function ProcessInstanceReportEdit() {
return (
<>
<ProcessBreadcrumb />
<h2>Edit Process Instance Report: {params.report_identifier}</h2>
<h1>Edit Process Instance Report: {params.report_identifier}</h1>
<ButtonWithConfirmation
description={`Delete Report ${params.report_identifier}?`}
onConfirmation={deleteProcessInstanceReport}

View File

@ -54,7 +54,7 @@ export default function ProcessInstanceReportList() {
processModelId={params.process_model_id}
linkProcessModel
/>
<h2>Reports for Process Model: {params.process_model_id}</h2>
<h1>Reports for Process Model: {params.process_model_id}</h1>
<Button
href={`/admin/process-models/${modifiedProcessModelId}/process-instances/reports/new`}
>

View File

@ -59,7 +59,7 @@ export default function ProcessInstanceReportNew() {
return (
<>
<ProcessBreadcrumb />
<h2>Add Process Model</h2>
<h1>Add Process Model</h1>
<form onSubmit={addProcessInstanceReport}>
<label htmlFor="identifier">
identifier:

View File

@ -80,7 +80,7 @@ export default function ProcessInstanceReport() {
processGroupId={params.process_group_id}
linkProcessModel
/>
<h2>Process Instance Report: {params.report_identifier}</h2>
<h1>Process Instance Report: {params.report_identifier}</h1>
<Button
href={`/admin/process-models/${params.process_group_id}/${params.process_model_id}/process-instances/reports/${params.report_identifier}/edit`}
>

View File

@ -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
mode="edit"
processGroupId={params.process_group_id}

View File

@ -782,10 +782,10 @@ export default function ProcessModelEditDiagram() {
[processModelFileName],
]}
/>
<h2>
<h1>
Process Model File{processModelFile ? ': ' : ''}
{processModelFileName}
</h2>
</h1>
{appropriateEditor()}
{newFileNameBox()}
{scriptEditor()}

View File

@ -25,7 +25,7 @@ export default function ProcessModelNew() {
],
]}
/>
<h2>Add Process Model</h2>
<h1>Add Process Model</h1>
<ProcessModelForm
mode="new"
processGroupId={params.process_group_id}

View File

@ -166,10 +166,10 @@ export default function ReactFormEditor() {
[processModelFileName],
]}
/>
<h2>
<h1>
Process Model File{processModelFile ? ': ' : ''}
{processModelFileName}
</h2>
</h1>
{newFileNameBox()}
<Button onClick={saveFile} variant="danger" data-qa="file-save-button">
Save

View File

@ -95,7 +95,7 @@ export default function SecretList() {
if (pagination) {
return (
<div>
<h2>Secrets</h2>
<h1>Secrets</h1>
{SecretsDisplayArea()}
<Button href="/admin/secrets/new">Add a secret</Button>
</div>

View File

@ -46,7 +46,7 @@ export default function SecretNew() {
return (
<main style={{ padding: '1rem 0' }}>
<h2>Add Secret</h2>
<h1>Add Secret</h1>
<Form onSubmit={addSecret}>
<Form.Group className="mb-3" controlId="formDisplayName">
<Form.Label>

View File

@ -65,7 +65,7 @@ export default function SecretShow() {
if (secret) {
return (
<>
<h2>Secret Key: {secret.key}</h2>
<h1>Secret Key: {secret.key}</h1>
<Stack orientation="horizontal" gap={3}>
<ButtonWithConfirmation
description="Delete Secret?"