From 409a78dbe960df01c20f24b84a2c909b4dfaca3d Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Thu, 15 Jul 2021 23:20:56 -0600 Subject: [PATCH] Add seals for a few more states --- src/index.html | 3 + src/js/certbuilder.js | 13 +- .../certificates/certifiedcopyelectronic.svg | 170 +++++++++ src/templates/certificates/generic.svg | 180 +++++++++ .../mt/certifiedcopyelectronic.svg | 360 ------------------ src/templates/certificates/mt/generic.svg | 359 ----------------- src/templates/stamps/ar.svg | 105 +++++ src/templates/stamps/az.svg | 115 ++++++ src/templates/stamps/ca.svg | 269 +++++++++++++ 9 files changed, 853 insertions(+), 721 deletions(-) create mode 100644 src/templates/certificates/certifiedcopyelectronic.svg create mode 100644 src/templates/certificates/generic.svg delete mode 100644 src/templates/certificates/mt/certifiedcopyelectronic.svg delete mode 100644 src/templates/certificates/mt/generic.svg create mode 100644 src/templates/stamps/ar.svg create mode 100644 src/templates/stamps/az.svg create mode 100644 src/templates/stamps/ca.svg diff --git a/src/index.html b/src/index.html index 6c33f36..7b6ef49 100644 --- a/src/index.html +++ b/src/index.html @@ -29,6 +29,9 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. Commission number: State:
diff --git a/src/js/certbuilder.js b/src/js/certbuilder.js index 04cc605..ce2f740 100644 --- a/src/js/certbuilder.js +++ b/src/js/certbuilder.js @@ -6,11 +6,20 @@ */ function getCertificateSvg(callback) { - var path = getStorage("notary_state") + "/generic.svg"; + // Allow for states with unusual certificate requirements by overriding the path to a subfolder + var state = ""; + switch (getStorage("notary_state")) { + case "yz": + state = "yz/"; + break; + default: + state = ""; + } + var path = state + "generic.svg"; var act = $("#certificateBuilderModal #cert_act option:selected").val(); if (act == "CERTIFIEDCOPYELECTRONIC") { - path = getStorage("notary_state") + "/certifiedcopyelectronic.svg"; + path = state + "certifiedcopyelectronic.svg"; } getCertificateSvgWithValues(path, { name: getStorage("notary_name"), diff --git a/src/templates/certificates/certifiedcopyelectronic.svg b/src/templates/certificates/certifiedcopyelectronic.svg new file mode 100644 index 0000000..2532a98 --- /dev/null +++ b/src/templates/certificates/certifiedcopyelectronic.svg @@ -0,0 +1,170 @@ + + + + + + image/svg+xml + + + + + + + + + + + NOTARIAL CERTIFICATE + State of [[[STATE]]]County of [[[COUNTY]]] + + I certify that this record, titled [[[DOCTITLE]]]and consisting of [[[PAGECOUNT]]] pages is a true and correct copy of anelectronic record printed directly from the electronic file by meon [[[DATE]]]. + + (notarial signature) + (notarial stamp) + diff --git a/src/templates/certificates/generic.svg b/src/templates/certificates/generic.svg new file mode 100644 index 0000000..523cdc9 --- /dev/null +++ b/src/templates/certificates/generic.svg @@ -0,0 +1,180 @@ + + + + + + image/svg+xml + + + + + + + + + + + NOTARIAL CERTIFICATE + + State of [[[STATE]]]County of [[[COUNTY]]] + This electronic record was [[[ACT]]] before me + This PDF file has a PGP cryptographic signature appended. Changing or saving the file willremove the signature. To verify signature, go to https://ntsm.io/enotary. + on [[[DATE]]]by [[[SIGNER]]]. + + + (notarial signature) + (notarial stamp) + diff --git a/src/templates/certificates/mt/certifiedcopyelectronic.svg b/src/templates/certificates/mt/certifiedcopyelectronic.svg deleted file mode 100644 index 53339ae..0000000 --- a/src/templates/certificates/mt/certifiedcopyelectronic.svg +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - NOTARIAL CERTIFICATE - - - [[[NAME]]]Notary Public for theState of MontanaResiding at[[[LOCATION]]]My Commission Expires[[[EXPIRES]]] - - SEAL - Notarial - - - - - - - - - - State of Montana - [[[NAME]]] - - - - - - - State of [[[STATE]]]County of [[[COUNTY]]] - - I certify that this record, titled [[[DOCTITLE]]]and consisting of [[[PAGECOUNT]]] pages is a true and correct copy of anelectronic record printed directly from the electronic file by meon [[[DATE]]]. - - (notarial signature) - diff --git a/src/templates/certificates/mt/generic.svg b/src/templates/certificates/mt/generic.svg deleted file mode 100644 index 2c3844e..0000000 --- a/src/templates/certificates/mt/generic.svg +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - NOTARIAL CERTIFICATE - - - [[[NAME]]]Notary Public for theState of MontanaResiding at[[[LOCATION]]]My Commission Expires[[[EXPIRES]]] - - SEAL - Notarial - - - - - - - - - - State of Montana - [[[NAME]]] - - - - - - - - State of [[[STATE]]]County of [[[COUNTY]]] - This electronic record was [[[ACT]]] before me on [[[DATE]]]by [[[SIGNER]]]. - This PDF file has a PGP cryptographic signature appended. Changing or saving the file willremove the signature. To verify signature, go to https://ntsm.io/enotary. - - - (notarial signature) - diff --git a/src/templates/stamps/ar.svg b/src/templates/stamps/ar.svg new file mode 100644 index 0000000..d29ce19 --- /dev/null +++ b/src/templates/stamps/ar.svg @@ -0,0 +1,105 @@ + + + + + + + + + + image/svg+xml + + + + + + + [[[NAME]]]Notary Public - Arkansas[[[LOCATION]]] CountyCommission # [[[IDNUMBER]]]My Commission Expires[[[EXPIRES]]] + + + diff --git a/src/templates/stamps/az.svg b/src/templates/stamps/az.svg new file mode 100644 index 0000000..6925192 --- /dev/null +++ b/src/templates/stamps/az.svg @@ -0,0 +1,115 @@ + + + + + + + + + + image/svg+xml + + + + + + + [[[NAME]]]Notary PublicState of Arizona[[[LOCATION]]]Commission # [[[IDNUMBER]]]My Commission Expires[[[EXPIRES]]] + + + + diff --git a/src/templates/stamps/ca.svg b/src/templates/stamps/ca.svg new file mode 100644 index 0000000..0b0fd5d --- /dev/null +++ b/src/templates/stamps/ca.svg @@ -0,0 +1,269 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + [[[NAME]]]Notary Public - California[[[LOCATION]]] CountyCommission #[[[IDNUMBER]]]My Commission Expires[[[EXPIRES]]] + + + +