Newer
Older
vue-demo / vue-client / static / add.html
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Student Management</title>
  5.  
  6. <link rel="stylesheet" type="text/css" href="css/style.css">
  7. <link rel="stylesheet" type="text/css" href="css/forms.css">
  8.  
  9. <script src="js/external/vue.global.js"></script>
  10. <script src="js/external/vuex.global.js"></script>
  11. <script src="js/external/vuex-persistedstate.js"></script>
  12. <script src="js/external/axios.js"></script>
  13. </head>
  14.  
  15. <body>
  16.  
  17. <main id="content">
  18.  
  19. <pageheader></pageheader>
  20.  
  21. <fieldset id="register">
  22.  
  23. <legend>Item Details</legend>
  24.  
  25. <form class="twocol" @submit.prevent="save()">
  26. <label>ID:</label><input type="text" required :disabled="editing" v-model="student.id">
  27. <label>Name:</label><input type="text" required v-model="student.name">
  28.  
  29. <button type="submit">Save</button>
  30. </form>
  31. </fieldset>
  32. </main>
  33.  
  34. <script type="module" src="js/student.js"></script>
  35.  
  36. </body>
  37.  
  38. </html>