Newer
Older
vue-demo / vue-client / static / list.html
Mark George on 27 Aug 2021 831 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>
				<tbody>
					<tr>
						<th>Student</th>
						<th id="button"></th>
					</tr>
					<tr v-for="student in students">
						<td>{{student.id}}</td>
						<td><button class='view' @click="view(student)">View</button></td>
					</tr>
				</tbody>
			</table>

		</main>
		
		<script type="module" src="js/student-list.js"></script>
		
	</body>
	
</html>