diff --git a/back-end/src/static/css/table.css b/back-end/src/static/css/table.css
new file mode 100644
index 0000000..498aa26
--- /dev/null
+++ b/back-end/src/static/css/table.css
@@ -0,0 +1,41 @@
+@import url("/static/css/colors.css");
+
+main {
+ width: 80%;
+ margin: 0px auto;
+}
+
+table {
+ margin: 5px 0 10px 0;
+ border-collapse: collapse;
+ border-radius: 8px;
+ overflow: hidden;
+ width: 100%;
+}
+
+table a {
+ text-align: center;
+ text-decoration: none;
+ color: white;
+}
+
+tr {
+ background-color: #343c4b;
+ color: white;
+}
+
+table tr:nth-child(2n+1) {
+ background-color: #1f242d;
+}
+
+td,
+th {
+ padding: 6px;
+ font-size: .9rem;
+ font-weight: normal;
+ text-align: center;
+}
+
+th {
+ background-color: #C1292E;
+}
diff --git a/back-end/src/templates/box.ejs b/back-end/src/templates/box.ejs
index 033346a..6137428 100644
--- a/back-end/src/templates/box.ejs
+++ b/back-end/src/templates/box.ejs
@@ -7,49 +7,53 @@
<%= box.title %>
- <%- include('partials/links.ejs') %>
-
+ <%- include('partials/links.ejs') %>
+
- <%- include('partials/header.ejs') %>
-
- <%= box.title %>
-
-
- id : <%= box.id %>
- date : <%= box.date %>
- modèles :
- <% box.models.forEach(function(m) { %>
-
-
- <%=m.id_name%>
-
-
- <% }); %>
- pièces :
- <% box.pieces.forEach(function(pair) { %>
-
-
- n°<%=pair.first.id_piece%> en <%=pair.second%> exemplaires
-
- Suppr
-
- <% }); %>
-
-
+ <%- include('partials/header.ejs') %>
+
+ <%= box.title %>
+
+
+
+ id : <%= box.id %>
+ date : <%= box.date %>
+ pièces :
+
+
+
+ Id pièce |
+ Quantité pieces |
+ |
+
+
+
+ <% box.pieces.forEach(function(pair) { %>
+
+ <%= pair.first.id_piece%> |
+ <%= pair.second%> |
+ |
+
+ <% }); %>
+
+
+
+
+