Blame view

src/main/webapp/WEB-INF/pages/viewUsers.jsp 3.89 KB
95ea306a   Zak   Ajout css, img et...
1
2
  <%@page import="org.springframework.security.core.context.SecurityContextHolder"%>
  <%@page import="org.springframework.security.core.Authentication"%>
aa193b2b   Julien Iguchi-Cartigny   First version
3
4
5
  <%@ 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" %>
95ea306a   Zak   Ajout css, img et...
6
  <%@ page session="true" %>
f130c6a2   jcartign   Removing boostrap...
7
8
9
10
  
  <jsp:include page="header.jsp">
      <jsp:param name="pageTitle" value="View users page"/>
  </jsp:include>
353d9d4f   Zak   désactivation des...
11
  <body>
95ea306a   Zak   Ajout css, img et...
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
      <nav class="navbar navbar-inverse navbar-fixed-top">
          <div class="container-fluid">
              <div class="collapse navbar-collapse">
                  <p class="navbar-text navbar-center"><i class="glyphicon glyphicon-euro"></i> <span class="title">Banque</span>  </p>
              
                  <ul class="nav navbar-nav navbar-right">
                      <li>
                          <p id="usrCo"></p>
                      </li>
                      <li>
                          <a href="login?logout"><spring:message code="view.users.main.logout"/></a>
                      </li>
                  </ul>
              </div>
          </div>
      </nav>
8a362652   Zak   Ajout css, js et ...
28
29
      
      <div class="row headerSpace">
95ea306a   Zak   Ajout css, img et...
30
          <img class="imgTitle" src="/img/money_icon.png" />
716532ee   Zak   Modifications des...
31
      </div>
95ea306a   Zak   Ajout css, img et...
32
      
8a362652   Zak   Ajout css, js et ...
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
           <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>
95ea306a   Zak   Ajout css, img et...
58
59
      
     
8a362652   Zak   Ajout css, js et ...
60
     
95ea306a   Zak   Ajout css, img et...
61
62
63
64
65
66
67
68
69
70
71
72
73
         <table class="table-container">
             <tr>
                 <td valign="top">
                      <table class="table table-stripped debtsTable">
                              <thead>
                               <td>Créditeur</td>
                               <td>Somme</td>            
                              </thead>
                              <tbody id="dettes">
  
                              </tbody>                                 
                          </table>
                 </td>
8a362652   Zak   Ajout css, js et ...
74
                 
95ea306a   Zak   Ajout css, img et...
75
76
77
78
79
80
81
82
83
84
85
86
87
                 <td valign="top">
                      <table class="table table-stripped debtsTable">
                              <thead>
                              <td>Emprunteur</td>
                               <td>Somme</td>
                               <td>Action</td>
                              </thead>
                              <tbody id="creances">
  
                              </tbody>
                          </table>
                 </td>
             </tr>
8a362652   Zak   Ajout css, js et ...
88
         </table>
95ea306a   Zak   Ajout css, img et...
89
90
91
92
         
         
      
      
353d9d4f   Zak   désactivation des...
93
94
95
96
      
      
      
      
8a362652   Zak   Ajout css, js et ...
97
  <!--    <ul>
aa193b2b   Julien Iguchi-Cartigny   First version
98
          <li><a href="newUser"><spring:message code="new.user.main.header"/></a></li>
322c9502   Julien Cartigny   Ad Spring securit...
99
          <li><a href="login?logout"><spring:message code="view.users.main.logout"/></a></li>
8a362652   Zak   Ajout css, js et ...
100
      </ul>-->
353d9d4f   Zak   désactivation des...
101
102
103
  </body>
          
  
aa193b2b   Julien Iguchi-Cartigny   First version
104
  
a8656157   Julien Cartigny   Support for boots...
105
  <jsp:include page="footer.jsp"/>