Commit Graph

7 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
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
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
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