diff options
Diffstat (limited to 'csci4131/hw6/strap012_hw6/public/addContact.html')
-rw-r--r-- | csci4131/hw6/strap012_hw6/public/addContact.html | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/csci4131/hw6/strap012_hw6/public/addContact.html b/csci4131/hw6/strap012_hw6/public/addContact.html index 12bfaa2..629f9b2 100644 --- a/csci4131/hw6/strap012_hw6/public/addContact.html +++ b/csci4131/hw6/strap012_hw6/public/addContact.html @@ -13,10 +13,11 @@ <nav class="navbar navbar-default">
<div class="container-fluid">
<ul class="nav navbar-nav">
- <li><a href="index.html"><b>Home</b></a></li>
- <li><a href="contacts.html"><b>Contacts</b></a></li>
- <li><a href="addContact.html"><b>Add Contact</b></a></li>
- <li><a href="stock.html"><b>Stock Page</b></a></li>
+ <li><a href="/"><b>Home</b></a></li>
+ <li><a href="contacts"><b>Contacts</b></a></li>
+ <li><a href="addContact"><b>Add Contact</b></a></li>
+ <li><a href="stock"><b>Stock Page</b></a></li>
+ <li><a href="logout"><b>Logout</b></a></li>
</ul>
</div>
</nav>
@@ -31,7 +32,7 @@ <div class="col-md-4"></div>
<div class="col-md-4">
<div class="panel panel-default">
- <form name="addContact" method="post" action="/postContactEntry">
+ <form name="addContact" method="post" action="/api/addContact">
<p></p>
<table class="table table-bordered table-hover">
<tbody>
@@ -83,15 +84,7 @@ <td class="col-md-6">Website Name</td>
<td class="col-md-6">
<div class="form-group">
- <input type="text" class="form-control" name="website_name" required maxlength="100">
- </div>
- </td>
- </tr>
- <tr>
- <td class="col-md-6">Website URL</td>
- <td class="col-md-6">
- <div class="form-group">
- <input type="url" class="form-control" name="website_url" required maxlength="200">
+ <input type="url" class="form-control" name="website_name" required maxlength="100">
</div>
</td>
</tr>
|