From dcd1f6b01894849ddbf47cc638e1bb0d121613c7 Mon Sep 17 00:00:00 2001 From: kmitresse Date: Wed, 1 May 2024 15:45:41 +0200 Subject: [PATCH] refacto: devWeb - unify language used for comments (front) --- .../src/main/webapp/WEB-INF/pages/game.jsp | 1 - .../WEB-INF/tags/components/game-statistics.tag | 3 --- .../webapp/WEB-INF/tags/components/navbar.tag | 13 +++++-------- .../WEB-INF/tags/forms/forgotten-password.tag | 16 ++++++++-------- .../src/main/webapp/WEB-INF/tags/forms/login.tag | 8 +++----- .../main/webapp/WEB-INF/tags/forms/new-game.tag | 7 ++----- .../main/webapp/WEB-INF/tags/forms/profile.tag | 8 +------- .../main/webapp/WEB-INF/tags/forms/register.tag | 12 ++---------- .../webapp/WEB-INF/tags/forms/reset-password.tag | 12 ------------ S2/DevWeb/Projet/src/main/webapp/index.html | 10 +++++----- 10 files changed, 26 insertions(+), 64 deletions(-) diff --git a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/pages/game.jsp b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/pages/game.jsp index 00ca068..4f8a659 100644 --- a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/pages/game.jsp +++ b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/pages/game.jsp @@ -1,4 +1,3 @@ -<%@ page import="uppa.project.database.pojo.Card" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@taglib prefix="layout" tagdir="/WEB-INF/tags/layouts" %> <%@taglib prefix="component" tagdir="/WEB-INF/tags/components" %> diff --git a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/components/game-statistics.tag b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/components/game-statistics.tag index 52e6cb4..40bba80 100644 --- a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/components/game-statistics.tag +++ b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/components/game-statistics.tag @@ -1,18 +1,15 @@ <%@ tag import="uppa.project.database.pojo.Player" %> <%@ tag import="uppa.project.database.pojo.Game" %> -<%@ tag import="java.util.List" %> <%@ tag import="java.util.ArrayList" %> <%@ tag import="java.text.SimpleDateFormat" %> <%@ tag import="java.util.Date" %> <%@tag description="component/statistics" pageEncoding="UTF-8" %> <% - // Get game from request Game game = (Game) request.getAttribute("game"); ArrayList players = (ArrayList) request.getAttribute("players"); %> -<%----%>

Information sur la partie

diff --git a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/components/navbar.tag b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/components/navbar.tag index d140130..083e618 100644 --- a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/components/navbar.tag +++ b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/components/navbar.tag @@ -17,8 +17,6 @@ <% } %> - -