mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-25 16:31:28 +00:00
Added account nav to newpage and added split table snippet
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
# changelog
|
# 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
|
### Sunday, 27/11/2016 - v2.5.1
|
||||||
- Fixed the column rendering on the new user page. Really should have tested that better
|
- 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
|
- Added a hover tooltip to fully read the brew description
|
||||||
|
|||||||
@@ -191,6 +191,34 @@ module.exports = [
|
|||||||
"</div>\n\n"
|
"</div>\n\n"
|
||||||
].join('\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 Nav = require('naturalcrit/nav/nav.jsx');
|
||||||
const Navbar = require('../../navbar/navbar.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 IssueNavItem = require('../../navbar/issue.navitem.jsx');
|
||||||
|
|
||||||
const SplitPane = require('naturalcrit/splitPane/splitPane.jsx');
|
const SplitPane = require('naturalcrit/splitPane/splitPane.jsx');
|
||||||
@@ -133,6 +133,7 @@ const NewPage = React.createClass({
|
|||||||
{this.renderSaveButton()}
|
{this.renderSaveButton()}
|
||||||
{this.renderLocalPrintButton()}
|
{this.renderLocalPrintButton()}
|
||||||
<IssueNavItem />
|
<IssueNavItem />
|
||||||
|
<AccountNavItem />
|
||||||
</Nav.section>
|
</Nav.section>
|
||||||
</Navbar>
|
</Navbar>
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user