Commit Graph

56 Commits

Author SHA1 Message Date
Thomas Rubini
93409c5e54
allow to add and delete reactions (backend) 2023-04-01 18:54:08 +02:00
Thomas Rubini
d5199a6ef1
allow to add and delete reactions (frontend only) 2023-04-01 17:48:25 +02:00
Thomas Rubini
3a8680e41a
add reactions images to npc view 2023-04-01 17:48:24 +02:00
Djalim Simaila
fa554ef6e8 simple chat css 2023-04-01 16:49:43 +02:00
d41df3e478 showing reaction pictures in result page 2023-04-01 16:48:01 +02:00
a66f8e61e6 added chat 2023-04-01 16:48:01 +02:00
feae6929c4 atomic commit 2023-04-01 16:48:00 +02:00
AudricV
186e66a103
[Client] Improve NPC admin page + move and fix its JavaScript into a separate file
- Style all button and inputs on admin pages with Roboto Mono font (and
sans-serif as a fallback) with 1em font size;
- Remove unneeded transition effect property declaration on text hover, as the
regular declaration is applied when switching from hover state to regular
state.
- Add NPC dedicated stylesheet in which specific NPC style has been added;
- Use an icon where the picture of a NPC is not available (like when adding a
new one) and provide the NPC picture as the picture instead of the edition page
itself;
- Move NPC's JavaScript in a dedicated file, improve its code and fix its
access to DOM elements.
2023-04-01 15:05:19 +02:00
AudricV
6b1d278712
[Client] Improve admin index page
- Use proper HTML;
- Add common CSS to all administration pages and specific CSS to this one;
- Add common header;
- Remove unneeded script in the index page.
2023-04-01 15:03:16 +02:00
AudricV
af02671812
[Client] Improve admin login page 2023-04-01 14:55:53 +02:00
Thomas Rubini
a778756f3c
add logout button to admin panel 2023-03-31 11:16:03 +02:00
Thomas Rubini
4835f0b077
Merge branch 'main' of gitschool:ThomasRubini/SAE-A2-TruthInquiry 2023-03-29 10:11:58 +02:00
Thomas Rubini
3c8f9a1ada
Allow to delete npcs 2023-03-29 10:11:55 +02:00
Audric V
61de799253
Merge pull request #127 from ThomasRubini/client_improve-game-pages
[Client] Improve game pages
2023-03-29 09:57:31 +02:00
AudricV
8aed3a99da
[Client] Improve unsupported browser and footer code and design 2023-03-29 09:55:10 +02:00
Thomas Rubini
da0c50988f
remove typo 2023-03-29 09:55:00 +02:00
Thomas Rubini
fb75ee1c3a
Rename js admin functions 2023-03-29 09:53:57 +02:00
AudricV
c6687748a2
[Client] Improve homepage code 2023-03-29 09:52:10 +02:00
AudricV
5966483e85
[Client] Improve lobby HTML code 2023-03-29 09:52:10 +02:00
AudricV
4acbb6214a
[Client] Improve game HTML code 2023-03-29 09:52:10 +02:00
AudricV
0d4b8ed3ac
Change meta HTML tag in legal pages
This is required in order to pass W3C validation on these pages.
2023-03-29 08:57:36 +02:00
AudricV
2f96d16e54
[Client] Provide valid HTML on error page 2023-03-29 08:57:35 +02:00
AudricV
0712aa3a76
[Client] Add Flask-APScheduler to the licenses page 2023-03-29 08:55:24 +02:00
Thomas Rubini
c81217f07b
remove lang selection from questions 2023-03-28 20:56:59 +02:00
Thomas Rubini
5c62e0bd23
Show message when password is invalid 2023-03-27 17:19:36 +02:00
Thomas Rubini
9433d625f9
add admin auth method 2023-03-27 17:12:49 +02:00
Thomas Rubini
ccac9c302c
Connect npc view to backend 2023-03-25 20:17:05 +01:00
Thomas Rubini
d9d2b24859
fix css resource path 2023-03-23 21:06:11 +01:00
e020de963b
Merge pull request #114 from ThomasRubini/playerlistEndpoint
can see player before joining game
2023-03-20 16:44:22 +01:00
Djalim Simaila
cc3728b62f can see player before joining game 2023-03-20 16:39:37 +01:00
Cazals Mathias
ede7a45ae5 update questions file in for admin 2023-03-20 16:02:52 +01:00
Cazals Mathias
54ec4bf618 update admin files 2023-03-20 15:55:40 +01:00
Thomas Rubini
d951660bed
Merge pull request #112 from ThomasRubini/questions 2023-03-20 15:52:13 +01:00
Thomas Rubini
1220e570fb
Generate /admin/questions using flask template 2023-03-20 15:51:37 +01:00
Thomas Rubini
30d903db38
fix tab 2023-03-20 14:17:54 +01:00
AudricV
e83591c9ef
[Client] Add button to go back to the home page on game results view
This button has been placed at the top right of the page.

Also merge some common properties into a single one.
2023-03-20 13:43:46 +01:00
Thomas Rubini
98a4635a12
update places view and connect with backend 2023-03-18 23:09:24 +01:00
Thomas Rubini
8451100415
add button to delete trait 2023-03-18 19:03:31 +01:00
Thomas Rubini
0a130fe955
connect traits view with backend 2023-03-18 18:41:38 +01:00
Thomas Rubini
ab0b6efccc
fix id not being reset on new traits 2023-03-18 18:41:38 +01:00
Thomas Rubini
f73f0801d7
add "Add new" button for traits 2023-03-18 18:41:38 +01:00
Thomas Rubini
969ef67c08
add traits back office view 2023-03-18 18:41:38 +01:00
Thomas Rubini
2e1e69584f
add back office places view 2023-03-18 16:09:42 +01:00
Thomas Rubini
b9abe99673
add npc list to admin index 2023-03-18 15:57:36 +01:00
Thomas Rubini
92c6d089e7
add back office npc view 2023-03-18 15:48:58 +01:00
Thomas Rubini
d50edf9b63
add option for new npc 2023-03-18 15:48:58 +01:00
Thomas Rubini
6c07221b7d
Finish set_questions endpoint 2023-03-16 14:39:51 +01:00
Thomas Rubini
04be0b641e
add setQuestions endpoint and access it from js 2023-03-12 12:57:42 +01:00
Thomas Rubini
e1ea41b6d1
add 'go back' buttons 2023-03-12 12:57:42 +01:00
Thomas Rubini
5d79915829
add admin pages 2023-03-12 12:57:42 +01:00