Browse Source

Remove some of the old spreadsheet crap.

Lee Morgan 4 năm trước cách đây
mục cha
commit
e3f32a0f43
2 tập tin đã thay đổi với 1 bổ sung37 xóa
  1. 0 8
      views/dashboardPage/ejs/modal.ejs
  2. 1 29
      views/informationPages/help.ejs

+ 0 - 8
views/dashboardPage/ejs/modal.ejs

@@ -6,14 +6,6 @@
         </svg>
 
         <div id="modalContent">
-            <form id="modalSpreadsheetUpload" class="modalSpreadsheetUpload" method="post" action="/feedback" style="display:none;">
-                <h3>Choose a file to upload your <span id="modalSpreadsheetTitle"></span></h3>
-                <input id="spreadsheetInput" class="fileUpload" name="file" type="file">
-                <input type="hidden" name="type">
-                <input class="button" type="submit" value="SUBMIT">
-                <a id="spreadsheetDownload">download template</a>
-            </form>
-
             <form id="modalFeedback" style="display:none;" method="post" action="/feedback">
                 <label>Title:
                     <input id="feedbackTitle" required>

+ 1 - 29
views/informationPages/help.ejs

@@ -20,7 +20,7 @@
         
                 <a id="privacyPolicyLink" class="headerHide" href="/privacy">PRIVACY POLICY</a>
         
-                <a id="termsLink" class="headerHide" href="/terms">TERMS AND CONDITIONS</a>        
+                <a id="termsLink" class="headerHide" href="/terms">TERMS AND CONDITIONS</a>
             </div>
         </div>
 
@@ -63,14 +63,6 @@
                         <li><a href="#transactionsNew">New Transactions</a></li>
                     </ul>
                 </li>
-                <li><a href="#spreadsheets">Uploading Spreadsheets</a>
-                    <ul class="indent">
-                        <li><a href="#ingredientsSpreadsheet">Ingredients Spreadsheet</a></li>
-                        <li><a href="#recipesSpreadsheet">Recipes Spreadsheet</a></li>
-                        <li><a href="#orderSpreadsheet">Order Spreadsheet</a></li>
-                        <li><a href="#transactionSpreadsheet">Transaction Spreadsheet</a></li>
-                    </ul>
-                </li>
                 <li><a href="#contact">Contact Us</a></li>
             </ul>
         </div>
@@ -194,26 +186,6 @@
 
             <p>When finished entering in all information, click the "CREATE" button at the bottom of the sidebar.  This will add your new transaction.  Also, all of your ingredients will be automatically updated based on the quantity of recipes sold, and the quantity of each ingredient within the recipe.  You can return to the ingredients page after creating a new transaction to find that the quantities of your ingredients have already been updated.</p>
 
-            <h2 id="spreadsheets">UPLOADING SPREADSHEETS</h2>
-            <p>In order to make the process of entering your data simpler, you have the option to use a spreadsheet to upload your data to the site.  This can be especially helpful if you need to create a large amount of data at once, such as for the initial uploading of ingredients or recipes.  The ability to upload data from a spreadsheet is available for ingredients, recipes, orders and transactions.  You will find a link to do this in the corresponding sidebar for creating new items, it should be located at the bottom of the sidebar.  Clicking on this link will open a window that will allow you to choose a file to submit, or you can download a template that can help you enter the data correctly.  All of the data must be carefully formatted, so it is recommended to use the template.  See below for instructions for each spreadsheet.</p>
-
-            <h3 id="ingredientsSpreadsheet">INGREDIENTS SPREADSHEET</h3>
-            <p>The first row of the ingredients spreadsheet is the header and must contain six column headers: name, category, quantity, unit, bottle, bottle size.  They may be in any order and capitalization does not matter.  From there, fill in the necessary data.  If the unit is a bottle, then enter TRUE in that column and the size of the bottle (based on the unit) in the "bottle size" column.  Otherwise leave these two columns blank.</p>
-
-            <h3 id="recipesSpreadsheet">RECIPES SPREADSHEET</h3>
-            <p>The first row of the recipes spreadsheet is the header and must contain four column headers: name, price, ingredients and ingredient amount.  The headers may be in any order and capitalization does not matter.  The name of the ingredient need only be filled in on the first row of the ingredient, then put each ingredient of the recipe in a seperate row, along with the quantity of that ingredient within the recipe.  It is recommended to download the template for an example.  If you download the template, then you will have all of your ingredients listed in column F, and their corresponding unit in column G.  Ingredient names must be entered exactly as they are listed (capitalization does not matter) in order to match them to your current ingredients.  You will be given an error telling you which ingredient failed to match if there is a mistake in the spreadsheet.  The ingredient amount is assumed to be in the same unit as the ingredient itself.</p>
-
-            <h3 id="orderSpreadsheet">ORDER SPREADSHEET</h3>
-            <p>It is strongly recommended that you download the template spreadsheet for orders.  This spreadsheet will contain seven headers: name, date, taxes, fees, ingredients, quantity and price.  Change the name(A2) to anything that you would like, such as the order id.  The date will be autofilled with the current date, but you may change it if you wish.  Be sure to enter the date in the same format (yyyy-mm-dd).  Taxes and fees are defaulted to 0, but may be changed.  The ingredients column contains a list of all of your ingredients, do not change anything in this column.  The quantity column(F) and the price column(G) are where you input the information for your order.  For any ingredients that you did not purchase in this particular order, you can lave it as 0.</p>
-
-            <p>NOTE: Price is price per measurement unit.  If the item is measured in lbs, then you need to enter the price per pound.</p>
-            <p>NOTE: Each spreadsheet may only contain a single order.  If you need to enter more than one order, then you must change the data and upload the file again.</p>
-
-            <h3 id="transactionSpreadsheet">TRANSACTION SPREADSHEET</h3>
-            <p>It is strongly recommended that you download the template spreadsheet for transactions.  This spreadsheet will contain three headers: date, recipes and quantity.  The date will be autofilled with the current date, but you may change it if you wish.  Be sure to enter the date in the same format (yyy-mm-dd). The recipes column(B) will contain a list of all of your recipes, do not change anything in this column.  The quantity column(C) are where you input the information for the transaction.  Simply enter a whole number for each recipe that was sold in the transaction.  Leave the 0 for any recipes that were not sold in the transaction.</p>
-
-            <p>NOTE: Each spreadsheet may only contain a single transaction.  If you need to enter more than on transaction, then you must change the data and upload the file again.</p>
-
             <h2 id="contact">CONTACT US</h2>
             <p>If you have found any problems with the site, or need help that is not covered here, please reach out to us.</p>