aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/hw7/public/addContact.html
diff options
context:
space:
mode:
authorMatthew Strapp <msattr@gmail.com>2021-04-29 12:08:29 -0500
committerMatthew Strapp <msattr@gmail.com>2021-04-29 12:08:29 -0500
commitcb0d7de098f482ba667029f266dd286eab1795b6 (patch)
treed267c42f6ce9bb9461a53104185c5e32043f548d /csci4131/hw7/public/addContact.html
parentFix styling (diff)
downloadhomework-cb0d7de098f482ba667029f266dd286eab1795b6.tar
homework-cb0d7de098f482ba667029f266dd286eab1795b6.tar.gz
homework-cb0d7de098f482ba667029f266dd286eab1795b6.tar.bz2
homework-cb0d7de098f482ba667029f266dd286eab1795b6.tar.lz
homework-cb0d7de098f482ba667029f266dd286eab1795b6.tar.xz
homework-cb0d7de098f482ba667029f266dd286eab1795b6.tar.zst
homework-cb0d7de098f482ba667029f266dd286eab1795b6.zip
Add HW6 files
Diffstat (limited to '')
-rw-r--r--csci4131/hw7/public/addContact.html106
1 files changed, 106 insertions, 0 deletions
diff --git a/csci4131/hw7/public/addContact.html b/csci4131/hw7/public/addContact.html
new file mode 100644
index 0000000..629f9b2
--- /dev/null
+++ b/csci4131/hw7/public/addContact.html
@@ -0,0 +1,106 @@
+<!doctype html>
+<html lang="en">
+
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
+ </head>
+
+ <body>
+ <nav class="navbar navbar-default">
+ <div class="container-fluid">
+ <ul class="nav navbar-nav">
+ <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>
+ <br><br>
+
+ <div class="container">
+ <div class="row">
+ <p><br /></p>
+ </div>
+
+ <div class="row">
+ <div class="col-md-4"></div>
+ <div class="col-md-4">
+ <div class="panel panel-default">
+ <form name="addContact" method="post" action="/api/addContact">
+ <p></p>
+ <table class="table table-bordered table-hover">
+ <tbody>
+ <tr>
+ <td class="col-md-6">Name</td>
+ <td class="col-md-6">
+ <div class="form-group">
+ <input type="text" class="form-control" name="name" required>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="col-md-6">Category</td>
+ <td class="col-md-6">
+ <div class="form-group">
+ <select class="form-control" name="category">
+ <option>Personal</option>
+ <option>Academic</option>
+ <option>Industry</option>
+ </select>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="col-md-6">Location</td>
+ <td class="col-md-6">
+ <div class="form-group">
+ <input type="text" class="form-control" name="location" required>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="col-md-6">Contact Information</td>
+ <td class="col-md-6">
+ <div class="form-group">
+ <input type="text" class="form-control" name="contact" required>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="col-md-6">Email</td>
+ <td class="col-md-6">
+ <div class="form-group">
+ <input type="email" class="form-control" name="email" required>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="col-md-6">Website Name</td>
+ <td class="col-md-6">
+ <div class="form-group">
+ <input type="url" class="form-control" name="website_name" required maxlength="100">
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="col-md-6"></td>
+ <td class="col-md-6">
+ <input type="submit" value="Submit">
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </form>
+ </div>
+ </div>
+ <div class="col-md-4"></div>
+ </div>
+ </div>
+ </body>
+</html>