viewUsers.jsp 2.36 KB
<%@ page contentType="text/html" pageEncoding="UTF-8" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<jsp:include page="header.jsp">
    <jsp:param name="pageTitle" value="View users page"/>
</jsp:include>
<body>
    
    
    <div class="row headerSpace">
        
    </div>
    <div class="row">
         <div class="addDebt">
                <form>
                            <div class="form-group">
                                    <div class="control-group">
                                        <label for="debt">Somme de la dette</label>
                                    </div>
                                    <div class="control-group control-group-big">
                                        <input type="number" class="form-control inputDebt" id="sommeDette"/>
                                    </div>
                                    <div class="control-group">
                                        <label for="debtFor">A : </label>
                                    </div>
                                    <div class="control-group control-group-big">
                                    <input type="text" class="form-control  inputDebt" id="username"/>
                                    
                                    </div>
                                    <div class="control-group upButton">
                                     
                                       <button class="btn btn-danger" type="submit" onclick="updateDebtOfUser()">Update</button>
                                    </div>
                             
                            </div>
                            
                  </form>
         </div>
    </div>
   
   <div class="row">
       <table class="table table-stripped debtsTable">
           <thead>
            <td>Emprunteur</td>
            <td>Somme</td>
            <td>Action</td>
           </thead>
           <tbody id="dettes">
               
           </tbody>
           
           
           
       </table>
    </div>
    
    
    
    
<!--    <ul>
        <li><a href="newUser"><spring:message code="new.user.main.header"/></a></li>
        <li><a href="login?logout"><spring:message code="view.users.main.logout"/></a></li>
    </ul>-->
</body>
        


<jsp:include page="footer.jsp"/>