From 8aaf9e5331f7d7fa4035f484f06f21023c221dd6 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Mon, 11 Dec 2017 15:33:25 -0500 Subject: [PATCH] Updated some appearance items for added fields edit blocks. --- views/admin/customFields/index.html | 45 ++++++++++------------------- 1 file changed, 16 insertions(+), 29 deletions(-) diff --git a/views/admin/customFields/index.html b/views/admin/customFields/index.html index 93be731..46192d6 100644 --- a/views/admin/customFields/index.html +++ b/views/admin/customFields/index.html @@ -16,9 +16,13 @@ @@ -74,36 +78,22 @@ -{* Update and error messages *} - - - - -
- {if $settingsUpdated}

Settings Updated

{/if} - {if $settingsUpdateError}Settings Update Error{/if} -

Custom Fields

-
- {* Fields Table *} - - - +
+ - - {if $haveCustomFields} {foreach $custom_fields as $t} - - + + @@ -116,10 +106,8 @@
Delete
- + {/foreach} - {else} - {/if}
Field Name Type Required -
Add a Custom Field
- -   +
+
Add a Custom Field
+  
{$t.field_name}
{$t.field_name} {$t.field_type.name}
Prompt: {$t.field_prompt}
Prompt: {$t.field_prompt}
(no custom fields listed)
@@ -176,7 +164,6 @@ jQuery(document).ready(function($) { } else { $('#{$fid}_FieldsListBody').append(fieldHtml); - $('#{$fid}_noCustomFieldsNotice').hide(); $("#{$fid}_NewFieldDialog").dialog("close"); // Need to rebind edit field buttons @@ -268,7 +255,7 @@ jQuery(document).ready(function($) { dataType: 'text' }) .done( function(deleted) { - $('#FieldRow_' + {$fid}_deleteId).remove(); + $('.FieldRow_' + {$fid}_deleteId).remove(); $("#{$fid}_DeleteFieldDialog").dialog("close"); }); -- 2.17.1