Skip to content

Commit

Permalink
add header to left-hand config options
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Chon committed Apr 21, 2015
1 parent 5845b59 commit 927177f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions css/table-twbs.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,9 @@
.ns-panel-default .ns-panel-body {
border: 0;
}

.modal-body .ns-primary-header {
font-weight: bold;
padding-bottom: 9px;
padding-left: 15px;
}
2 changes: 1 addition & 1 deletion example/table/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Fixtures.prototype.initConfig = function() {
var primaries = _.cloneDeep(this.taxonomyAll).map(this.buildBranch);

// configuration tree
this.config = { title: 'Primary Taxonomy', prop: 'root', children: primaries };
this.config = { title: 'Taxonomy', prop: 'root', children: primaries };
};

Fixtures.prototype.buildBranch = function(primary) {
Expand Down
3 changes: 3 additions & 0 deletions src/ConfigureTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ class ConfigureTable {
<div className="row">
<div className="col-xs-3">
<ul className="nav nav-tabs tabs-left">
<li>
<h5 className="ns-primary-header">{config.title}</h5>
</li>
{tabHeaders}
</ul>
</div>
Expand Down

0 comments on commit 927177f

Please sign in to comment.