Commit Graph

73 Commits

Author SHA1 Message Date
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
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