Newer
Older
vue-demo / vue-client / static / add.html
Mark George on 27 Aug 2021 914 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>

			<fieldset id="register">

				<legend>Item Details</legend>

				<form class="twocol" @submit.prevent="save()">
					<label>ID:</label><input type="text" required :disabled="editing" v-model="student.id">
					<label>Name:</label><input type="text" required v-model="student.name">

					<button type="submit">Save</button>
				</form>
				
			</fieldset>
			
		</main>

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

	</body>	

</html>