import React, { Component } from "react";
import Router from "next/router";
import Link from "next/link";
import Select from "react-select";
import Datatable from "@/components/Tables/Datatable";
import Scrollable from "@/components/Common/Scrollable";
import ContentWrapper from "@/components/Layout/ContentWrapper";
import {
Row,
Col,
Card,
CardHeader,
CardBody,
CardTitle,
FormGroup,
FormFeedback,
FormText,
Label,
InputGroup,
InputGroupAddon,
InputGroupButtonDropdown,
InputGroupText,
Input,
Button,
DropdownToggle,
DropdownMenu,
CustomInput,
DropdownItem,
} from "reactstrap";
let Dropzone = null;
class DropzoneWrapper extends Component {
state = {
isClient: false,
};
componentDidMount = () => {
Dropzone = require("react-dropzone").default;
this.setState({ isClient: true });
};
render() {
return Dropzone ? {this.props.children} : null;
}
}
const styleHeaderText = {
color: "brown",
};
const selectInstanceId = 1;
class JawabanPencabutanSanksi extends Component {
constructor(props) {
super(props);
this.state = {
selectedOption: null,
files: [],
};
}
handleChangeSelect = (selectedOption) => {
this.setState({ selectedOption });
};
onDrop = (files) => {
this.setState({
files: files.map((file) =>
Object.assign(file, {
preview: URL.createObjectURL(file),
})
),
stat: "Added " + files.length + " file(s)",
});
};
uploadFiles = (e) => {
e.preventDefault();
e.stopPropagation();
this.setState({
stat: this.state.files.length ? "Dropzone ready to upload " + this.state.files.length + " file(s)" : "No files added.",
});
};
clearFiles = (e) => {
e.preventDefault();
e.stopPropagation();
this.setState({
stat: this.state.files.length ? this.state.files.length + " file(s) cleared." : "No files to clear.",
});
this.setState({
files: [],
});
};
render() {
const { files, selectedOption } = this.state;
console.log(this.state);
const thumbs = files.map((file, index) => (
));
return (
Universitas Satyagama
0742/O/1990
Jalan Kamal Raya No 2-A Cengkareng
Permohonan Pencabutan Sanksi
{/* Form pembuatan laporan baru v.0.1 */}
< back
{/*
Informasi Dokumen
*/}
Detail Laporan
Jawaban
{/* END card */}
Universitas Satyagama
0742/O/1990
www.satyagama.ac.id
Status Pelanggaran : Tidak Ada
Riwayat
{/* DataTables has most features enabled by default, so all you need to do to use it with your own tables is to call the construction function: $().DataTable();.
*/}
Tanggal
Status
Keterangan
Dokumen
23/01/2022
Rekomendasi Perbaikan
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos, maxime.
database.controller.js
23/01/2022
Rekomendasi Perbaikan
Lorem ipsum dolor sit amet consectetur adipisicing.
database.controller.js
23/01/2022
Rekomendasi Perbaikan
Lorem ipsum dolor sit.
database.controller.js
);
}
}
export default JawabanPencabutanSanksi;