mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-22 18:31:29 +00:00
Removing refernces to ver from pages
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user