1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-22 21:41:28 +00:00

Removing refernces to ver from pages

This commit is contained in:
Scott Tolksdorf
2016-11-14 23:09:26 -05:00
parent d400c37b6d
commit ccdb6a3cbd
4 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,10 @@
# changelog # changelog
### Monday, 14/11/2016
- Updated snippet bar style
- You can now print from a new page without saving
- Added the ability to use ctrl+p and ctrl+s to print and save respectively.
### Monday, 07/11/2016 ### Monday, 07/11/2016
- Added final touches to the html validator and updating the rest of the branch - Added final touches to the html validator and updating the rest of the branch
- If anyone finds issues with the new HTML validator, please let me know. I hope this will bring a more consistent feel to Homebrewery rendering. - If anyone finds issues with the new HTML validator, please let me know. I hope this will bring a more consistent feel to Homebrewery rendering.

View File

@@ -26,7 +26,6 @@ const SAVE_TIMEOUT = 3000;
var EditPage = React.createClass({ var EditPage = React.createClass({
getDefaultProps: function() { getDefaultProps: function() {
return { return {
ver : '0.0.0',
id : null, id : null,
brew : { brew : {
title : '', title : '',
@@ -193,7 +192,7 @@ var EditPage = React.createClass({
} }
}, },
renderNavbar : function(){ renderNavbar : function(){
return <Navbar ver={this.props.ver}> return <Navbar>
<Nav.section> <Nav.section>
<EditTitle title={this.state.title} onChange={this.handleTitleChange} /> <EditTitle title={this.state.title} onChange={this.handleTitleChange} />
</Nav.section> </Nav.section>

View File

@@ -115,7 +115,7 @@ const NewPage = React.createClass({
}, },
renderNavbar : function(){ renderNavbar : function(){
return <Navbar ver={this.props.ver}> return <Navbar>
<Nav.section> <Nav.section>
<EditTitle title={this.state.title} onChange={this.handleTitleChange} /> <EditTitle title={this.state.title} onChange={this.handleTitleChange} />
</Nav.section> </Nav.section>

View File

@@ -13,7 +13,6 @@ const BrewRenderer = require('../../brewRenderer/brewRenderer.jsx');
const SharePage = React.createClass({ const SharePage = React.createClass({
getDefaultProps: function() { getDefaultProps: function() {
return { return {
ver : '0.0.0',
brew : { brew : {
title : '', title : '',
text : '', text : '',
@@ -41,7 +40,7 @@ const SharePage = React.createClass({
render : function(){ render : function(){
return <div className='sharePage page'> return <div className='sharePage page'>
<Navbar ver={this.props.ver}> <Navbar>
<Nav.section> <Nav.section>
<Nav.item className='brewTitle'>{this.props.brew.title}</Nav.item> <Nav.item className='brewTitle'>{this.props.brew.title}</Nav.item>
</Nav.section> </Nav.section>