diff options
author | Matthew Strapp <msattr@gmail.com> | 2021-04-16 21:37:26 -0500 |
---|---|---|
committer | Matthew Strapp <msattr@gmail.com> | 2021-04-16 21:37:26 -0500 |
commit | 0c7bb17b8c955254c2db61a5fe9c8240ea1357e2 (patch) | |
tree | 1aa1a6234807c7b03339cad7b9c04ad1a0b976ed /csci4131/hw6/strap012_hw6/public/addContact.html | |
parent | aaaaaaaaaaaaaaaaaaaaaa (diff) | |
download | homework-0c7bb17b8c955254c2db61a5fe9c8240ea1357e2.tar homework-0c7bb17b8c955254c2db61a5fe9c8240ea1357e2.tar.gz homework-0c7bb17b8c955254c2db61a5fe9c8240ea1357e2.tar.bz2 homework-0c7bb17b8c955254c2db61a5fe9c8240ea1357e2.tar.lz homework-0c7bb17b8c955254c2db61a5fe9c8240ea1357e2.tar.xz homework-0c7bb17b8c955254c2db61a5fe9c8240ea1357e2.tar.zst homework-0c7bb17b8c955254c2db61a5fe9c8240ea1357e2.zip |
finish hw6
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>
|