[fix]
This commit is contained in:
@@ -29,7 +29,7 @@ class RegisterUsersFromExcelView(APIView):
|
|||||||
)
|
)
|
||||||
|
|
||||||
excel_file = request.FILES.get("excel_file")
|
excel_file = request.FILES.get("excel_file")
|
||||||
if not excel_file:
|
if excel_file is None:
|
||||||
return Response(
|
return Response(
|
||||||
{"error": "No Excel file provided"},
|
{"error": "No Excel file provided"},
|
||||||
status=status.HTTP_400_BAD_REQUEST,
|
status=status.HTTP_400_BAD_REQUEST,
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import { Button } from "./ui/button";
|
|
||||||
import { buttonVariants } from "./ui/button";
|
import { buttonVariants } from "./ui/button";
|
||||||
|
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
CardHeader,
|
CardHeader,
|
||||||
CardTitle,
|
CardTitle,
|
||||||
} from "../components/ui/card";
|
} from "../components/ui/card";
|
||||||
import { Facebook, Instagram, Linkedin, Github } from "lucide-react";
|
import { Github } from "lucide-react";
|
||||||
|
|
||||||
interface TeamProps {
|
interface TeamProps {
|
||||||
imageUrl: string;
|
imageUrl: string;
|
||||||
@@ -25,7 +25,7 @@ const teamList: TeamProps[] = [
|
|||||||
{
|
{
|
||||||
imageUrl: "https://raw.githubusercontent.com/devitq/devitq/main/logo.png",
|
imageUrl: "https://raw.githubusercontent.com/devitq/devitq/main/logo.png",
|
||||||
name: "ITQ",
|
name: "ITQ",
|
||||||
position: "Backend & Frontend Developer",
|
position: "Backend & Frontend Developer & Dev OPS",
|
||||||
socialNetworks: [
|
socialNetworks: [
|
||||||
{ name: "GitHub", url: "https://github.com/devitq" },
|
{ name: "GitHub", url: "https://github.com/devitq" },
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -17,12 +17,12 @@ const Main = () => {
|
|||||||
<div className={less["general-left"]}>
|
<div className={less["general-left"]}>
|
||||||
<form className={less["input-form"]} onSubmit={(event) => submitRegister(event, navigate)}>
|
<form className={less["input-form"]} onSubmit={(event) => submitRegister(event, navigate)}>
|
||||||
<h1 className={less["title-form"]}>{t("entrance")}</h1>
|
<h1 className={less["title-form"]}>{t("entrance")}</h1>
|
||||||
<Input type="text" name="first_name" placeholder="First name" />
|
<Input type="text" name="first_name" placeholder="First name" className="mb-4" />
|
||||||
<Input type="text" name="last_name" placeholder="Last name" />
|
<Input type="text" name="last_name" placeholder="Last name" className="mb-4" />
|
||||||
<Input type="date" name="birth_date" placeholder="Date" />
|
<Input type="date" name="birth_date" placeholder="Date" className="mb-4" />
|
||||||
<Input type="email" name="email" placeholder="Email" />
|
<Input type="email" name="email" placeholder="Email" className="mb-4" />
|
||||||
|
|
||||||
<Textarea name="about" placeholder="About" />
|
<Textarea name="about" placeholder="About" className="mb-4" />
|
||||||
|
|
||||||
<Button>{t("buttonLoginInSystem")}</Button>
|
<Button>{t("buttonLoginInSystem")}</Button>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user