Commit Graph

78 Commits

Author SHA1 Message Date
AudricV
b0afabfde6
[Client] Add logout link on JavaScript disabled dialog for admin pages
Also remove an unneeded CSS class in the dialog message.
2023-04-03 18:58:25 +02:00
AudricV
b2c9268168
[Client] Display JavaScript requirement alert dialog on admin pages which require it and change yellow color
- Display JavaScript requirement alert dialog as a fixed element centered
horizontally and vertically;
- Use light gold color as the yellow color of admin pages.
2023-04-03 18:58:25 +02:00
AudricV
bec8f87620
[Client] Improve login button on admin login page
Add an icon and a title on the login button to improve its accessibility and
design.
2023-04-03 18:58:25 +02:00
AudricV
68c62b5e03
[Client] Improve traits management admin page
- Fix HTML, improve style of the feature and add its dedicated CSS file;
- Improve admin traits' JavaScript and fix addition of a trait where there is
no one already present;
- Remove unneeded admin.js file, as all its functions have been improved and
split into separate files.
2023-04-03 18:58:24 +02:00
AudricV
0707dce218
[Client] Improve reaction images management on NPC admin page
- Fix HTML and improve style of the feature;
- Improve admin NPC's JavaScript and fix addition of a reaction image where
there is no one already present;
- Allow upload of images with image/jpg MIME type;
- Fix attribute name of a hidden input;
- Apply the hover effects of links and buttons on their focus, for all admin
pages.
2023-04-03 18:33:25 +02:00
AudricV
2b20185ff5
[Client] Improve places admin page + fix its JavaScript
- Use proper HTML;
- Add specific CSS of this page in a dedicated file;
- Add common header;
- Move places' JavaScript in a dedicated file, improve its code and fix its
access to DOM elements.
2023-04-03 18:33:24 +02:00
AudricV
4d46c62aae
[Client] Improve questions on admin page + fix its JavaScript and deduplicate common style
- Use proper HTML;
- Add CSS file specific to this page;
- Deduplicate common style by moving it into the admin_ui CSS file and do the
corresponding changes in the admin CSS and HTML files;
- Add common header;
- Move questions's JavaScript in a dedicated file, improve its code and fix its
access to DOM elements.
2023-04-03 18:33:24 +02:00
d7ec28eacf
Merge pull request #146 from ThomasRubini/waitMessageFix
changed wait message on solo games
2023-04-02 16:05:16 +02:00
bea9d86b5d changed wait message on solo games 2023-04-02 16:04:13 +02:00
25502abe6d changed introduction text and fixed in place inspector picture 2023-04-02 15:29:40 +02:00
1dfbbfd1c1 fixed back button not being shown in title screen 2023-04-02 15:05:37 +02:00
019a4f9bc1 added a little wait message on emotion and culprit choosing page 2023-04-02 14:57:55 +02:00
7c16615c79 added feedback on some button clics 2023-04-02 14:51:30 +02:00
Thomas Rubini
c5108d1b30
Merge pull request #138 from ThomasRubini/reactions 2023-04-01 18:59:16 +02:00
Thomas Rubini
d9ddb96e80
remove reaction_id with trait_id 2023-04-01 18:55:51 +02:00
Thomas Rubini
93409c5e54
allow to add and delete reactions (backend) 2023-04-01 18:54:08 +02:00
Djalim Simaila
5e6ba33771 compressed image even more 2023-04-01 18:35:56 +02:00
Thomas Rubini
1cd238b4ab
add content type form 2023-04-01 18:19:56 +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
71c54cdfa9 fixed textbox disapearing in interogation + npc not going neutral after question 2023-04-01 16:49:43 +02:00
Djalim Simaila
fa554ef6e8 simple chat css 2023-04-01 16:49:43 +02:00
579d4ab0b9 Compressed pictures even more for even more faster loads 2023-04-01 16:49:43 +02:00
874dca1b0c Compressed pictures even more for even more faster loads 2023-04-01 16:49:36 +02:00
dda75ff4d4 Compressed pictures for faster load 2023-04-01 16:49:12 +02:00
de0ce9762e Compressed pictures for faster load 2023-04-01 16:48:53 +02:00
f91af841a3 Stylised suspect names 2023-04-01 16:48:01 +02:00
d41df3e478 showing reaction pictures in result page 2023-04-01 16:48:01 +02:00
ed8b928ebc hide button on solo game + fixed player list updates in lobby + fixed joining a already started game 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
61b044689f
Merge pull request #133 from ThomasRubini/jsfix
fix change not going neutral after question timeout
2023-03-31 12:35:17 +02:00
8873e1a14a added solo game flag 2023-03-31 07:19:53 +02:00
cd074c26de fix change not going neutral after question timeout 2023-03-30 19:27:06 +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
40c4e47327
[Client] Improve legal pages design
- Change background color to game's grey to fix hover color of footer links;
- Move footer links at the bottom of the page;
- Change game's blue color to match this color with accessibility
recommendations.
2023-03-29 09:55:11 +02:00
AudricV
8aed3a99da
[Client] Improve unsupported browser and footer code and design 2023-03-29 09:55:10 +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
4acbb6214a
[Client] Improve game HTML code 2023-03-29 09:52:10 +02:00
Thomas Rubini
f500347da6
Merge pull request #111 from ThomasRubini/jsDoc 2023-03-28 20:58:03 +02:00
Thomas Rubini
ccac9c302c
Connect npc view to backend 2023-03-25 20:17:05 +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
Thomas Rubini
c69edc3248
Merge pull request #113 from ThomasRubini/admin_html 2023-03-20 16:37:30 +01:00