forked from Jmurrietasmith/EqManage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code Cleanup (Checkout select broken)
- Loading branch information
Showing
46 changed files
with
581 additions
and
1,232 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,58 @@ | ||
<div id="checkoutModal" class="modal" style="display: none;"> | ||
|
||
<!-- Modal content --> | ||
<div class="modal-content" style="width: fit-content"> | ||
<span class="close" style="margin-bottom: 10px;" data-dismiss="modal" onclick="resetCoOption();">×</span> | ||
|
||
<div class="select-style" style="width:500px; margin: auto;" align="center"> | ||
|
||
|
||
<div id="eqselectDiv"> | ||
<?php include('fetchCheckoutEq.php') ?> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
<!-- <textarea type="text" id="purpose" name="purpose" placeholder="Purpose/Location/Date to be returned" style="padding: 10px 15px; border: 1px solid #ccc;--> | ||
<!-- border-radius: 4px; margin-top: 10px"></textarea>--> | ||
<p> </p> | ||
|
||
|
||
<select id="studentselect" style="width: 100%; margin-bottom: 10px"> | ||
<option value="">Student Name</option> | ||
<?php | ||
include('fetchName.php'); | ||
|
||
?> | ||
|
||
</select> | ||
|
||
<p> </p> | ||
|
||
<select id="checkOutSelect" style="width: 100%; margin-bottom: 10px"> | ||
<option value=""></option> | ||
|
||
<?php | ||
include('fetchAllCheckOut.php'); | ||
|
||
include('fetchAllRq.php'); | ||
?> | ||
|
||
</select> | ||
|
||
|
||
<input id="checkout" name="request" type="submit" value="Confirm Checkout" style="width: 100%;" > | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<div id="returnModal" class="modal" style="display: none;"> | ||
|
||
<!-- Modal content --> | ||
<div class="modal-content" style="width: fit-content"> | ||
<span class="close" style="margin-bottom: 10px;" data-dismiss="modal" onclick="resetReturnOption();">×</span> | ||
|
||
<div class="select-style" style="width:500px; margin: auto;" align="center"> | ||
|
||
|
||
<div id="returnEqSelectDiv"> | ||
<?php | ||
include('fetchReturnEq.php'); | ||
?> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
<!-- <textarea type="text" id="purpose" name="purpose" placeholder="Purpose/Location/Date to be returned" style="padding: 10px 15px; border: 1px solid #ccc;--> | ||
<!-- border-radius: 4px; margin-top: 10px"></textarea>--> | ||
<p> </p> | ||
|
||
|
||
<select id="returnStudentSelect" style="width: 100%; margin-bottom: 10px"> | ||
<option value="">Student Name</option> | ||
<?php | ||
include('fetchReturnName.php'); | ||
|
||
?> | ||
|
||
</select> | ||
|
||
<p> </p> | ||
|
||
<select id="returnSelect" style="width: 100%; margin-bottom: 10px"> | ||
<option value=""></option> | ||
|
||
<?php | ||
include('fetchReturnAllCheckout.php'); | ||
|
||
include('fetchReturnAllRq.php'); | ||
?> | ||
|
||
</select> | ||
|
||
|
||
<input id="return" name="request" type="submit" value="Return" style="width: 100%;" > | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<!--Third party script for the 'Select' function--> | ||
<script src="assets/js/select2.min.js"></script> | ||
<!--Scripts only required by Admin Pages--> | ||
<script src="assets/js/adminScript.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.