From 551dcc5cbfc0a2580822146d13ad0ccfb1833f26 Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Mon, 22 Aug 2022 15:39:08 -0400 Subject: [PATCH] linting --- helpers/lotOccupancyDB/getReportData.ts | 2 +- views/map-search.ejs | 76 ++++++++++++------------- 2 files changed, 38 insertions(+), 40 deletions(-) diff --git a/helpers/lotOccupancyDB/getReportData.ts b/helpers/lotOccupancyDB/getReportData.ts index 5566de7e..b19d7dc0 100644 --- a/helpers/lotOccupancyDB/getReportData.ts +++ b/helpers/lotOccupancyDB/getReportData.ts @@ -17,7 +17,6 @@ export interface ReportParameters { const mapCamelCase = camelCase(configFunctions.getProperty("aliases.map")); - const mapNameAlias = mapCamelCase + "Name"; const mapDescriptionAlias = mapCamelCase + "Description"; const mapAddress1Alias = mapCamelCase + "Address1"; @@ -27,6 +26,7 @@ const mapProvinceAlias = mapCamelCase + "Province"; const mapPostalCodeAlias = mapCamelCase + "PostalCode"; const mapPhoneNumberAlias = mapCamelCase + "PhoneNumber"; + export const getReportData = (reportName: string, reportParameters ? : ReportParameters): unknown[] => { let sql: string; diff --git a/views/map-search.ejs b/views/map-search.ejs index 3f26dd79..dfd7f26e 100644 --- a/views/map-search.ejs +++ b/views/map-search.ejs @@ -1,53 +1,51 @@ <%- include('_header'); -%> -
- -
- -

- Find a <%= configFunctions.getProperty("aliases.map") %> -

+

+ Find a <%= configFunctions.getProperty("aliases.map") %> +

- <% if (user.userProperties.canUpdate) { %> - - <% } %> - -
-
-
-
- name, description, and address" /> - - - -
-
-
-
- -
-
+<% if (user.userProperties.canUpdate) { %> + +<% } %> + +
+
+
+
+ name, description, and address" /> + + + +
+
+
+
+ +
<%- include('_footerA'); -%> -<%- include('_footerB'); -%> +<%- include('_footerB'); -%> \ No newline at end of file