add.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Add Customer</title>
  8. <!-- Bootstrap core CSS -->
  9. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/css/bootstrap.min.css"
  10. integrity="sha256-6VA0SGkrc43SYPvX98q/LhHwm2APqX5us6Vuulsafps=" crossorigin="anonymous" />
  11. <!-- Custom styles for this template -->
  12. <link href="css/style.css" rel="stylesheet">
  13. </head>
  14. <body>
  15. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  16. <div class="container-fluid">
  17. <div class="navbar-header">
  18. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  19. <span class="sr-only">Toggle navigation</span>
  20. <span class="icon-bar"></span>
  21. <span class="icon-bar"></span>
  22. <span class="icon-bar"></span>
  23. </button>
  24. <a class="navbar-brand" href="#">Customer Manager v0.1</a>
  25. </div>
  26. </div>
  27. </nav>
  28. <div class="container-fluid">
  29. <div class="row">
  30. <div class="col-sm-3 col-md-2 sidebar">
  31. <ul class="nav nav-sidebar">
  32. <li class="active"><a href="index.html">Customers</a></li>
  33. <li><a href="add.html">Add Customer</a></li>
  34. <li><a onclick="clearCustomers()" class="danger" href="#">Clear Customers</a></li>
  35. </ul>
  36. </div>
  37. <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
  38. <h1 class="page-header">Add Customer</h1>
  39. <form role="form" onsubmit="addCustomer()">
  40. <div class="form-group">
  41. <label>Customer Name</label>
  42. <input type="text" id="name" class="form-control" placeholder="Enter Name">
  43. </div>
  44. <div class="form-group">
  45. <label>Customer Email</label>
  46. <input type="email" id="email" class="form-control" placeholder="Enter Email">
  47. </div>
  48. <button type="submit" class="btn btn-default">Add Customer</button>
  49. </form>
  50. </div>
  51. </div>
  52. </div>
  53. <!-- Bootstrap core JavaScript
  54. ================================================== -->
  55. <!-- Placed at the end of the document so the pages load faster -->
  56. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
  57. <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/js/bootstrap.min.js" integrity="sha256-iY0FoX8s/FEg3c26R6iFw3jAtGbzDwcA5QJ1fiS0A6E="
  58. crossorigin="anonymous"></script>
  59. <script src="js/main.js"></script>
  60. </body>
  61. </html>