Commit Graph

6 Commits

Author SHA1 Message Date
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
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