Merge branch 'feature/table_design' into 'develop'

Changed styles of inactive users in table

See merge request 2020-2021/online/s101/group-02/access_controller!63
This commit is contained in:
Кравченко Артем 2021-04-28 11:23:47 +00:00
commit 97ec66da2c

View File

@ -1,4 +1,6 @@
"use strict"; "use strict";
import React from "react";
import ReactDOM from "react-dom";
function head_checkbox() { function head_checkbox() {
let head_checkbox = document.getElementById("head-checkbox"); let head_checkbox = document.getElementById("head-checkbox");
@ -45,13 +47,19 @@ class ModelUserTableRows extends React.Component {
class ZendeskUserTableRow extends React.Component { class ZendeskUserTableRow extends React.Component {
render() { render() {
return ( return (
<tr className={"table-secondary"}> <tr className={"table-secondary text-secondary"}>
<td></td> <td></td>
<td> <td>
<a href="#">{this.props.user.name}</a> <a href="#" style={{ color: "grey", fontStyle: "italic" }}>
{this.props.user.name}
</a>
</td>
<td style={{ color: "grey", fontStyle: "italic" }}>
{this.props.user.email}
</td>
<td style={{ color: "grey", fontStyle: "italic" }}>
{this.props.user.zendesk_role}
</td> </td>
<td>{this.props.user.email}</td>
<td>{this.props.user.zendesk_role}</td>
</tr> </tr>
); );
} }