123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>API interface</title>
- <!-- Online versions -->
- <!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>-->
- <!--<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css//bootstrap.min.css" />-->
- <!--<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>-->
- <!-- Local versions -->
- <script src="jquery.min.js"></script>
- <link rel="stylesheet"href="bootstrap.css" />
- <script src="bootstrap.js"></script>
- <link rel="stylesheet" href="ex5style.css" />
- <script src="ex6script.js"></script>
- </head>
- <body>
- <div class="container">
- <div class="row">
- <div class="col-12-lg">
- <h1>API interface</h1>
- <div class="alert alert-warning" id="api-messages" role="alert"></div>
- <ul class="nav nav-tabs" role="tablist">
- <li class="active">
- <a href="#create" role="tab" data-toggle="tab">Create user</a>
- </li>
- </ul>
- <div class="tab-content">
- <div class="tab-pane active" id="create">
- <div class="form-group">
- <label for="createEmail">Email</label>
- <input type="email" class="form-control", id="createEmail" placeholder="Enter e-mail address" />
- </div>
- <div class="form-group">
- <label for="createUsername">User name</label>
- <input type="text" class="form-control" id="createUsername" placeholder="Enter user nickname" />
- </div>
- <div class="form-group">
- <label for="createFirst">First name</label>
- <input type="text" class="form-control" id="createFirst" placeholder="Enter user first name" />
- </div>
- <div class="form-group">
- <label for="createLast">Last name</label>
- <input type="text" class="form-control", id="createLast" placeholder="Enter user last name" />
- </div>
- <button type="submit" onclick="javascript:userCreate();" class="btn btn-success">Create</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
|