From d39c41fd1cc9b86907fcb9dbf36e9fe3de23ba5a Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 26 Oct 2018 16:42:33 -0400 Subject: [PATCH] adding ajax function that is stored in the window object for global access --- views/admin/common/components/checkbox.html | 14 +--- views/admin/common/manageDashboard/index.html | 71 +++++++++++-------- 2 files changed, 43 insertions(+), 42 deletions(-) diff --git a/views/admin/common/components/checkbox.html b/views/admin/common/components/checkbox.html index a8d93d7b..a32f09c1 100644 --- a/views/admin/common/components/checkbox.html +++ b/views/admin/common/components/checkbox.html @@ -1,16 +1,8 @@ -Checkbox template:
+
Checkboxes
- \ No newline at end of file + diff --git a/views/admin/common/manageDashboard/index.html b/views/admin/common/manageDashboard/index.html index ef601d1e..4aaaa755 100644 --- a/views/admin/common/manageDashboard/index.html +++ b/views/admin/common/manageDashboard/index.html @@ -5,14 +5,15 @@ {foreach $searchFields.components as $component} {if isset($component.template)} - + {if "{$smarty.current_dir}/../components/{$component.template}.html"|is_file} {include file="../components/{$component.template}.html"} {else} Failed loading {$smarty.current_dir}/../components/{$component.template}.html {/if} + {/if} -
+ {/foreach}
@@ -20,38 +21,28 @@
- - + }; - {include file='admin/footer.html'} \ No newline at end of file -- 2.17.1