Alteração das cores dos botões do layout e de alguns icones para cor para laranja
							parent
							
								
									1d75ec1514
								
							
						
					
					
						commit
						4ef28e7326
					
				| 
						 | 
					@ -50,7 +50,7 @@ const FindOrCreateTicketService = async (
 | 
				
			||||||
          //[Op.between]: [+subHours(new Date(), 2), +new Date()]
 | 
					          //[Op.between]: [+subHours(new Date(), 2), +new Date()]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          // Tempo osioso para a ura responder  thuanny
 | 
					          // 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
 | 
					        contactId: contact.id
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -151,13 +151,15 @@ const verifyQueue = async (
 | 
				
			||||||
    return;
 | 
					    return;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  //const selectedOption = msg.body; 
 | 
					  console.log('queues.lengthqueues.lengthqueues.lengthqueues.lengthqueues.length: ',queues.length)
 | 
				
			||||||
  //const choosenQueue =  queues[+selectedOption - 1];   
 | 
					 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
   //apagar essa gambiarra e ativar as 2 linhas acima 
 | 
					  const selectedOption = msg.body; 
 | 
				
			||||||
  const selectedOption = 1; 
 | 
					 | 
				
			||||||
  const choosenQueue =  queues[+selectedOption - 1];   
 | 
					  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) {
 | 
					  if (choosenQueue) {
 | 
				
			||||||
    await UpdateTicketService({
 | 
					    await UpdateTicketService({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,11 +17,13 @@ const App = () => {
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "&::-webkit-scrollbar-thumb": {
 | 
					        "&::-webkit-scrollbar-thumb": {
 | 
				
			||||||
          boxShadow: "inset 0 0 6px rgba(0, 0, 0, 0.3)",
 | 
					          boxShadow: "inset 0 0 6px rgba(0, 0, 0, 0.3)",
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          backgroundColor: "#e8e8e8", 
 | 
					          backgroundColor: "#e8e8e8", 
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      palette: {
 | 
					      palette: {
 | 
				
			||||||
        primary: { main: "#2576d2" },
 | 
					        //primary: { main: "#2576d2" },
 | 
				
			||||||
 | 
					        primary: { main: "#ec5114" },
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    locale
 | 
					    locale
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.7 KiB  | 
| 
						 | 
					@ -2,6 +2,7 @@ import React from "react";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { makeStyles } from "@material-ui/core/styles";
 | 
					import { makeStyles } from "@material-ui/core/styles";
 | 
				
			||||||
import Container from "@material-ui/core/Container";
 | 
					import Container from "@material-ui/core/Container";
 | 
				
			||||||
 | 
					import { colors } from "@material-ui/core";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const useStyles = makeStyles((theme) => ({
 | 
					const useStyles = makeStyles((theme) => ({
 | 
				
			||||||
  mainContainer: {
 | 
					  mainContainer: {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,6 +25,8 @@ import { AuthContext } from "../context/Auth/AuthContext";
 | 
				
			||||||
import BackdropLoading from "../components/BackdropLoading";
 | 
					import BackdropLoading from "../components/BackdropLoading";
 | 
				
			||||||
import { i18n } from "../translate/i18n";
 | 
					import { i18n } from "../translate/i18n";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import MailLogo from '../assets/logo.jpg';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const drawerWidth = 240;
 | 
					const drawerWidth = 240;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const useStyles = makeStyles((theme) => ({
 | 
					const useStyles = makeStyles((theme) => ({
 | 
				
			||||||
| 
						 | 
					@ -217,7 +219,9 @@ const LoggedInLayout = ({ children }) => {
 | 
				
			||||||
            noWrap
 | 
					            noWrap
 | 
				
			||||||
            className={classes.title}
 | 
					            className={classes.title}
 | 
				
			||||||
          >
 | 
					          >
 | 
				
			||||||
            GrupoHit
 | 
					              
 | 
				
			||||||
 | 
					            GRUPO HIT
 | 
				
			||||||
 | 
					             
 | 
				
			||||||
          </Typography>
 | 
					          </Typography>
 | 
				
			||||||
          {user.id && <NotificationsPopOver />}
 | 
					          {user.id && <NotificationsPopOver />}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,7 +15,7 @@ import {
 | 
				
			||||||
  Link
 | 
					  Link
 | 
				
			||||||
} from '@material-ui/core';
 | 
					} 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 { makeStyles } from "@material-ui/core/styles";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -77,9 +77,12 @@ const Login = () => {
 | 
				
			||||||
    <Container component="main" maxWidth="xs">
 | 
					    <Container component="main" maxWidth="xs">
 | 
				
			||||||
      <CssBaseline />
 | 
					      <CssBaseline />
 | 
				
			||||||
      <div className={classes.paper}>  
 | 
					      <div className={classes.paper}>  
 | 
				
			||||||
        <Avatar className={classes.avatar}>
 | 
					        
 | 
				
			||||||
          <LockOutlined />
 | 
					        <Avatar className={classes.avatar} style={{ backgroundColor: "#ec5114" }}> 
 | 
				
			||||||
 | 
					          <PersonOutlineOutlined/>
 | 
				
			||||||
        </Avatar> 
 | 
					        </Avatar> 
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <Typography component="h1" variant="h5">
 | 
					        <Typography component="h1" variant="h5">
 | 
				
			||||||
          {i18n.t("login.title")}
 | 
					          {i18n.t("login.title")}
 | 
				
			||||||
        </Typography>
 | 
					        </Typography>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,7 +20,7 @@ import {
 | 
				
			||||||
	Link
 | 
						Link
 | 
				
			||||||
  } from '@material-ui/core';
 | 
					  } 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";
 | 
					import { makeStyles } from "@material-ui/core/styles";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -93,8 +93,8 @@ const SignUp = () => {
 | 
				
			||||||
		<Container component="main" maxWidth="xs">
 | 
							<Container component="main" maxWidth="xs">
 | 
				
			||||||
			<CssBaseline />
 | 
								<CssBaseline />
 | 
				
			||||||
			<div className={classes.paper}>
 | 
								<div className={classes.paper}>
 | 
				
			||||||
				<Avatar className={classes.avatar}>
 | 
									<Avatar className={classes.avatar} style={{ backgroundColor: "#ec5114" }}>
 | 
				
			||||||
					<LockOutlined />
 | 
										<PersonOutlineOutlined />
 | 
				
			||||||
				</Avatar>
 | 
									</Avatar>
 | 
				
			||||||
				<Typography component="h1" variant="h5">
 | 
									<Typography component="h1" variant="h5">
 | 
				
			||||||
					{i18n.t("signup.title")}
 | 
										{i18n.t("signup.title")}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue