From 65eca099b474f13111fead257563888a74929634 Mon Sep 17 00:00:00 2001 From: Ruben Tome Date: Fri, 23 Feb 2024 11:11:27 +0100 Subject: [PATCH] Envoie du code des contracts pour rassembler tout le code --- assets/contracts/leftarrow.png | Bin 0 -> 365 bytes assets/contracts/rightarrow.png | Bin 0 -> 343 bytes css/global.css | 18 +++++++++++++++++- html/templates/contracts/contracts.html | 4 ++++ js/controllers/contracts.js | 7 +++++-- 5 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 assets/contracts/leftarrow.png create mode 100644 assets/contracts/rightarrow.png diff --git a/assets/contracts/leftarrow.png b/assets/contracts/leftarrow.png new file mode 100644 index 0000000000000000000000000000000000000000..787f82a42780155c24f05885f40d4b5573f05477 GIT binary patch literal 365 zcmeAS@N?(olHy`uVBq!ia0vp^HbCse!3HF`uWUUGq&N#aB8wRq^pruEv0|xx83O~O zyr+v}NCxZMS&n?o1_I39SKUASzy7iN+a+bQE*FtK*0xoGN9OhV-;MMC{r33xFCNGD z&3)DUsQSatAIA-4`ac|EXwhftlCPg;8IWu9(_zh*Ck@m0%N;r`=ws(#edu#^RiN~0 z*GzYb!&#!MUI?sn3i`QY{ZjdB$4(h&ubs4Vk@F5N&!>xJAAX$1mzm7*UpQm?C5f=z z@viyq5!*{Dq*wRmAZwNQfB(p;Z_n)Ix)xsFdDw3LAI+A}l2z=Fb=TfA-@P|8bLt*s z;qP0w{5lu=*4KM=%ieRc-+n&vSDbVHg7u91mtOr|3=&pB7LK@n=~c`skRdaW4Y6;K WmuX?!pk@gSKL$@%KbLh*2~7YN;HWhK literal 0 HcmV?d00001 diff --git a/assets/contracts/rightarrow.png b/assets/contracts/rightarrow.png new file mode 100644 index 0000000000000000000000000000000000000000..997099b5dd5e072c7e4bf5dd9700d3f3d7a9aed6 GIT binary patch literal 343 zcmeAS@N?(olHy`uVBq!ia0vp^HbCse!3HF`uWUUGq&N#aB8wRqV%$KOQDlmBc!NCxZMDTaK94FnF)TGW5yfBf|LE#AiqI1-*G$y#TvSiJbaThmwD_^e}l z;+W9C_yu>D==$9DKY3el-R3VT(wCKP3vM&;RfMQByno5nY}p~dS$dNpCS|z)V9z`% W-e(wcekm}d7(8A5T-G@yGywqXc#*0A literal 0 HcmV?d00001 diff --git a/css/global.css b/css/global.css index 3e479ab..24e408a 100644 --- a/css/global.css +++ b/css/global.css @@ -67,7 +67,7 @@ html { .contracts { margin-left: 240px; - margin-top: 250px; + margin-top: 225px; height: 100vh; width: 100vh; } @@ -80,4 +80,20 @@ html { .status-accepted { color: greenyellow; +} + +#leftarrow { + width: 50px; + height: 50px; +} + +#rightarrow { + width: 50px; + height: 50px; +} + +.arrows { + text-align: center; + + } \ No newline at end of file diff --git a/html/templates/contracts/contracts.html b/html/templates/contracts/contracts.html index de05fa8..429133b 100644 --- a/html/templates/contracts/contracts.html +++ b/html/templates/contracts/contracts.html @@ -1,4 +1,8 @@
+
+
+ +
\ No newline at end of file diff --git a/js/controllers/contracts.js b/js/controllers/contracts.js index 941379e..24392fb 100644 --- a/js/controllers/contracts.js +++ b/js/controllers/contracts.js @@ -86,7 +86,9 @@ export default (temp_engine) => {

${contract.deadline}

${contract.deadline}

Status : ${status}

- + + + ` @@ -111,13 +113,14 @@ export default (temp_engine) => { - ` + ` } $('.contracts').append(card); $('.contracts').append(card); + }); })