Commit Graph

144 Commits

Author SHA1 Message Date
22a53eca62 refactored much of the code to call functions with parameters whenever possible (instead of the functions pulling their input data from global vars or the DOM); added an index to each row; #combatant-form now encapsulates all input elements 2023-10-09 23:35:48 +02:00
2d64915cb0 cleaned up code a little: replaced tabs with spaces, clarified some code 2023-10-07 10:32:17 +02:00
26955b841d updated and enhanced 2023-10-03 22:44:33 +02:00
9073106f61 Fixed two bugs regarding focussing elements 2023-10-03 22:43:04 +02:00
3aa06b6d7f fixed a bug with dead icon links in site.webmanifest, and slightly expanded manifest 2023-09-23 23:23:02 +02:00
aa3a6cf155 removed 2023-09-23 22:43:11 +02:00
4b57ebb5ea updated 2023-09-23 22:41:19 +02:00
465569c109 changed links to icons from absolute to relative 2023-09-23 22:40:42 +02:00
e70f25b8ef added expicit value for --dist-dir 2023-09-23 22:40:03 +02:00
675a6b7c07 removed 2023-09-23 22:38:21 +02:00
0bb40881a3 renamed from sr2ini.iconmanifest b/c parcel wasn't parsing file 2023-09-23 22:37:46 +02:00
dff4b1620b clean now also removes .parcel-cache/; upped version number; correcte author name 2023-09-21 09:12:53 +02:00
d89227e7cd updated 2023-09-21 09:10:59 +02:00
1e496b5807 added description 2023-09-21 08:55:56 +02:00
00740bcf3d corrected author name in footer 2023-09-20 22:35:33 +02:00
17ad920477 updated 2023-09-20 22:17:38 +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
acf4b4dcdb updated 2023-09-20 12:52:37 +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
e3df7bdfe9 cleaned up dir 2023-09-20 12:47:33 +02:00
d229a65d02 added files to recreate the new favicon image in browser 2023-09-20 12:46:52 +02:00
04bd0e35e9 replaced favicon files with new versions 2023-09-20 12:46:14 +02:00
3c8fb03d5d replaced old icon with better one (Logo is now "-10" instead of a rolling die) 2023-09-20 12:45:42 +02:00
d613867eef renamed file to avoid confusion with PWA manifest 2023-09-20 12:44:24 +02:00
7608e24300 removed file 2023-09-20 12:43:51 +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
bce5ff10e6 updated 2023-09-13 14:12:50 +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
41c5437ec4 extended and improved tests for function rollForInitiative() 2023-09-13 14:10:04 +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
af40e4500a updated 2023-09-13 09:57:24 +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
29b6409f97 changed start_url to "/" 2023-09-12 15:48:03 +02:00
5b547ec244 updated 2023-09-12 15:47:55 +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
8ad8d672ad removed dependency @parcel/service-worker; kept a note about it in new comments section (in case I want to revive it) 2023-09-07 09:17:29 +02:00
797e8c2d90 updated 2023-09-07 09:16:24 +02:00
e4f89f6a87 added tmp/ directory 2023-09-07 09:16:13 +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