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 ( 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}

View File

@ -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}

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

View File

@ -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}

View File

@ -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 = () => {

View File

@ -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}

View File

@ -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`}
> >

View File

@ -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:

View File

@ -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`}
> >

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

View File

@ -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()}

View File

@ -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}

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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?"