Commit Graph

73 Commits

Author SHA1 Message Date
Thomas Rubini
d1adaee78c
Store hosting information in .env 2023-04-03 22:10:23 +02:00
Audric V
7e64dc69d3
Merge pull request #148 from ThomasRubini/client_admin-pages-improvements-part-2
[Client] Second part of admin pages improvements
2023-04-03 21:56:32 +02:00
Thomas Rubini
c64060a388
Fix some grammar mistakes 2023-04-03 19:30:19 +02:00
Thomas Rubini
0f61011a3f
Fix some grammar mistakes 2023-04-03 19:27:15 +02:00
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
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
25502abe6d changed introduction text and fixed in place inspector picture 2023-04-02 15:29:40 +02:00
3f0314c078 section not Section 2023-04-02 00:26:16 +02:00
763ed82ad1 re-pass w3c validation 2023-04-02 00:23:16 +02:00
Thomas Rubini
22cfaf5cac
handle the case when there are no reactions 2023-04-02 00:08:35 +02:00
ccd4b5a825
Merge pull request #139 from ThomasRubini/licences
added licences
2023-04-01 19:01:14 +02:00
10b9f02ca6 added licences 2023-04-01 18:59:08 +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
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