-
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.
- Loading branch information
hajekad3
committed
Jan 4, 2023
1 parent
e144201
commit c6d2a32
Showing
8 changed files
with
136 additions
and
156 deletions.
There are no files selected for viewing
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,84 +1,68 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Trainee</title> | ||
<title>Place</title> | ||
</head> | ||
<body> | ||
<header> | ||
<h1> Trainee </h1> | ||
<h1> Place </h1> | ||
<nav> | ||
<ul> | ||
<li><a href="coach.html">Coach</a></li> | ||
<li><a href="training.html">Training</a></li> | ||
<li><a href="place.html">Place</a></li> | ||
<li><a href="trainee.html">Trainee</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<main> | ||
|
||
<section id="getRequest"> | ||
<h2>Get</h2> | ||
<label for="id-input-get">ID:</label> | ||
<input type="text" id="id-input-get" /> | ||
<label for="id-get">ID:</label> | ||
<input type="text" id="id-get" /> | ||
<br /> | ||
<button onclick="traineeGet()">Get Trainee</button> | ||
<button onclick="placeGet()">Get Place</button> | ||
<br /> | ||
<textarea id="responseGet"></textarea> | ||
</section> | ||
|
||
<section id="postTrainee"> | ||
<h2>Create Trainee</h2> | ||
<section id="postPlace"> | ||
<h2>Create Place</h2> | ||
<form> | ||
<label for="username-input-post">Username:</label><br> | ||
<input type="text" id="username-input-post" name="username"><br> | ||
<label for="password-input-post">Password:</label><br> | ||
<input type="text" id="password-input-post" name="password"><br> | ||
<label for="email-input-post">Email:</label><br> | ||
<input type="text" id="email-input-post" name="email"><br> | ||
<label for="first-name-input-post">First Name:</label><br> | ||
<input type="text" id="first-name-input-post" name="firstName"><br> | ||
<label for="second-name-input-post">Second Name:</label><br> | ||
<input type="text" id="second-name-input-post" name="secondName"><br> | ||
<label for="skill-cap-input-post">Skill Cap:</label><br> | ||
<input type="text" id="skill-cap-input-post" name="skillCap"><br> | ||
<button type="button" onclick="createTrainee()">Create Trainee</button> | ||
<label for="longitude-post">Longitude:</label><br> | ||
<input type="text" id="username-post"><br> | ||
<label for="latitude-post">Latitude:</label><br> | ||
<input type="text" id="latitude-post"><br> | ||
</form> | ||
<textarea id="responsePost" rows="10" cols="50"></textarea> | ||
</section> | ||
|
||
<section id="deleteRequest"> | ||
<h2>Delete</h2> | ||
<label for="id-input-delete">ID:</label> | ||
<input type="text" id="id-input-delete" /> | ||
<button onclick="traineeDelete()">Delete Trainee</button> | ||
<label for="id-delete">ID:</label> | ||
<input type="text" id="id-delete" /> | ||
<button onclick="placeDelete()">Delete Place</button> | ||
<textarea id="responseDelete"></textarea> | ||
</section> | ||
|
||
<section id="updateTrainee"> | ||
<h2>Create Trainee</h2> | ||
<section id="updatePlace"> | ||
<h2>Update Place</h2> | ||
<form> | ||
<label for="id-update">Trainee ID:</label><br> | ||
<input type="text" id="id-update" name="id"><br> | ||
<label for="username-input-update">Username:</label><br> | ||
<input type="text" id="username-input-update" name="username"><br> | ||
<label for="password-input-update">Password:</label><br> | ||
<input type="text" id="password-input-update" name="password"><br> | ||
<label for="email-input-update">Email:</label><br> | ||
<input type="text" id="email-input-update" name="email"><br> | ||
<label for="first-name-input-update">First Name:</label><br> | ||
<input type="text" id="first-name-input-update" name="firstName"><br> | ||
<label for="second-name-input-update">Second Name:</label><br> | ||
<input type="text" id="second-name-input-update" name="secondName"><br> | ||
<label for="skill-cap-input-update">Skill Cap:</label><br> | ||
<input type="text" id="skill-cap-input-update" name="skillCap"><br> | ||
<button type="button" onclick="updateTrainee()">Update Trainee</button> | ||
<label for="id-update">Id:</label><br> | ||
<input type="text" id="id-update"><br> | ||
<label for="longitude-update">Longitude:</label><br> | ||
<input type="text" id="longitude-update"><br> | ||
<label for="latitude-updpate">Latitude:</label><br> | ||
<input type="text" id="latitude-udpate"><br> | ||
<label for="training-update">Trainings:</label><br> | ||
<input type="text" id="training-update"><br> | ||
</form> | ||
<textarea id="responsePut" rows="10" cols="50"></textarea> | ||
<textarea id="responsePost" rows="10" cols="50"></textarea> | ||
</section> | ||
</main> | ||
<footer> | ||
<p>Copyright 2022</p> | ||
</footer> | ||
<script src="trainee.js"></script> | ||
<script src="place.js"></script> | ||
</body> | ||
</html> |
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
Oops, something went wrong.