1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-22 23:11:30 +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
### 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
- 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.

View File

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

View File

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

View File

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