Newer
Older
vue-demo / vue-client / static / add.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>

			<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>