<!doctype html>
<html lang="es" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
 <head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Meetup</title>
	<link href="/dist/css/bootstrap.min.css" rel="stylesheet">    
</head>
<body>
	<header>
	  <div class="navbar navbar-dark bg-dark box-shadow">
	        <div class="container d-flex justify-content-between">
	          <a href="/" class="navbar-brand d-flex align-items-center">
	            <strong>Messages</strong>
	          </a>
	        </div>
      </div>
	</header>
	<main>
		<section class="py-5 text-center container">
		  <div class="row py-lg-5">
		    <div class="col-lg-6 col-md-8 mx-auto">
		      <h1 class="fw-light">Messages</h1>
		      <br><br>
		      <p>Hey dude, welcome here!</p>
	     	  <br><br>
	     	  <a class="btn btn-primary" th:href="@{/messages}">Go to messages</a>
		    </div>
		  </div>
		</section>

	  <div class="container">
	    
	  </div>

	</main>
	
	<div class="modal fade" id="newMeetingModal" role="dialog" aria-labelledby="newMeetingModal" aria-hidden="true">
	  <div class="modal-dialog modal-lg">
	    <div class="modal-content">
		    <div class="modal-header">
		        <h5 class="modal-title">New Meeting</h5>
		        <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
		        	<span aria-hidden="true">&times;</span>
		        </button>
	        </div>
	        <div class="modal-body">
	        	<div class="container-fluid">
			    	<form id="newMeetingForm" enctype='multipart/form-data' method="POST" action="/" style="margin-top:25px;">
						<div class="form-group">
							<label>Subject</label>
							<input class="form-control" type="text" value="" name="subject">
						</div>
						<div class="form-group">
							<label>Date</label>
							<input class="form-control" type="text" value="" name="date" placeholder="DD/MM/YYYY HH:MM">
						</div>
					</form>
				</div>
			</div>
			<div class="modal-footer">
		        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
		        <button class="btn btn-success" type="submit" form="newMeetingForm">Confirm</button>
	        </div>
	    </div>
	  </div>
	</div>
	
    <script src="/dist/js/bootstrap.bundle.min.js"></script>   
</body>
</html>

