Commit Graph

55 Commits

Author SHA1 Message Date
00740bcf3d corrected author name in footer 2023-09-20 22:35:33 +02:00
665d25ca44 fixed a bug where a more actions dropdown would not center under its parent divs anymore; also the cursor now changes to pointer when hovering over a table cell which opens the edit modal 2023-09-20 22:13:39 +02:00
0b020decc1 fixed a bug where disabling and enabling buttons for dead/KOed/ini-zero combatants wasn't working correctly; also added a surrounding <div> in table row stub 2023-09-20 12:50:51 +02:00
5294b19a13 replaced the letters in the act icon; also some made small changes in <head> and footer 2023-09-20 12:49:41 +02:00
97b2d61e5f fixed a bug where the buttons in a .combatant-row weren't aligned vertically 2023-09-20 12:48:36 +02:00
0ac27e32e2 removed unused file 2023-09-20 12:47:54 +02:00
195e343d30 custom font is now a regular npm dependency declared in package.json and "@import"ed in sr2ini.scss; also cleaned up the scss code 2023-09-18 11:55:57 +02:00
3e3deda9dc fixed a bug in custom validation where no error message or styles would be shown 2023-09-13 14:11:31 +02:00
bb7fb1dc83 added newline to end of file 2023-09-13 14:11:18 +02:00
e9c163ea2a cleaned up code 2023-09-13 10:05:28 +02:00
4b9f145df6 improved event handling for damage sliders in modal
removed debug console output
2023-09-13 10:03:52 +02:00
cf12833c0d updated text in footer 2023-09-13 10:02:30 +02:00
48c070f024 fixed a bug in the damage monitor HTML stub; also, fixed a bug in addTestCombatant() that would open the add modal 2023-09-12 22:37:10 +02:00
1ed213c9fa fixed a bug that would create uneven spacing between damage buttons; also, focussed damage buttons are now pulsating 2023-09-12 22:35:45 +02:00
f1c16da7e4 several changes that were necessary in conjunction with the design revamp 2023-09-12 15:55:38 +02:00
4906f82e4c several changes that were in conjunction with design revamp 2023-09-12 15:55:05 +02:00
d90cff7832 Complete design revamp with focus on
- responsiveness: breakpoints at 500 and 1000px
- lightweight: importing necessary Bootstrap CSS components only
- color-friendliness: blue/gold instead of blue/pink
- consistency across different browsers
- ease of use: widely using bs sass variables for styles
2023-09-12 15:48:23 +02:00
a0e81cd277 moved file to tools/ 2023-09-07 09:25:14 +02:00
81a6001e96 updated jQuery selectors for "combatants-table" from class syntax to id syntax; 2023-09-07 09:22:59 +02:00
a7415f5d96 slightly reworked event handling
- event handling and combatant manipulation are now completely separate, i.e. addCombatant() doesn't need an event parameter anymore
- renamed applyDamage() to handleDamageLevelButtonClick() b/c it's an event handler function (which, admittedly, manipulates combatants but only superficially)
- added listeners for "enter" keypress to both modals
2023-09-06 10:30:14 +02:00
5324adf189 changed "combatants-table" from class to ID 2023-09-06 10:29:26 +02:00
342fd6108a icons are now being defined directly in the HTML code instead of being injected via external javascript 2023-09-06 10:27:58 +02:00
8ac965c30a removed file; moved icon definitions into index.html 2023-09-06 10:27:19 +02:00
332050526d Fixed a bug where the combatant modal would close after clicking OK / pressing enter even though the input didn't validate 2023-09-06 00:48:45 +02:00
2c8aab0aaa created file 2023-09-03 22:36:56 +02:00
63333388a4 added viewboxes to the <svg> tags in te HTML snippets 2023-09-03 22:36:23 +02:00
8930e44dc3 one more change for the SVG icons 2023-09-03 22:35:43 +02:00
16394b8a22 moved SVG icons into separate file 2023-09-03 22:32:22 +02:00
fc4348d5ec deleted icon image files (they are all SVGs now) 2023-09-02 00:46:33 +02:00
0b13e53d4a modified styles regarding icons since these all come as SVGs now 2023-09-02 00:40:45 +02:00
806a51b628 modified HTML template strings to enable reusing SVG icons 2023-09-02 00:39:20 +02:00
178155ab6b All icons are now SVGs. They get defined once and are being reused via the <use> tag 2023-09-02 00:37:27 +02:00
62d86f12f0 changed calculation of effective initiative so that it never returns negative values; also added functions to module.exports 2023-08-31 15:48:34 +02:00
6185ba0865 fixed a bug where actions menus wouldn't close on clicking in an empty space 2023-08-30 11:28:36 +02:00
5158ce2486 changed transition of .action-menu and .damage-monitor elements from sliding to fading 2023-08-29 21:13:42 +02:00
5977740c43 fixed a typo; also I had to comment out the service worker registration b/c Firefox is giving me crap about the URL 2023-08-29 21:12:22 +02:00
9c8c9086b4 changed serviceWorker registration URL from absolute to relative 2023-08-28 23:45:43 +02:00
a036d12a7f fixed a bug preventing correct calculation of turn order on equal initiative and differing reaction in whoGoesFirst() 2023-08-28 23:17:05 +02:00
043a1e6c48 Added more default values for new combatants 2023-07-27 10:48:14 +02:00
774762da56 Fixed bug that prevented showing edited values in the table. 2023-04-26 14:58:12 +02:00
91ee90d1b9 minor bugfixes 2023-04-26 14:39:58 +02:00
3221947519 Fixed minor bugs in sortTable() and handleEditButtonClick() 2023-04-26 14:39:29 +02:00
04375e7d49 - added service worker that keeps file in browser cache
- added webmanifest to make a progressive web app (installability not tested yet)
- dependencies (jQuery etc.) are now included
- reduced dependency size by importing Bootstrap's modal.js only instead of bootstrap.js
2023-03-07 22:17:34 +01:00
c6d3bd5370 - started writing tests for jest 2023-03-03 00:19:19 +01:00
911effe72c - tidied up CSS using results from csslint
- cleaned up HTML using webhint results
- added files to tools/ that were used to create the favicon master image
- recreated more icons in SVG
2023-03-02 13:58:16 +01:00
0ad3083689 - replaced more png items with svg
- svg is now embedded into HTML, not loaded from file (loading from file buts off dependencies, namely the font for the -10 icon)
- started cleaning up CSS file
- started removing unnecessary classes and replacing single property Bootstrap classes with the property itself
2023-02-28 21:58:41 +01:00
8227cde4ee - added transition for damage monitors and actions menus
- need to slide them to the correct position
- was not able to style the activating button (yet); turns out there is no CSS selector for elements preceding a specific element
2023-02-27 23:19:42 +01:00
b52cad0a14 - added favicon
- switched several icons, introduced some SVG icons
- finished redesign
- Electrolize font is now locally available
2023-02-26 22:35:01 +01:00
4454bc3840 - improved favicon support
- now using a compressed background image
2023-02-24 15:53:51 +01:00
382f0668c7 - mostly finished redesign (only details left to do)
- you can now view and edit damage levels in the combatant modal
- added Apply button to combatant modal
- added submenu to action buttons
- added clone button to actions
- moved remove button from damage monitor to submenu
2023-02-23 22:42:02 +01:00