GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/MichaelMalz/CST2146/Labs/Lab05.5/ |
Upload File : |
<? // MichaelMalz/CST2146/Labs/Lab03.phpinc $css .= ',colorCode.css'; #d_Var('$f_task',$f_task,'df'); #d_Var('$f_subtask',$f_subtask,'df'); // Process $f_subtask == 'Save path information' if ( $f_task == 'Submit' && $f_subtask == 'Save path information' ) { $EvaluationSubmission_PROCESS = false; require('getLabInfo.phpinc'); require('saveLabInfo.phpinc'); } require('getLabInfo.phpinc'); $checkFileUpload = false; #$showEvaluationVariables = true; require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. $disabled = ''; #$disabled = ' disabled'; $uploadFilename = $classNumber.'_'.$saveFilename.'.zip'; $UN = strtolower(substr($userFirstName,0,3).substr($userLastName,0,3)); $PW = $f_sId; $ShowSpanCountBefore = false; //$ShowSpanCountBefore = true; // <span class="count"> #d_Var("\$_SESSION",$_SESSION,'d+'); #d_Var("\$_SESSION['CST2146']",$_SESSION['CST2146'],'d+'); ?> <fieldset><legend>Description</legend> The purpose of this lab is to modify the create order form so it can be used to update an order as well. <br> <?=$gradeNote?> <? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend> <ol class="count"> <li>*** Use Inertia.js and Vue.js for this lab ***</li> <li>*** Refer to this weeks video on the ProductsController, ProductsRequest, products/index.vue and products/new-edit-product.vue code ***</li> <!-- 1 --> <li>Create a directory called <b><?=$evaluationName?></b>. We will use it for all work performed in this lab.</li> <!-- 2 --> <li>Create the forms templates: <ol> <li>** Each index.vue needs to have a New and Edit Button **</li> <li>** Each new-edit-*.vue needs to have a Cancel and Save Button **</li> <li>** Follow the video on how we set up the form to be a new form or an edit form **</li> <li>coupons/new-edit-coupons.vue with inputs for the following: <ol> <li>Coupon Code (text input)</li> <li>Coupon Value (text input)</li> <li>Coupon Type (drop down)</li> </ol> </li> <li>customers/new-edit-customers.vue with inputs for the following: <ol> <li>First Name (text input)</li> <li>Last Name (text input)</li> <li>Address 1 (text input)</li> <li>Address 2 (text input)</li> <li>City (text input)</li> <li>State (text input)</li> <li>Zip Code (text input)</li> </ol> </li> <li>products/new-edit-products.vue with inputs for the following: <ol> <li>Product Name (text input)</li> <li>Warehouse (drop down)</li> <li>MSRP (text input)</li> <li>Invoice (text input)</li> <li>Back Ordered (drop down)</li> </ol> </li> <li>warehouses/new-edit-warehouses.vue with inputs for the following: <ol> <li>Name (text input)</li> <li>Status Value (text input)</li> </ol> </li> </ol> </li> <!-- 3 --> <li>Create the following Request validators: <ol> <li>** Each validator must validate all form items received **</li> <li>CouponsRequest</li> <li>CustomersRequest</li> <li>ProductsRequest</li> <li>WarehousesRequest</li> </ol> </li> <!-- 4 --> <li>Demonstrate that your coupon, customer, product and warehouse page works with form validation. <ol> <li>** Screenshots are just an example and not complete, your work will have more form items. **</li> <li>Open the page in your Chrome browser</li> <li>Customers</li> <li>Take a screenshot of the customers index page with the seeded customers and save it as <b class="copyText"><?=$saveFilename?>-customers-index.png</b> in your <b><?=$evaluationName?></b> folder. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/Screenshot_Customer_List.png" width="1000" height="650" alt="Screenshot"/><br> <? showEnd (); ?> </li> <li>Take a screenshot of the customers new-edit-customer page and save it as <b class="copyText"><?=$saveFilename?>-customers-form.png</b> in your <b><?=$evaluationName?></b> folder. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/Screenshot_Customer_Form.png" width="1000" height="650" alt="Screenshot"/><br> <? showEnd (); ?> </li> <li>Take a screenshot of the customers new-edit-customer page with the error messages showing and save it as <b class="copyText"><?=$saveFilename?>-customers-form-errors.png</b> in your <b><?=$evaluationName?></b> folder. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/Screenshot_Customer_Form_Errors.png" width="1000" height="650" alt="Screenshot"/><br> <? showEnd (); ?> </li> <li>Coupons</li> <li>Take a screenshot of the coupons index page with the seeded coupons and save it as <b class="copyText"><?=$saveFilename?>-coupons-index.png</b> in your <b><?=$evaluationName?></b> folder.</li> <li>Take a screenshot of the coupons new-edit-coupon page and save it as <b class="copyText"><?=$saveFilename?>-coupons-form.png</b> in your <b><?=$evaluationName?></b> folder.</li> <li>Take a screenshot of the coupons new-edit-coupon page with the error messages showing and save it as <b class="copyText"><?=$saveFilename?>-coupons-form-errors.png</b> in your <b><?=$evaluationName?></b> folder.</li> <li>Products</li> <li>Take a screenshot of the products index page with the seeded products and save it as <b class="copyText"><?=$saveFilename?>-products-index.png</b> in your <b><?=$evaluationName?></b> folder.</li> <li>Take a screenshot of the products new-edit-product page and save it as <b class="copyText"><?=$saveFilename?>-products-form.png</b> in your <b><?=$evaluationName?></b> folder.</li> <li>Take a screenshot of the products new-edit-product page with the error messages showing and save it as <b class="copyText"><?=$saveFilename?>-products-form-errors.png</b> in your <b><?=$evaluationName?></b> folder.</li> <li>Warehouses</li> <li>Take a screenshot of the warehouses index page with the seeded warehouses and save it as <b class="copyText"><?=$saveFilename?>-warehouses-index.png</b> in your <b><?=$evaluationName?></b> folder.</li> <li>Take a screenshot of the warehouses new-edit-warehouse page and save it as <b class="copyText"><?=$saveFilename?>-warehouses-form.png</b> in your <b><?=$evaluationName?></b> folder.</li> <li>Take a screenshot of the warehouses new-edit-warehouse page with the error messages showing and save it as <b class="copyText"><?=$saveFilename?>-warehouses-form-errors.png</b> in your <b><?=$evaluationName?></b> folder.</li> </ol> </li> <li>Turn in your assignment: <ol type="a"> <li>Ensure the following files are in your <b><?=$evaluationName?></b> folder: <ul> <li><?=$saveFilename?>-customers-index.png</li> <li><?=$saveFilename?>-customers-form.png</li> <li><?=$saveFilename?>-customers-form-errors.png</li> <li><?=$saveFilename?>-coupons-index.png</li> <li><?=$saveFilename?>-coupons-form.png</li> <li><?=$saveFilename?>-coupons-form-errors.png</li> <li><?=$saveFilename?>-products-index.png</li> <li><?=$saveFilename?>-products-form.png</li> <li><?=$saveFilename?>-products-form-errors.png</li> <li><?=$saveFilename?>-warehouses-index.png</li> <li><?=$saveFilename?>-warehouses-form.png</li> <li><?=$saveFilename?>-warehouses-form-errors.png</li> </ul> </li> <li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b class="copyText"><?=$uploadFilename?></b>.</li> <li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li> <li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"<?=$disabled?>> for grading.</li> </ol> </li> </ol> </fieldset> <? if ( $disabled ) { ?> <span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><br> <? } ?> </fieldset> <? require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>