diff --git a/src/recordings.jsx b/src/recordings.jsx index a203457..a7622ed 100644 --- a/src/recordings.jsx +++ b/src/recordings.jsx @@ -198,60 +198,6 @@ class Datetimepicker extends React.Component { } } -/* - * A component representing a username input text field. - * TODO make as a select / drop-down with list of exisiting users. -*/ -class UserPicker extends React.Component { - constructor(props) { - super(props); - this.handleUsernameChange = this.handleUsernameChange.bind(this); - this.state = { - username: cockpit.location.options.username || "", - }; - } - - handleUsernameChange(e) { - const value = e.target.value; - this.setState({username: value}); - this.props.onUsernameChange(value); - } - - render() { - return ( -
| - - | -
- |
- - - | -
- |
- - - | -
- |
- - - | -
- |
- - - | -- - - | -
| + + | +
+ |
+ + + | +
+ |
+ + + | +
+
+
+
+ |
+ + + | +
+
+
+
+ |
+ + + | ++ + + | +