Skip to content
Snippets Groups Projects
Commit 1690f55f authored by vkovtun's avatar vkovtun
Browse files

SSDM-13579: Changed double quotes to single quotes.

parent cf1ed892
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -25,9 +25,9 @@ import logger from '@src/js/common/logger.js' ...@@ -25,9 +25,9 @@ import logger from '@src/js/common/logger.js'
const styles = theme => ({ const styles = theme => ({
container: { container: {
fontFamily: theme.typography.fontFamily, fontFamily: theme.typography.fontFamily,
display: "grid", display: 'grid',
gridTemplateColumns: "repeat(auto-fill, minmax(8rem, 1fr))", gridTemplateColumns: 'repeat(auto-fill, minmax(8rem, 1fr))',
gridGap: "0.5rem" gridGap: '0.5rem'
} }
}); });
......
...@@ -21,7 +21,7 @@ import Grid from '@material-ui/core/Grid' ...@@ -21,7 +21,7 @@ import Grid from '@material-ui/core/Grid'
import Card from '@material-ui/core/Card' import Card from '@material-ui/core/Card'
import { CardContent, CardMedia } from '@material-ui/core' import { CardContent, CardMedia } from '@material-ui/core'
import ItemIcon from '@src/js/components/database/data-browser/ItemIcon.jsx' import ItemIcon from '@src/js/components/database/data-browser/ItemIcon.jsx'
import autoBind from "auto-bind"; import autoBind from 'auto-bind';
const styles = (theme) => ({ const styles = (theme) => ({
cell: { cell: {
......
...@@ -23,8 +23,8 @@ import Table from '@material-ui/core/Table' ...@@ -23,8 +23,8 @@ import Table from '@material-ui/core/Table'
import TableBody from '@material-ui/core/TableBody' import TableBody from '@material-ui/core/TableBody'
import TableCell from '@material-ui/core/TableCell' import TableCell from '@material-ui/core/TableCell'
import TableRow from '@material-ui/core/TableRow' import TableRow from '@material-ui/core/TableRow'
import Header from "@src/js/components/common/form/Header.jsx"; import Header from '@src/js/components/common/form/Header.jsx';
import ItemIcon from "@src/js/components/database/data-browser/ItemIcon.jsx"; import ItemIcon from '@src/js/components/database/data-browser/ItemIcon.jsx';
import { withStyles } from "@material-ui/core/styles"; import { withStyles } from "@material-ui/core/styles";
const styles = () => ({ const styles = () => ({
...@@ -47,6 +47,7 @@ class InfoPanel extends React.Component { ...@@ -47,6 +47,7 @@ class InfoPanel extends React.Component {
configuration configuration
} = this.props } = this.props
// TODO: extract strings to messages
return (file && return (file &&
<Container> <Container>
<Header size='big'>{file.name}</Header> <Header size='big'>{file.name}</Header>
...@@ -54,19 +55,19 @@ class InfoPanel extends React.Component { ...@@ -54,19 +55,19 @@ class InfoPanel extends React.Component {
<Table> <Table>
<TableBody> <TableBody>
<TableRow> <TableRow>
<TableCell variant='head'>Size</TableCell> <TableCell variant='head' component='th'>Size</TableCell>
<TableCell>{file.size}</TableCell> <TableCell>{file.size}</TableCell>
</TableRow> </TableRow>
<TableRow> <TableRow>
<TableCell variant='head'>Created</TableCell> <TableCell variant='head' component='th'>Created</TableCell>
<TableCell>{file.creationTime.toLocaleString()}</TableCell> <TableCell>{file.creationTime.toLocaleString()}</TableCell>
</TableRow> </TableRow>
<TableRow> <TableRow>
<TableCell variant='head'>Modified</TableCell> <TableCell variant='head' component='th'>Modified</TableCell>
<TableCell>{file.lastModifiedTime.toLocaleString()}</TableCell> <TableCell>{file.lastModifiedTime.toLocaleString()}</TableCell>
</TableRow> </TableRow>
<TableRow> <TableRow>
<TableCell variant='head'>Accessed</TableCell> <TableCell variant='head' component='th'>Accessed</TableCell>
<TableCell>{file.lastAccessTime.toLocaleString()}</TableCell> <TableCell>{file.lastAccessTime.toLocaleString()}</TableCell>
</TableRow> </TableRow>
</TableBody> </TableBody>
......
...@@ -26,8 +26,8 @@ import SettingsIcon from '@material-ui/icons/Settings' ...@@ -26,8 +26,8 @@ import SettingsIcon from '@material-ui/icons/Settings'
import SearchIcon from '@material-ui/icons/Search' import SearchIcon from '@material-ui/icons/Search'
import InfoIcon from '@material-ui/icons/InfoOutlined' import InfoIcon from '@material-ui/icons/InfoOutlined'
import CreateNewFolderIcon from '@material-ui/icons/CreateNewFolderOutlined' import CreateNewFolderIcon from '@material-ui/icons/CreateNewFolderOutlined'
import autoBind from "auto-bind"; import autoBind from 'auto-bind'
import { ToggleButton } from "@material-ui/lab"; import { ToggleButton } from '@material-ui/lab'
const styles = () => ({}) const styles = () => ({})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment