<commit_before>import * as React from "react";
import { Link } from "react-router";

const pathname = "/app/dashboard/designer";

export class Plants extends React.Component<any, any> {
  render() {
    return(
      <div className="panel-container green-panel">
        <div className="panel-header green-panel">
          <div className="main-nav-button">
            <button className="navbar-toggle hidden-sm hidden-md hidden-lg"
                    data-target="#navbar"
                    data-toggle="collapse"
                    type="button">
              <span className="glyphicon glyphicon-menu-hamburger" />
            </button>
          </div>
          <div className="panel-tabs">
            <ul>
              <li className="hidden-sm hidden-md hidden-lg">
                  <Link to={ { pathname, query: { p1: "NoTab" }} }>Designer</Link>
              </li>
              <li>
              <Link to={ { pathname, query: { p1: "Plants" }} } >
                Plants
              </Link>
              </li>
              <li>
                <Link to={ { pathname, query: { p1: "Groups" }} }>
                  Groups
                </Link>
              </li>
              <li>
              <Link to={ { pathname, query: { p1: "Zones" }} }>
                Zones
              </Link>
              </li>
              <li className="hidden-sm hidden-md hidden-lg">
                  <Link to={ {
                    pathname,
                    query: { p1: "Panel2" }} }>
                      Calendar
                  </Link>
              </li>
            </ul>
          </div>
        </div>
        <div className="panel-content">
          <i className="fa fa-search"></i>
          <input className="search" placeholder="Search"/>
          <div className="search-underline"></div>
          <div className="object-list">
            <label>Current Plants</label>
            <List plants={ this.props.designer.plants } />
          </div><commit_msg>Correct active CSS on plants tab.<commit_after>import * as React from "react";
import { Link } from "react-router";

const pathname = "/app/dashboard/designer";

export class Plants extends React.Component<any, any> {
  render() {
    return(
      <div className="panel-container green-panel">
        <div className="panel-header green-panel">
          <div className="main-nav-button">
            <button className="navbar-toggle hidden-sm hidden-md hidden-lg"
                    data-target="#navbar"
                    data-toggle="collapse"
                    type="button">
              <span className="glyphicon glyphicon-menu-hamburger" />
            </button>
          </div>
          <div className="panel-tabs">
            <ul>
              <li className="hidden-sm hidden-md hidden-lg">
                  <Link to={ { pathname, query: { p1: "NoTab" }} }>Designer</Link>
              </li>
              <li>
              <Link to={ { pathname, query: { p1: "Plants" }} }  className={"active"}>
                Plants
              </Link>
              </li>
              <li>
                <Link to={ { pathname, query: { p1: "Groups" }} }>
                  Groups
                </Link>
              </li>
              <li>
              <Link to={ { pathname, query: { p1: "Zones" }} }>
                Zones
              </Link>
              </li>
              <li className="hidden-sm hidden-md hidden-lg">
                  <Link to={ {
                    pathname,
                    query: { p1: "Panel2" }} }>
                      Calendar
                  </Link>
              </li>
            </ul>
          </div>
        </div>
        <div className="panel-content">
          <i className="fa fa-search"></i>
          <input className="search" placeholder="Search"/>
          <div className="search-underline"></div>
          <div className="object-list">
            <label>Current Plants</label>
            <List plants={ this.props.designer.plants } />
          </div>
{'fraction_non_alphanumeric': 0.14048150905931994, 'fraction_numerical': 0.0029784065524944155, 'mean_word_length': 1.302857142857143, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3219171', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1050, 'n_words': 245}