mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-26 07:51:29 +00:00
Added account nav to newpage and added split table snippet
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# changelog
|
||||
|
||||
### Thursday, 01/12/2016
|
||||
- Added in a snippet for a split table
|
||||
- Added an account nav item to new page
|
||||
|
||||
|
||||
### Sunday, 27/11/2016 - v2.5.1
|
||||
- Fixed the column rendering on the new user page. Really should have tested that better
|
||||
- Added a hover tooltip to fully read the brew description
|
||||
|
||||
@@ -191,6 +191,34 @@ module.exports = [
|
||||
"</div>\n\n"
|
||||
].join('\n');
|
||||
},
|
||||
},
|
||||
{
|
||||
name : 'Split Table',
|
||||
icon : 'fa-th-large',
|
||||
gen : function(){
|
||||
return [
|
||||
"<div style='column-count:2'>",
|
||||
"| d10 | Damage Type |",
|
||||
"|:---:|:------------|",
|
||||
"| 1 | Acid |",
|
||||
"| 2 | Cold |",
|
||||
"| 3 | Fire |",
|
||||
"| 4 | Force |",
|
||||
"| 5 | Lightning |",
|
||||
"",
|
||||
"```",
|
||||
"```",
|
||||
"",
|
||||
"| d10 | Damage Type |",
|
||||
"|:---:|:------------|",
|
||||
"| 6 | Necrotic |",
|
||||
"| 7 | Poison |",
|
||||
"| 8 | Psychic |",
|
||||
"| 9 | Radiant |",
|
||||
"| 10 | Thunder |",
|
||||
"</div>\n\n",
|
||||
].join('\n');
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ const Markdown = require('naturalcrit/markdown.js');
|
||||
|
||||
const Nav = require('naturalcrit/nav/nav.jsx');
|
||||
const Navbar = require('../../navbar/navbar.jsx');
|
||||
const EditTitle = require('../../navbar/editTitle.navitem.jsx');
|
||||
const AccountNavItem = require('../../navbar/account.navitem.jsx');
|
||||
const IssueNavItem = require('../../navbar/issue.navitem.jsx');
|
||||
|
||||
const SplitPane = require('naturalcrit/splitPane/splitPane.jsx');
|
||||
@@ -133,6 +133,7 @@ const NewPage = React.createClass({
|
||||
{this.renderSaveButton()}
|
||||
{this.renderLocalPrintButton()}
|
||||
<IssueNavItem />
|
||||
<AccountNavItem />
|
||||
</Nav.section>
|
||||
</Navbar>
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user