message: frontend: Eliminate some DOM repetition for events
diff: @@ -90,15 +90,8 @@ export class EventStreamPage extends React.Component {
  </div>
  </div>
  </div>
  -
  - <div className="co-m-pane__body">
  - <div className="row">
  - <div className="col-xs-12"><p></p>
  <EventStream {...this.props} category={category} kind={kind} />
  </div>
  - </div>
  - </div>
  - </div>
  </div>;
  }
  }
  @@ -280,7 +273,9 @@ class EventStream_ extends SafetyFirst {
  });
  const messageCount = count < maxMessages ? `Showing ${pluralize(count, 'event')}` : `Showing ${count} of ${allCount}+ events`;
  - return (
  + return <div className="co-m-pane__body">
  + <div className="row">
  + <div className="col-xs-12"><p></p>
  <div className="co-sysevent-stream">
  <div className="co-sysevent-stream__totals">
  { messageCount }
  @@ -305,7 +300,9 @@ class EventStream_ extends SafetyFirst {
  { sysEventStatus }
  </div>
  - );
  + </div>
  + </div>
  + </div>;
  }
  });
  @@ -314,32 +311,24 @@ EventStream.defaultProps = {
  category: 'all',
  };
  -const {details, editYaml, pods, logs, events} = navFactory;
  -
  const EventStreamResource = (props) => {
  const name = props.params.name;
  const filter = {name};
  - return <div className="co-p-node-sysevents">
  + return <div>
  <Helmet title={`${kindObj(props.kind).label} Events`} />
  - <NavTitle title={name} kind={props.kind} detail="true" />
  + <NavTitle detail={true} title={name} kind={props.kind} />
  <div className="co-m-pane co-m-vert-nav">
  <NavBar pages={props.pages} />
  <div className="co-m-vert-nav__body">
  - <div className="co-m-vert-nav__body">
  - <div className="co-m-pane__body">
  - <div className="row">
  - <div className="col-xs-12"><p></p>
  <EventStream {...props} filter={filter} />
  </div>
  </div>
  - </div>
  - </div>
  - </div>
  - </div>
  </div>;
  };
  +const {details, editYaml, pods, logs, events} = navFactory;
  +
  export const EventStreamPod = (props) => <EventStreamResource
  kind="pod"
  pages={[details(), editYaml(), logs(), events()]}
  