diff --git a/shared/homebrewery/brewEditor/brewEditor.jsx b/shared/homebrewery/brewEditor/brewEditor.jsx
index ab8a81a..6d142b1 100644
--- a/shared/homebrewery/brewEditor/brewEditor.jsx
+++ b/shared/homebrewery/brewEditor/brewEditor.jsx
@@ -3,9 +3,7 @@ const _ = require('lodash');
const cx = require('classnames');
const CodeEditor = require('naturalcrit/codeEditor/codeEditor.jsx');
-const SnippetBar = require('./snippetbar/snippetbar.jsx');
const MetadataEditor = require('./metadataEditor/metadataEditor.jsx');
-
const Menubar = require('./menubar/menubar.jsx');
const splice = function(str, index, inject){
@@ -152,13 +150,6 @@ const BrewEditor = React.createClass({
render : function(){
this.highlightPageLines();
return
- {/*
-
- */}
{},
};
},
+
+ //TODO: remove
+ renderDevGroup : function(){
+ const Snippets = require('homebrewery/snippets/brew');
+
+ const snippets = _.map(Snippets, (gen, name)=>{
+ return {
+ name,
+ gen,
+ icon : 'fa-question'
+ }
+ })
+
+ return
+ },
+
renderSnippets : function(){
if(this.props.view == 'meta') return ;
@@ -21,10 +43,12 @@ const Menubar = React.createClass({
if(this.props.view == 'code') mapping = SnippetMap.brew;
if(this.props.view == 'style') mapping = SnippetMap.style;
- const groups = _.map(mapping, (group)=>{
+ let groups = _.map(mapping, (group)=>{
return
});
+ groups = groups.concat(this.renderDevGroup());
+
return {groups}
},
render: function(){
diff --git a/shared/homebrewery/phb_style/phb.blocks.less b/shared/homebrewery/phb_style/phb.blocks.less
new file mode 100644
index 0000000..58bf366
--- /dev/null
+++ b/shared/homebrewery/phb_style/phb.blocks.less
@@ -0,0 +1,44 @@
+
+.spell{
+ ul:first-of-type{
+ margin-top : -0.5em;
+ margin-bottom : 0.5em;
+ padding-left : 1em;
+ text-indent : -1em;
+ list-style-type : none;
+ &+p{
+ text-indent : 0em;
+ }
+ }
+}
+
+.monster{
+
+}
+
+
+
+
+.frame{
+ background-color : white;
+ border : initial;
+ border-style : solid;
+ border-image-outset : 25px 17px;
+ border-image-repeat : round;
+ border-image-slice : 150 200 150 200;
+ border-image-source : @frameBorder;
+ border-image-width : 47px;
+ margin-top : 30px;
+ margin-bottom : 37px;
+ box-sizing: border-box;
+}
+
+.wide{
+ column-span : all;
+ -webkit-column-span : all;
+ -moz-column-span : all;
+}
+
+.2column, .2col{
+
+}
\ No newline at end of file
diff --git a/shared/homebrewery/phb_style/phb.less b/shared/homebrewery/phb_style/phb.less
index 00c5515..1ab216b 100644
--- a/shared/homebrewery/phb_style/phb.less
+++ b/shared/homebrewery/phb_style/phb.less
@@ -12,6 +12,7 @@
@import './phb.fonts.less';
@import './phb.colors.less';
@import './phb.img.less';
+ @import './phb.blocks.less';
@page { margin: 0; }
@@ -387,11 +388,12 @@
//*****************************
// * WIDE
// *****************************/
+ /*
.wide{
column-span : all;
-webkit-column-span : all;
-moz-column-span : all;
- }
+ }*/
//*****************************
// * CLASS TABLE
// *****************************/
diff --git a/shared/homebrewery/snippets/brew/classTable.snippet.js b/shared/homebrewery/snippets/brew/classTable.snippet.js
new file mode 100644
index 0000000..e1f9c63
--- /dev/null
+++ b/shared/homebrewery/snippets/brew/classTable.snippet.js
@@ -0,0 +1,2 @@
+const _ = require('lodash');
+const Data = require('./random.data.js');
\ No newline at end of file