Newer
Older
vue-demo / vue-client / static / view.html
Mark George on 27 Aug 2021 835 bytes Add project
<!DOCTYPE html>
<html>
	<head>
		<title>Student Management</title>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">

		<link rel="stylesheet" type="text/css" href="css/style.css">
		<link rel="stylesheet" type="text/css" href="css/forms.css">

		<script src="js/external/vue.global.js"></script>
		<script src="js/external/axios.js"></script>		
	</head>

	<body>

		<main id="content">

			<pageheader></pageheader>

			<table>
				<tr><td class="table_label">ID:</td><td>{{student.id}}</td></tr>
				<tr><td class="table_label">Name:</td><td>{{student.name}}</td></tr>
			</table>

			<div class="align_centre"><button @click="edit()">Edit</button><button @click="remove()">Delete</button></div>
			
		</main>

		<script type="module" src="js/student.js"></script>

	</body>	

</html>