Work on adding sample file
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 23 Jun 2017 15:50:34 +0000 (11:50 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 23 Jun 2017 15:50:34 +0000 (11:50 -0400)
just placing a link in for now.

views/admin/import/index.html

index 18212bc..91d57a5 100644 (file)
@@ -1,12 +1,17 @@
 {include file='admin/import/header.html'}
-
+<style>
+.glm-import-td {
+    padding:10px;
+    margin: 0;
+}
+</style>
     <h2>Data Import Step 1: Upload files</h2>
 
     <form action="{$thisUrl}?page={$thisPage}" method="post" enctype="multipart/form-data">
         <input type="hidden" name="glm_action" value="index" />
         <input type="hidden" name="option" value="validate" />
 
-        <table class="glm-admin-table" border="0" cellspacing="2" cellpadding="5">
+        <table class="glm-admin-table" border="0" cellspacing="5" cellpadding="10">
             <tr>
                 <th>File Type</th>
                 <th>New File</th>
             {$count = 0}
             {foreach $fileData as $fileHeader => $file}
             <tr{if $count%2 == 0} class="alternate"{/if}>
-                <td>
-                    <a href="#" data-filetype="{$file.type}">{$fileHeader}</a>
+                <td class="glm-import-td">
+                    {$fileHeader}
                 </td>
-                <td>
+                <td class="glm-import-td">
                     <input type="file" name="{$file.field}">
+                    <a href="#">Sample {$fileHeader} File</a>
                 </td>
-                <td>
+                <td class="glm-import-td">
                     {if $file.exists}
                         {$fileHeader} File
                     {/if}
                 </td>
-                <td>
+                <td class="glm-import-td">
                     {if $file.exists}
                         {$file.mtime|date_format:"%D %I:%M %p"}
                     {/if}