Commit Graph

76 Commits

Author SHA1 Message Date
6088ab2741 minor changes 2023-07-27 21:41:18 +02:00
20f277fb32 added initial rewrite rule 2023-07-27 21:36:19 +02:00
46b3d1731e install now adds an NGINX conf file 2023-07-27 21:28:19 +02:00
1e4b37d990 added nginx configuration 2023-07-27 21:21:10 +02:00
7e4ff716f4 corrected tarball download URL 2023-07-27 21:05:02 +02:00
620c7dc08a updated tarball filename 2023-07-27 20:56:08 +02:00
7a550233ef add dist tarball 2023-07-27 20:54:19 +02:00
6f5f246a00 Merge branch 'main' of git.unterdemradar.de:tobias/sr2ini_ynh 2023-07-27 20:53:01 +02:00
1cc31bda50 Delete tools/sr2ini_ynh-o.1~ynh1.tar.gz 2023-07-27 20:50:08 +02:00
9c67f91e83 removed after fork 2023-07-27 20:46:34 +02:00
1a36c462f7 changes reflect fork 2023-07-27 20:46:17 +02:00
3c87d3e9b1 changes reflect fork 2023-07-27 20:45:36 +02:00
65fc936888 created folder and first version for the install script 2023-07-27 20:40:54 +02:00
28b7245e04 Created app manifest 2023-07-27 20:40:15 +02:00
e243e74453 uploaded test-release as gzipped tarball for the Yunohost installation script 2023-07-27 20:19:26 +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