Skip to content

Commit

Permalink
Add styling for store status table
Browse files Browse the repository at this point in the history
  • Loading branch information
marc committed May 24, 2018
1 parent 77b4a4c commit 7b28af4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default class EncryptionStatus extends React.Component<EncryptionStatusPr
const { store } = this.props;
const rawStatus = store.encryption_status;

console.log("Attempting protobuf decode");
try {
const decodedStatus = protos.cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.decode(rawStatus);
return this.renderSimpleRow("Encryption Status", JSON.stringify(decodedStatus.toJSON(), null, 2));
Expand Down
2 changes: 2 additions & 0 deletions pkg/ui/src/views/reports/containers/stores/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { AdminUIState } from "src/redux/state";
import { nodeIDAttr } from "src/util/constants";
import EncryptionStatus from "src/views/reports/containers/stores/encryption";

import "./stores.styl";

interface StoresOwnProps {
stores: protos.cockroach.server.serverpb.StoresResponse;
lastError: Error;
Expand Down
8 changes: 8 additions & 0 deletions pkg/ui/src/views/reports/containers/stores/stores.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@require '~src/views/shared/util/table.styl'

.stores-table
@extend $table-base
tbody
tr
th
width 20px

0 comments on commit 7b28af4

Please sign in to comment.