Commit Graph

15 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
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
Thomas Rubini
22cfaf5cac
handle the case when there are no reactions 2023-04-02 00:08:35 +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
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
Thomas Rubini
3c8f9a1ada
Allow to delete npcs 2023-03-29 10:11:55 +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
Cazals Mathias
54ec4bf618 update admin files 2023-03-20 15:55:40 +01:00
Thomas Rubini
92c6d089e7
add back office npc view 2023-03-18 15:48:58 +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