changing headings

This commit is contained in:
Frank Knoll
2024-07-24 21:45:06 +02:00
parent 7a031547f1
commit b72cdba5c6
3 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@
pdf: {
pdfButton: document.querySelector("#PDF"),
heading: document.querySelector("#heading").textContent,
valueName: 'Drugs'
valueName: document.querySelector("#subheading").textContent
}
}
);
@@ -103,7 +103,7 @@
<div class="col-xs-12 col-sm-6">
<div class="x_panel">
<div class="x_title">
<h3>Associated Drugs</h3>
<h3 id="subheading">Associated Drugs</h3>
<div class="alert alert-info alert-dismissible" role="alert">
<button aria-label="Close" class="close" data-dismiss="alert" type="button">
<span aria-hidden="true">×</span>

View File

@@ -28,7 +28,7 @@ class PdfCreator {
static #getAssociatedDrugsSection({ selectElement, table }, valueName) {
return [
PdfCreator.#getHeading(`Associated ${valueName} for "${PdfCreator.#getSelection(selectElement)}"`),
PdfCreator.#getHeading(`${valueName} for "${PdfCreator.#getSelection(selectElement)}"`),
PdfCreator.#getTable(table, true)
];
}

View File

@@ -64,7 +64,7 @@
pdf: {
pdfButton: document.querySelector("#PDF"),
heading: document.querySelector("#heading").textContent,
valueName: 'Vaccines'
valueName: document.querySelector("#subheading").textContent
}
}
);
@@ -103,7 +103,7 @@
<div class="col-xs-12 col-sm-6">
<div class="x_panel">
<div class="x_title">
<h3>Associated Vaccines</h3>
<h3 id="subheading">Worst Vaccines</h3>
<div class="clearfix"></div>
</div>
<div class="x_content">