1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!DOCTYPE html>
- <html lang="en">
-
- <head>
- <meta charset="utf-8">
- <title>My Hoodie App</title>
- <link rel="stylesheet" href="assets/vendor/bootstrap/bootstrap.min.css">
- </head>
-
- <body>
-
- <nav class="navbar navbar-default">
- <div class="container-fluid">
- <div class="navbar-header">
- <a class="navbar-brand" href="#"> Hoodie</a>
- </div>
- <div id="navbar" class="navbar-collapse collapse">
- <div id="authenticated" class="nav navbar-form navbar-right">
- <span id="username"></span>
- <button id="signout" type="button" class="btn btn-default">Sign out</button>
- </div>
- <div id="anonymous" class="nav navbar-form navbar-right">
- <button id="signup" type="button" class="btn btn-default">Sign up</button>
- <button id="signin" type="button" class="btn btn-default">Sign in</button>
- </div>
- </div>
- </div>
- </nav>
- <div class="container">
-
- <div class="row">
- <div class="col-md-10">
- <h2>Add new contact </h2>
- <hr />
- <form id="contactForm" class="form-horizontal">
- <div class="form-group">
- <label for="name" class="col-sm-2 control-label">Name</label>
- <div class="col-sm-10">
- <input type="text" class="form-control" id="name" placeholder="Name">
- </div>
- </div>
- <div class="form-group">
- <label for="mobile" class="col-sm-2 control-label">Mobile</label>
- <div class="col-sm-10">
- <input type="text" class="form-control" id="mobile" placeholder="Mobile">
- </div>
- </div>
- <div class="form-group">
- <label for="email" class="col-sm-2 control-label">Email</label>
- <div class="col-sm-10">
- <input type="email" class="form-control" id="email" placeholder="Email">
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <button type="submit" class="btn btn-default">Save Contact</button>
- </div>
- </div>
- </form>
- <hr />
- </div>
- </div>
-
- <div class="row">
- <div class="col-md-10">
- <h2>Contact List</h2>
- <hr />
- <table id="contactList" class="table table-bordered">
- <thead>
- <tr>
- <th>Name</th>
- <th>Mobile</th>
- <th>Email</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
-
- </tbody>
- </table>
- </div>
- </div>
-
-
- <script src="assets/vendor/jquery.min.js"></script>
- <script src="assets/vendor/bootstrap/bootstrap.min.js"></script>
- <!-- Load the dynamic version of hoodie.js that includes all the plugin code-->
- <script src="/hoodie/client.js"></script>
- <script src="assets/js/index.js"></script>
- </body>
-
- </html>
|