Newer
Older
vue-demo / vue-client / static / view.html
<!DOCTYPE html>
<html>
	<head>
		<title>Student Management</title>

		<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/vuex.global.js"></script>
		<script src="js/external/vuex-persistedstate.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>