0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 22:52:40 +00:00
Commit Graph

1096 Commits

Author SHA1 Message Date
Gazook89
3c2feeb2aa Update css for classTables v3
- add "- spell slots per spell level -" header to full class tables
- add rules for `.classTables.full` which is similar to `wide` but adds the previously mentioned header as well.
- add css variable `--row-color` so the odd row colors can be set in the inline moustache syntax easily.
2021-07-30 20:28:48 -04:00
Gazook89
fdb294bad9 Update to v3 moustache syntax
- Added moustache syntax
- replaced class `wide` with `full` so that new styling is applied, including adding a "spell slots per spell level" header for only full class tables.
- included a quick-change css variable to the snippet to control row color.  **can be updated to use hex code or whichever is preferred for the snippet**
2021-07-30 20:28:48 -04:00
Gazook89
56975f9375 Delete userPage3D.css 2021-07-30 20:28:48 -04:00
Gazook89
cb74c0d389 Update userPage3D.css 2021-07-30 20:28:48 -04:00
Gazook89
33abe05737 Create userPage3D.css 2021-07-30 20:28:48 -04:00
Trevor Buckner
61ca7fd0f6 Merge pull request #1457 from G-Ambatte/fixUndefinedCSS
Fix issue with undefined Style tab data
2021-07-30 18:53:16 -04:00
Trevor Buckner
21223cbcd4 Merge branch 'master' into fixUndefinedCSS 2021-07-30 18:05:02 -04:00
Trevor Buckner
d02d51717d Merge pull request #1480 from Gazook89/Gazook89-HB-Meta-Editor-Tweaks
Update metadataEditor.less for CSS adjustments
2021-07-30 17:56:14 -04:00
Trevor Buckner
004f3f184f Merge pull request #1455 from G-Ambatte/reduceWelcomeTextUsage
Make WelcomeText and ChangeLogText conditional
2021-07-30 17:50:26 -04:00
Trevor Buckner
99d2f6d48d avoid sending two copies of welcome text in the same brew 2021-07-30 17:47:11 -04:00
Trevor Buckner
11d1f5c00e Merge pull request #1453 from G-Ambatte/modifyTitleOfClonedBrew
Prepend 'CLONE:- ' to title of cloned brew
2021-07-30 17:30:26 -04:00
Trevor Buckner
ebd28f41a2 replace :- with just - 2021-07-30 17:29:36 -04:00
Trevor Buckner
2397fcaa21 Merge pull request #1485 from naturalcrit/MustacheSyntaxUsesColons
Mustache syntax to use colons
2021-07-30 12:32:28 -04:00
Trevor Buckner
5b039b82a3 Update snippets 2021-07-30 12:31:30 -04:00
Trevor Buckner
264f5d5068 Merge pull request #1475 from naturalcrit/dependabot/npm_and_yarn/mongoose-5.13.4
Bump mongoose from 5.13.3 to 5.13.4
2021-07-30 03:17:54 -04:00
Trevor Buckner
eff5660f12 Merge pull request #1484 from naturalcrit/FixMustacheInjectConflicts
Fix conflicts with Mustache divs and injected style tags
2021-07-30 02:12:07 -04:00
Trevor Buckner
98915e158d Fix editor highlighting 2021-07-30 02:11:26 -04:00
Trevor Buckner
9be71a5159 Mustache syntax now uses : instead of =. Single words don't need quotes 2021-07-30 02:08:08 -04:00
Trevor Buckner
6b61bb05c0 Update markdown.js
- Fix "start" function for Divs and BlockInject, which were being generated mid-line (must start only after a newline)
- Fix Divs consuming part of Spans above them.
- Add % and # as valid characters for inline-styles
2021-07-30 01:27:05 -04:00
Gazook89
c4c5e21ce0 Vertically center button labels
Set labels as inline-flex containers and vertically align children to center.
2021-07-29 12:28:02 -05:00
Gazook89
0c0ba0b6ca Update metadataEditor.less
- Fix Publish button and following small text so there is no overlap
- set `nowrap` on checkbox inputs/labels so that the labels do not wrap to the next line from their input.
- set min-width on values so that text boxes shrink to the same width; and can flex to any larger size.
2021-07-29 11:26:41 -05:00
Gazook89
295a4cd1cd Update magic.gen.js
Add "1st Level" to levels in spell list.  convert spell list to moustache syntax.
2021-07-29 10:13:31 -05:00
G.Ambatte
db3bec9e2b Combine setState calls in componentDidMount 2021-07-29 21:05:55 +12:00
G.Ambatte
577a434e17 Slight change to isMounted logic 2021-07-29 19:24:36 +12:00
G.Ambatte
cac5aa2475 Combine renderStyle and renderPages logic 2021-07-29 19:23:27 +12:00
G.Ambatte
85fa73b9bf Remove welcomText+changelogText from default props 2021-07-29 19:02:48 +12:00
G.Ambatte
fdfea36614 Shift HomePage to use a minimal brew 2021-07-29 19:00:26 +12:00
Trevor Buckner
2f663e0ea7 Merge pull request #1468 from G-Ambatte/fixSharePage-#1467
Fix issue 1467 - Source on Change Log doesn't work
2021-07-29 00:11:20 -04:00
Trevor Buckner
5d05af089b Merge pull request #1476 from naturalcrit/InjectMustacheStyle
Inject mustache style
2021-07-28 23:58:58 -04:00
Trevor Buckner
e237cd8be4 Remove artificial spacing between mustache divs. 2021-07-28 23:55:56 -04:00
Trevor Buckner
8bd09e58cb Smartypants setting to show left and right quote marks. 2021-07-28 23:55:22 -04:00
Trevor Buckner
4e2a3cc5be Update image snippets to be pure markdown 2021-07-28 23:42:51 -04:00
Trevor Buckner
d9c83379fe Add "inject style" syntax, for use with images, headers, etc. 2021-07-28 23:26:12 -04:00
dependabot[bot]
0818a3485a Bump mongoose from 5.13.3 to 5.13.4
Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.13.3 to 5.13.4.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
- [Commits](https://github.com/Automattic/mongoose/compare/5.13.3...5.13.4)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-29 03:00:58 +00:00
G.Ambatte
7fa1e16b5a Create minimal Changelog brew 2021-07-28 17:51:35 +12:00
G.Ambatte
acb750c18a Fix logic for enabling Source and Get PDF 2021-07-28 17:15:38 +12:00
G.Ambatte
72d8b5ea16 Linter fixes; correction of condtional JSX element 2021-07-28 17:10:53 +12:00
Sean Robertson
6238ed6b77 Further simplification of code. 2021-07-28 16:04:28 +12:00
Sean Robertson
fa5bd92406 Shift check to presence of this.props.brew.shareId. Revert changes to Homebrew.jsx. 2021-07-28 15:37:36 +12:00
Sean Robertson
189fdb4555 Missed a vital comma. 2021-07-28 15:29:04 +12:00
Sean Robertson
caf151a0dd Initial code pass to not display "Source" and "Get PDF" NavBar buttons on the /changelog page. 2021-07-28 15:25:17 +12:00
Trevor Buckner
d35769dceb Merge pull request #1459 from G-Ambatte/sortUserBrews
Add options for ordering brews on User page
2021-07-27 18:12:32 -04:00
G.Ambatte
1031e8a55a Changed from Radios to Buttons 2021-07-27 23:14:05 +12:00
Trevor Buckner
a71dca1487 Merge pull request #1456 from G-Ambatte/cleanTemplate
Clean up template.js
2021-07-26 17:47:24 -04:00
G.Ambatte
b80a249cf7 Reduce code duplication in sorting radio options 2021-07-26 22:40:01 +12:00
G.Ambatte
54d0e2c483 Add Lodash deburr to sorting by title 2021-07-26 22:08:54 +12:00
G.Ambatte
c91e5784ac Change to Unicode characters for asc/desc arrows 2021-07-26 21:38:22 +12:00
G.Ambatte
48e80803f7 Ignore case when ordering by title ( a > B ) 2021-07-26 21:33:20 +12:00
G.Ambatte
495a68893d Initial pass at sorting User brews 2021-07-26 20:52:23 +12:00
G.Ambatte
41e1ed7bd1 Fix issue with undefined Style tab data 2021-07-26 10:29:31 +12:00