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
cb36ae4159
- started a complete redesign
...
- removed zero-row from damage monitor; damage buttons now toggle
- added decreasing z-indexes on sorted combatant-rows to mitigate a weird bug where damage monitors would be displayed under instead of over the rows
2023-02-19 00:01:12 +01:00
43a9aef8b1
* all combatant data is now being stored in data-* attributes
...
* switched from CSS to SCSS
* changed all HTML class names, IDs etc. from camelCase to kebab-case
* bootstrap and jquery are now being imported from index.html again, not throug imports
* loading augmented-ui now
2023-02-13 23:21:35 +01:00
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