summaryrefslogtreecommitdiff
path: root/web/static
Commit message (Collapse)AuthorAgeFilesLines
* web: refactor svg drawing and related codeDavid Vazgenovich Shakaryan2022-05-271-1/+1
|
* web: bump cache versionDavid Vazgenovich Shakaryan2022-05-261-1/+1
|
* display 2-dart checkout if different than 3-dart checkoutDavid Vazgenovich Shakaryan2022-05-241-1/+1
|
* clear undone visit before overwriting with new visitDavid Vazgenovich Shakaryan2022-05-241-1/+1
|
* store starting player as part of match dataDavid Vazgenovich Shakaryan2022-05-231-1/+1
|
* move a bunch of general match logic from web to libDavid Vazgenovich Shakaryan2022-05-231-1/+1
|
* web: support early match exit via keyboardDavid Vazgenovich Shakaryan2022-05-221-0/+2
|
* web: remove test match modes; prompt cleanupDavid Vazgenovich Shakaryan2022-05-221-1/+1
|
* web: bump cache versionDavid Vazgenovich Shakaryan2022-05-211-1/+1
|
* web: support visit log for 3+ player matchesDavid Vazgenovich Shakaryan2022-05-202-30/+57
| | | | | The new match modes are for testing. They'll eventually be removed in favour of true configurability.
* web: use generic player slots in HTML/CSSDavid Vazgenovich Shakaryan2022-05-202-24/+22
|
* web: add (incomplete) support for 3+ player matchesDavid Vazgenovich Shakaryan2022-05-204-0/+57
|
* web: display darts for comp as player 1David Vazgenovich Shakaryan2022-05-193-15/+48
|
* web: store comp info as part of match player info instead of globallyDavid Vazgenovich Shakaryan2022-05-181-1/+1
| | | | | This allows us things like two computer players against one another, which I've also added for testing.
* web: fix bug when player 2 presses remaining keyDavid Vazgenovich Shakaryan2022-05-181-1/+1
|
* web: use match info funcs instead of checking modeDavid Vazgenovich Shakaryan2022-05-181-1/+1
|
* web: support first-visit undo when player 2 throws firstDavid Vazgenovich Shakaryan2022-05-181-1/+1
|
* web: refactor undo logicDavid Vazgenovich Shakaryan2022-05-181-1/+1
|
* web: overlay virtual keyboard on chromeDavid Vazgenovich Shakaryan2022-05-162-1/+4
| | | | | | This prevents everything from getting resized when an input field is focused. Ideally we'd make the page scrollable when the keyboard appears, but the inputs are all at the top so it's not crucial.
* web: display svg overflowDavid Vazgenovich Shakaryan2022-05-162-1/+2
|
* web: add favicon to local cacheDavid Vazgenovich Shakaryan2022-05-161-0/+1
|
* web: add throw animationDavid Vazgenovich Shakaryan2022-05-162-1/+11
|
* web: change end match button stylingDavid Vazgenovich Shakaryan2022-05-161-3/+19
|
* web: fix ending match mid-comp-throw and starting another quicklyDavid Vazgenovich Shakaryan2022-05-161-1/+1
|
* web: clean up properly when match is ended while comp is throwingDavid Vazgenovich Shakaryan2022-05-162-2/+2
|
* web: support ending ongoing match; ui/colour tweaksDavid Vazgenovich Shakaryan2022-05-168-64/+109
| | | | | | Ending a match while the computer is throwing currently results in data being written to the prompt because any scheduled C calls are not being cleared yet.
* web: add back button to option menusDavid Vazgenovich Shakaryan2022-05-151-1/+1
|
* web: implement difficulty abstraction for stdevDavid Vazgenovich Shakaryan2022-05-153-4/+8
|
* web: host fonts locallyDavid Vazgenovich Shakaryan2022-05-138-8/+49
|
* web: use icons for settings; misc changesDavid Vazgenovich Shakaryan2022-05-134-16/+14
|
* web: disable back button when installed as a PWADavid Vazgenovich Shakaryan2022-05-132-1/+14
|
* web: fix font pathDavid Vazgenovich Shakaryan2022-05-131-1/+1
|
* web: add better icons for PWADavid Vazgenovich Shakaryan2022-05-1319-30/+234
|
* web: support installing as progressive web app™David Vazgenovich Shakaryan2022-05-1212-0/+91
|
* web: use subset font for dartboard numbersDavid Vazgenovich Shakaryan2022-05-124-3/+8
| | | | | | | | Inter is under a permissive font and we use the number glyphs only, so it makes sense to use a subset font to avoid loading the rest of the glyphs. Also removing the name table from the icons font to further reduce size.
* web: add prettier iconsDavid Vazgenovich Shakaryan2022-05-114-5/+19
| | | | | | | The icons come from the lovely people at Bootstrap, who've shared them under a permissive licence. To avoid loading a large file consisting almost entirely of icons we'll never display, I've generated the icon font myself, limiting it to only the glyphs we use.
* web: bloody chromium…David Vazgenovich Shakaryan2022-05-102-4/+5
|
* web: add exit dialogue while match is activeDavid Vazgenovich Shakaryan2022-05-101-0/+11
|
* web: ui improvements, mainly for mobileDavid Vazgenovich Shakaryan2022-05-103-9/+22
| | | | | | | | Using a `100vh' height results in the bottom bit of the UI being cropped until scrolling down, while using `100%' results in the address bar always wasting space. By combining these with a fixed-position element, we're able to have the UI grow and shrink as the address bar visibility changes.
* web: give keypad list keys a max heightDavid Vazgenovich Shakaryan2022-05-101-1/+29
| | | | Bonus CSS shenanigans to create key gaps that behave.
* web: display who throws first in visit logDavid Vazgenovich Shakaryan2022-05-101-0/+1
|
* web: fix CSS media queryDavid Vazgenovich Shakaryan2022-05-091-1/+1
|
* web: add support for child DOM elements and text nodesDavid Vazgenovich Shakaryan2022-05-091-11/+29
|
* web: dynamically generate (list-mode) keypad keysDavid Vazgenovich Shakaryan2022-05-093-11/+9
| | | | | This is currently only for match mode selection, but we'll reuse it to implement more menus.
* web: dynamically generate SVG and groupsDavid Vazgenovich Shakaryan2022-05-091-4/+0
|
* web: fix ui bugDavid Vazgenovich Shakaryan2022-05-071-5/+7
|
* web: stylesheet cleanupDavid Vazgenovich Shakaryan2022-05-072-236/+251
|
* web: make bot darts less prominentDavid Vazgenovich Shakaryan2022-05-071-4/+2
|
* web: remember layout settingDavid Vazgenovich Shakaryan2022-05-072-3/+7
|
* web: minor ui/colour tweaksDavid Vazgenovich Shakaryan2022-05-071-8/+6
|