Commit Graph

43 Commits

Author SHA1 Message Date
7cbd8d6c38 Integrated project into toolchain around node.js, npm and parcel. Had to modify directory structure, asset links, filenames and quite a bit more. Works now. 2023-02-12 23:47:28 +01:00
26a9c216ab - went back to store true-ini in HTML data attribute via .attr(); .data() did not update the HTML attribute value reliably 2023-02-10 10:45:16 +01:00
615a67cc5f - darkened active damage buttons to enhance contrast 2023-02-10 09:09:36 +01:00
02bdabb8c5 removed unneeded line 2023-02-09 20:36:14 +01:00
2fdb790552 - K.O and death are now marked by icons in the damage monitor
- changed icon for take damage
2023-02-09 20:32:34 +01:00
ffeb85b080 - switched from .attr() to .data() 2023-02-09 15:28:08 +01:00
493d7160b6 - streamlined handling of contextual classes and damage badges; these are now all being applied in sortTable only
- combatantModal now displays wound penalties
- when two combatants have the same ini: only compare reaction values if both are set, report tie otherwise
- elegantified certain commands, e.g. retrieving damage type in applyDamage (formerly handleDamageMonitorClick)
- rearranged some of the functions in sr2ini.js
2023-02-09 14:26:51 +01:00
10830728b2 - updated footer
- changed way to show/hide .damage-monitor elements; now works via bootstrap class "d-none" instead of changing "display" attribute
- same for modal OK buttons
2023-02-09 12:14:30 +01:00
938f32cb8c - added background image to navbar
- emlarged navbar buttons
- changed some of the icons
2023-02-08 21:57:50 +01:00
a142740330 - capitalized const names
- put all html into consts
- fixed minor bugs
2023-02-08 12:26:46 +01:00
c26dd7be94 fixed some bugs about incorrectly transferred ini values after taking action / starting new round 2023-02-08 00:43:17 +01:00
c82a3e41d8 - added working remove button
- remove now asks to confirm
- only one damage monitor is open at any time
2023-02-08 00:01:23 +01:00
8517c7f7e8 further improved damage tracking functionality 2023-02-07 17:52:45 +01:00
86f1f4bad3 enhanced and bugfixed damage level tracking 2023-02-07 13:16:53 +01:00
7d5455fdfd - added damage monitor functionality to track stun/phys damage levels and automatically apply ini penalties accordingly
- mostly working, but there's now way yet to enter/edit damage levels in the add/edit modal
- changed some of the icons
2023-02-07 11:29:29 +01:00
380f98fa4d improved a function to add a test combatant 2023-02-05 19:20:20 +01:00
516cffb3a3 - changed some icons
- cleaned up custom.css
2023-02-05 13:58:03 +01:00
bb319d6bdc - changed icons
- modified layout for use on small screens
2023-02-05 12:26:01 +01:00
22b3fa7d1e icons added 2023-02-05 10:23:00 +01:00
aa0713d3ee - fixed a bug where clicking on a nested table would not open the edit modal
- refined sorting comparison function
2023-02-04 15:49:36 +01:00
e99c2e031d - buttons use icons now
- added footer with icon attribution
2023-02-04 13:08:53 +01:00
208738531a - streamlined element IDs, function etc.
- sortTable() now adds contextual classes to combatantRows (depending on their ini value)
- moved all inline CSS styles to custom.css
2023-02-04 00:06:02 +01:00
07747b3b18 Introduced edit button in each combRows that lets the user modify values through the modal 2023-02-03 01:27:59 +01:00
75d6a54e57 Combatant order is now established by re-sorting table after every value change (instead of re-positioning the modified row) 2023-02-02 23:30:25 +01:00
9b7826568b removed row for adding combatants; this is now done via modal
added navbar
2023-02-02 15:19:56 +01:00
cfee510e38 various bugfixes, e.g. that data-ini will only be compared and filled with actual ini values 2023-02-01 23:13:59 +01:00
836af1c7e6 small changes 2023-02-01 21:58:35 +01:00
8d9fdb0f6f now tracking optional dice/rea values, rolling for initiative, and starting new rounds 2022-06-24 21:19:34 +02:00
c728923dba custom stylesheet created 2022-06-24 21:19:04 +02:00
a7bbf3d55f modal and support for dice/rea tracking added 2022-06-24 21:18:07 +02:00
53b45eeea7 updated table layout 2022-01-08 17:05:35 +01:00
ff3799ab13 modified CSS and button layout 2022-01-08 13:57:18 +01:00
afd39b846f changed order in which js resources are imported 2022-01-08 13:21:21 +01:00
8025713999 fixed typo in resource filename 2022-01-08 13:14:50 +01:00
343a9430e6 switched to local ja/css resources 2022-01-08 13:04:36 +01:00
d78c709eec removed table-striped 2021-12-17 11:55:33 +01:00
3f6bab1789 made table striped (for testing purposes only) 2021-12-17 11:54:15 +01:00
0ca675d60a Delete 'css/bootstrap.min.css' 2021-12-16 22:16:52 +01:00
c80592716b Delete 'js/jquery-3.6.0.js' 2021-12-16 22:16:27 +01:00
8888d0c3dd Delete 'js/bootstrap.min.js' 2021-12-16 22:15:45 +01:00
c57ebe1156 loading jqery from CDN now 2021-12-16 22:15:01 +01:00
305270c0cb added main html and javascript files, as well as some libraries (jquery and bootstrap) 2021-12-16 22:09:42 +01:00
ac8c0eae9f Initial commit 2021-12-13 22:01:55 +01:00