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
fea2e196ba
removed svg-inject from depencies
2023-09-06 10:26:53 +02:00
b12e2776a0
updated
2023-09-06 10:26:42 +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
63341abe08
updated
2023-09-06 00:48:38 +02:00
df0ce07912
added svg-inject as dependency
2023-09-03 22:37:21 +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
6427570964
updated
2023-09-02 00:41:39 +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
86b7546c67
removed parcel-reporter-static-files-copy and staticFiles
2023-09-02 00:36:32 +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
6c4714048f
updated
2023-08-30 11:29:01 +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
0955e82336
updated to-dos
2023-08-29 21:14:32 +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
f6c48454de
added jQuery bundle so Jest can run
2023-08-28 23:44:44 +02:00
b925c85c22
updated list with new bugs and fixes
2023-08-28 23:23:16 +02:00
02d3f33f4d
updated staticFiles configuration
2023-08-28 23:17:48 +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
6c637fd9fa
changed repository url after migrating to Gitea
2023-08-28 20:26:34 +02:00
293a52e4ff
changed version
2023-07-29 17:05:52 +02:00
54c4dc40d4
Merge pull request 'Changed repository URL and website after server migration' ( #1 ) from ynh_package into main
...
Reviewed-on: tobias/sr2ini#1
2023-07-27 19:05:20 +02:00
4b1fde020a
Changed repository URL and website after server migration
2023-07-27 12:51:53 +02:00
e2aa8842f0
fixed markdown formatting
2023-07-27 11:09:06 +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
8cfb1b09ae
- added tools/ directory for project tools, e.g. favicon master image
...
- added icons/ directory for favicons
2023-02-24 15:08:39 +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
f56c665b0c
- continued complete redesign
...
- restyled all elements are now except footer
2023-02-20 23:41:45 +01:00
66679dddac
- modified package.json to accomodate new directory structure in deployment
2023-02-19 12:02:29 +01:00