Sha256: c68a6d55e498ea70bf9b60430a883bb20b4658e98f4368a8ef2f39394c2c6ac5

Contents?: true

Size: 799 Bytes

Versions: 2

Compression:

Stored size: 799 Bytes

Contents

/** @jsx React.DOM */

(function(conjur, React) {
    'use strict';

    var GenericList = conjur.views.GenericList;

    var HostBox = this.HostBox = React.createClass({
        /*getInitialState: function() {
         return { currentNamespace: "", members: [] };
         },*/
        render: function() {
            //<NamespaceFilter currentNamespace={this.props.currentNamespace}
            //namespaces={this.props.data.namespaces} />
            return (
              <div className="hostBox">
                <div className="hostList">
                  <h2>Hosts</h2>
                  <GenericList data={{kind: 'hosts', members: this.props.data.members}} />
                </div>
              </div>
            );
        }
    });

}).bind(conjur.views)
(
    conjur,
    React
);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conjur-asset-ui-1.3.2 public/js/views/hosts.js
conjur-asset-ui-1.3.0 public/js/views/hosts.js