mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 11:32:39 +00:00
Adding version number to the navbar, probably will remove
This commit is contained in:
@@ -60,6 +60,13 @@ var HomePage = React.createClass({
|
|||||||
return(
|
return(
|
||||||
<div className='homePage page'>
|
<div className='homePage page'>
|
||||||
<Navbar>
|
<Navbar>
|
||||||
|
<Nav.item
|
||||||
|
newTab={true}
|
||||||
|
href='https://github.com/stolksdorf/naturalcrit/issues'
|
||||||
|
color='red'
|
||||||
|
icon='fa-bug'>
|
||||||
|
issue?
|
||||||
|
</Nav.item>
|
||||||
<Nav.item
|
<Nav.item
|
||||||
href='/homebrew/changelog'
|
href='/homebrew/changelog'
|
||||||
color='purple'
|
color='purple'
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ var Navbar = React.createClass({
|
|||||||
<Nav.item href='/homebrew' className='homebrewLogo'>
|
<Nav.item href='/homebrew' className='homebrewLogo'>
|
||||||
<div>The Homebrewery</div>
|
<div>The Homebrewery</div>
|
||||||
</Nav.item>
|
</Nav.item>
|
||||||
|
<Nav.item>v1.5.0</Nav.item>
|
||||||
</Nav.section>
|
</Nav.section>
|
||||||
|
|
||||||
<Nav.section>
|
<Nav.section>
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ var Nav = {
|
|||||||
return {
|
return {
|
||||||
icon : null,
|
icon : null,
|
||||||
href : null,
|
href : null,
|
||||||
|
newTab : false,
|
||||||
onClick : function(){},
|
onClick : function(){},
|
||||||
color : null
|
color : null
|
||||||
};
|
};
|
||||||
@@ -72,7 +73,7 @@ var Nav = {
|
|||||||
if(this.props.icon) icon = <i className={'fa ' + this.props.icon} />;
|
if(this.props.icon) icon = <i className={'fa ' + this.props.icon} />;
|
||||||
|
|
||||||
if(this.props.href){
|
if(this.props.href){
|
||||||
return <a href={this.props.href} className={classes} >
|
return <a href={this.props.href} className={classes} target={this.props.newTab ? '_blank' : '_self'}>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
{icon}
|
{icon}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
3
todo.md
3
todo.md
@@ -5,6 +5,7 @@ X Make statusbar un-fixed
|
|||||||
X Simplify the panel css to remove the current issues
|
X Simplify the panel css to remove the current issues
|
||||||
- Build new `BrewRenderer`, clean support for partial rendering
|
- Build new `BrewRenderer`, clean support for partial rendering
|
||||||
- Add `infoBox` to BrewRenderer to show views, and current pages
|
- Add `infoBox` to BrewRenderer to show views, and current pages
|
||||||
|
- remove old status bar
|
||||||
- Add in markdown editor
|
- Add in markdown editor
|
||||||
- Add bleed snippet (bump)
|
- Add bleed snippet (bump)
|
||||||
- Add the '/new' page and force save to reduce database size
|
- Add the '/new' page and force save to reduce database size
|
||||||
@@ -14,6 +15,8 @@ X Test the old/small brew filtering for deleteion
|
|||||||
- Partial rendering kills style tags on unrendered pages. Detect if pages have style tags and render them.
|
- Partial rendering kills style tags on unrendered pages. Detect if pages have style tags and render them.
|
||||||
- Add in the link of Pateron?
|
- Add in the link of Pateron?
|
||||||
|
|
||||||
|
- Add in a tutorial page?
|
||||||
|
|
||||||
## v1.6
|
## v1.6
|
||||||
- Add error handling to the saving wdiget in the status bar
|
- Add error handling to the saving wdiget in the status bar
|
||||||
- Should provide error dump to copy and a link to github issues page
|
- Should provide error dump to copy and a link to github issues page
|
||||||
|
|||||||
Reference in New Issue
Block a user