Alteração das cores dos botões do layout e de alguns icones para cor para laranja

pull/1/head
adriano 2022-01-18 21:12:21 -03:00
parent 1d75ec1514
commit 4ef28e7326
8 changed files with 32 additions and 20 deletions

View File

@ -50,7 +50,7 @@ const FindOrCreateTicketService = async (
//[Op.between]: [+subHours(new Date(), 2), +new Date()]
// Tempo osioso para a ura responder thuanny
[Op.between]: [+subMinutes(new Date(), 4), +new Date()]
[Op.between]: [+subMinutes(new Date(), 30), +new Date()]
},
contactId: contact.id
},

View File

@ -150,14 +150,16 @@ const verifyQueue = async (
});
return;
}
//const selectedOption = msg.body;
//const choosenQueue = queues[+selectedOption - 1];
//apagar essa gambiarra e ativar as 2 linhas acima
const selectedOption = 1;
console.log('queues.lengthqueues.lengthqueues.lengthqueues.lengthqueues.length: ',queues.length)
const selectedOption = msg.body;
const choosenQueue = queues[+selectedOption - 1];
//apagar essa gambiarra e ativar as 2 linhas acima thuanny
//const selectedOption = 1;
//const choosenQueue = queues[+selectedOption - 1];
if (choosenQueue) {
await UpdateTicketService({

View File

@ -17,11 +17,13 @@ const App = () => {
},
"&::-webkit-scrollbar-thumb": {
boxShadow: "inset 0 0 6px rgba(0, 0, 0, 0.3)",
backgroundColor: "#e8e8e8",
backgroundColor: "#e8e8e8",
},
},
palette: {
primary: { main: "#2576d2" },
//primary: { main: "#2576d2" },
primary: { main: "#ec5114" },
},
},
locale

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -2,6 +2,7 @@ import React from "react";
import { makeStyles } from "@material-ui/core/styles";
import Container from "@material-ui/core/Container";
import { colors } from "@material-ui/core";
const useStyles = makeStyles((theme) => ({
mainContainer: {
@ -9,7 +10,7 @@ const useStyles = makeStyles((theme) => ({
// padding: theme.spacing(2),
// height: `calc(100% - 48px)`,
padding: 0,
height: "100%",
height: "100%",
},
contentWrapper: {

View File

@ -25,6 +25,8 @@ import { AuthContext } from "../context/Auth/AuthContext";
import BackdropLoading from "../components/BackdropLoading";
import { i18n } from "../translate/i18n";
import MailLogo from '../assets/logo.jpg';
const drawerWidth = 240;
const useStyles = makeStyles((theme) => ({
@ -217,7 +219,9 @@ const LoggedInLayout = ({ children }) => {
noWrap
className={classes.title}
>
GrupoHit
GRUPO HIT
</Typography>
{user.id && <NotificationsPopOver />}

View File

@ -15,8 +15,8 @@ import {
Link
} from '@material-ui/core';
import { LockOutlined, Visibility, VisibilityOff } from '@material-ui/icons';
import { /*LockOutlined,*/ PersonOutlineOutlined, Visibility, VisibilityOff } from '@material-ui/icons';
import { makeStyles } from "@material-ui/core/styles";
import { i18n } from "../../translate/i18n";
@ -76,10 +76,13 @@ const Login = () => {
return (
<Container component="main" maxWidth="xs">
<CssBaseline />
<div className={classes.paper}>
<Avatar className={classes.avatar}>
<LockOutlined />
</Avatar>
<div className={classes.paper}>
<Avatar className={classes.avatar} style={{ backgroundColor: "#ec5114" }}>
<PersonOutlineOutlined/>
</Avatar>
<Typography component="h1" variant="h5">
{i18n.t("login.title")}
</Typography>

View File

@ -20,7 +20,7 @@ import {
Link
} from '@material-ui/core';
import { LockOutlined, Visibility, VisibilityOff } from '@material-ui/icons';
import { PersonOutlineOutlined, Visibility, VisibilityOff } from '@material-ui/icons';
import { makeStyles } from "@material-ui/core/styles";
@ -93,8 +93,8 @@ const SignUp = () => {
<Container component="main" maxWidth="xs">
<CssBaseline />
<div className={classes.paper}>
<Avatar className={classes.avatar}>
<LockOutlined />
<Avatar className={classes.avatar} style={{ backgroundColor: "#ec5114" }}>
<PersonOutlineOutlined />
</Avatar>
<Typography component="h1" variant="h5">
{i18n.t("signup.title")}