Trevor Buckner
783e88b5e6
Merge branch 'master' into pr/3477
2024-05-21 17:42:03 -04:00
Trevor Buckner
e62e185214
Lint a bunch of things
2024-05-21 17:32:17 -04:00
Víctor Losada Hernández
92e27cda6c
"Removed unused imports of 'classnames' and 'create-react-class' from various JSX files. in the Client folder"
2024-05-17 22:31:55 +02:00
Gazook89
78ce8aa6e3
remove unused ref attributes
...
from editPage, homePage, newPage, and printPage, as well as splitPane. The refs were declared, but never used.
2024-05-16 23:25:22 -05:00
Víctor Losada Hernández
f21eaab997
Merge branch 'master' into type-fix-for-stylesheet-import-in-html
2024-02-23 20:19:58 +01:00
Víctor Losada Hernández
209c237b73
en-US to en
2024-02-12 08:54:00 +01:00
Víctor Losada Hernández
086468d65b
initial commit
2024-02-12 08:12:53 +01:00
Víctor Losada Hernández
f1c3507a9f
initial commit
2024-01-31 15:45:27 +01:00
Trevor Buckner
767f03fba0
Disable @layers for now
...
@Layers have too many conflicts with custom CSS styling. Delay until V4 renderer.
2023-02-21 15:36:01 -05:00
Trevor Buckner
3c551daf16
Fix print page
2023-01-27 15:16:16 -05:00
Trevor Buckner
332bcde4b2
Themes weren't being picked up for rendering
2023-01-04 21:39:51 -05:00
Trevor Buckner
2b6585545c
Fix "blank" theme not included on print page.
2022-10-24 17:04:33 -04:00
Trevor Buckner
ef7b8f1ba4
Themes work on Print page
2022-05-15 23:48:23 -04:00
Alexey Sachkov
78d4487c58
Fix linter errors
2021-12-29 21:30:03 +03:00
Alexey Sachkov
8a3f52b704
[NFC] Add display name for custom React components
...
This improves readability of "Components" tab from React Development Tools extension for Chrome
2021-12-29 21:18:54 +03:00
Trevor Buckner
1f4ffa6785
Use same brew object throughout
...
Rather than using separate `brewText` and `styleText` state variables when printing from /new, just load the files into the same `brew` object the rest of the page uses.
Also load localstorage in the same way as on `/new` via BREWKEY and STYLEKEY for consistency, rather than passing it in as a separate `brew` item in localstorage
2021-10-07 22:01:53 -04:00
Sean Robertson
213a469dd0
Correct stringify to parse
2021-10-05 10:40:38 +13:00
Sean Robertson
41c1b04f0e
Get renderer information from localStorage when printing from /new
...
Default to `legacy`.
2021-10-01 13:31:09 +13:00
Gazook89
80ea598ec2
match brewRenderer.jsx output to printPage.jsx output
2021-09-16 19:59:54 -05:00
Gazook89
837cacc992
add .page container div to printPage.jsx
2021-09-16 09:51:16 -05:00
Trevor Buckner
f435d65db7
Fix block-curly injector leaving behind an empty <p></p>
2021-09-09 10:35:08 -04:00
Trevor Buckner
5d42196297
Give spellList "wide" class for consistency
2021-09-09 09:14:16 -04:00
Trevor Buckner
1a71ba0eb2
Force \page on V3 to be alone on line.
2021-08-31 12:08:31 -04:00
Trevor Buckner
a7005d779a
Fix /print, make .page outer element for consistency with legacy
2021-08-26 22:43:57 -04:00
Trevor Buckner
76e4023b37
Add theme CSS file to print page
2021-07-20 15:44:42 -04:00
Trevor Buckner
7843691c4b
add "page" class to print page
...
With the style panel we added a `page` css class alongside the `phb` and `phb3` classes so users can write CSS that targets all pages no matter the base CSS loaded. This wasn't applied to the print page.
Funnily enough, the rest of the site uses `.page` just to display the website, and I didn't realize there was a conflict until now because otherwise, the brew is usually hidden in an iFrame.
2021-06-25 00:53:25 -04:00
Trevor Buckner
e67fadef02
Separate "style" and "metadata" panels
2021-06-05 15:58:31 -04:00
Trevor Buckner
146da57ba3
Apply Legacy\v3 renderer to print page ( #1235 )
2021-02-08 22:06:53 -05:00
Trevor Buckner
22a9799674
Update vitreum ( #946 )
...
- Updates Vitreum to v6.0.1 + some custom fixes.
- Stylesheets must be imported with `require('./sheet.less');` but can also can now share stylesheets between jsx components.
- Should eliminate a lot of security concerns with older nested dependencies.
- Changed a lot of files to make this work
- Also removes dependency on PicoRouter in favor of React-Router
2020-05-19 01:36:31 -04:00
Trevor Buckner
e88253f364
Added robots.txt, nofollow in metatags
...
Also noindex on /print/ pages
2020-04-20 13:46:18 -04:00
Rae Che
a369871a06
ESLint reformatting
2018-05-31 10:53:07 -04:00
Rae Che
e86ce5cf06
PrintPage: Fix potentially inconsistent React state update
2018-05-31 10:53:07 -04:00
Scott Tolksdorf
f18a181e2e
Updating to user create-react-class
2018-04-09 00:12:56 -04:00
Scott Tolksdorf
ed1b5252be
lint
2018-04-09 00:12:56 -04:00
Scott Tolksdorf
8b3f9ac76a
Cleaned up the server file and added methodfs and statics to the model
2016-11-14 22:30:28 -05:00
Scott Tolksdorf
6672dff938
Print page can now load from local storage
2016-11-14 21:31:01 -05:00