From 07d15c09a1244ada20e27ac6b19ce7885f311c40 Mon Sep 17 00:00:00 2001 From: Ruben Tome Date: Thu, 14 Dec 2023 16:11:08 +0100 Subject: [PATCH] =?UTF-8?q?Commit=20fin=20de=20journ=C3=A9e,=20ajout=20du?= =?UTF-8?q?=20status=20du=20contrat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/global.css | 8 ++++++++ scripts/main.js | 10 ++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/css/global.css b/css/global.css index bc5eda0..5296ef1 100644 --- a/css/global.css +++ b/css/global.css @@ -85,4 +85,12 @@ footer p { #modal-footer { background-color: #272727; +} + +#status { + color: orange; +} + +#revenu { + color: white } \ No newline at end of file diff --git a/scripts/main.js b/scripts/main.js index 20f7307..68a64a8 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -81,7 +81,7 @@ async function contract() { img = "/img/shuttle.png" } if (contrat.accepted) { - status = "accepté" + status = "accepted" card = `
@@ -96,7 +96,7 @@ async function contract() { ` } else { - status = "en attente" + status = "on hold" card = `
@@ -104,7 +104,8 @@ async function contract() {
${contrat.factionSymbol}

${contrat.deadlineToAccept}

-

Status : ${status}

+

Status : ${status}

+

Revenu : ${contrat.terms.payment.onAccepted} $

@@ -125,10 +126,11 @@ async function contract() {