Created
March 28, 2017 05:35
-
-
Save SakaDream/0e4102dc09f8c258f2ea4f5d3ce91a9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@page contentType="text/html" pageEncoding="UTF-8"%> | |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Add New Employee - Java Spring Example</title> | |
<link href="/resources/css/bootstrap.min.css" rel="stylesheet" /> | |
</head> | |
<body> | |
<nav class="navbar navbar-inverse"> | |
<div class="container"> | |
<div class="navbar-header"> | |
<a class="navbar-brand" href="https://java-in-heroku.herokuapp.com/">Java Spring Example</a> | |
<a href="/logout.htm" class="btn btn-default">Logout</a> | |
</div> | |
</div> | |
</nav> | |
<div class="container"> | |
<div class="col-md-4 col-md-offset-4"> | |
<form action="/add-post.htm" method="POST" role="form"> | |
<legend>Add New Employee</legend> | |
<div class="form-group"> | |
<input type="text" required class="form-control" id="fullname" name="fullname" placeholder="Full Name"> | |
</div> | |
<div class="form-group"> | |
<input type="text" required class="form-control" id="address" name="address" placeholder="Address"> | |
</div> | |
<div class="form-group"> | |
<input type="email" required class="form-control" id="email" name="email" placeholder="Email"> | |
</div> | |
<div class="form-group"> | |
<input type="tel" required class="form-control" id="phone" name="phone" placeholder="Phone"> | |
</div> | |
<div class="form-group"> | |
<input type="number" min="1000000" required class="form-control" id="salary" name="salary" placeholder="Salary"> | |
</div> | |
<button type="submit" class="btn btn-primary">Add</button> | |
</form> | |
</div> | |
</div> | |
<div class="container"> | |
<footer> | |
<p> | |
© <a href="http://sakadream.me">sakadream.me</a> 2017 | |
</p> | |
</footer> | |
</div> | |
</body> | |
<script src="/resources/js/bootstrap.min.js"></script> | |
<script src="/resources/js/jquery.min.js"></script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment