Browse Source

commit dulu

yazid138 3 years ago
parent
commit
04ec7dfd1d

+ 2 - 2
pages/app/pemeriksaan/new.js

@@ -372,7 +372,7 @@ class FormStandard extends Component {
 						<Col>
 							<Card className="card-default">
 								<CardHeader>
-									<CardTitle>History Evaluasi</CardTitle>
+									<CardTitle>Riwayat Evaluasi</CardTitle>
 									{/* <div className="text-sm">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();.</div> */}
 								</CardHeader>
 								<CardBody>
@@ -380,7 +380,7 @@ class FormStandard extends Component {
 										<table className="table table-striped my-4 w-100">
 											<thead>
 												<tr>
-													<th>Dibuat Pada</th>
+													<th>Tanggal</th>
 													<th>Judul Dokumen</th>
 													<th>File Pendukung</th>
 												</tr>

+ 404 - 0
pages/app/pt/jawaban-keberatan/detail.js

@@ -0,0 +1,404 @@
+import React, { Component } from "react";
+import Router from "next/router";
+import ContentWrapper from "@/components/Layout/ContentWrapper";
+import Datetime from "react-datetime";
+import moment from "moment";
+import Scrollable from "@/components/Common/Scrollable";
+import Datatable from "@/components/Tables/Datatable";
+import Link from "next/link";
+import {
+	Row,
+	Col,
+	Card,
+	CardHeader,
+	CardBody,
+	CardTitle,
+	FormGroup,
+	FormFeedback,
+	FormText,
+	Label,
+	InputGroup,
+	InputGroupAddon,
+	InputGroupButtonDropdown,
+	InputGroupText,
+	Input,
+	Button,
+	DropdownToggle,
+	DropdownMenu,
+	CustomInput,
+	DropdownItem,
+	Modal,
+	ModalHeader,
+	ModalBody,
+	ModalFooter,
+} 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 ? <Dropzone {...this.props}>{this.props.children}</Dropzone> : null;
+	}
+}
+
+const styleHeaderText = {
+	color: "brown",
+};
+
+const selectInstanceId = 1;
+
+class FormStandard extends Component {
+	state = {
+		dropdownOpen: false,
+		modal: false,
+		modal1: false,
+		splitButtonOpen: false,
+		keteranganLaporan: "",
+		tanggal: moment().format("D MMMM YYYY"),
+		files: [],
+	};
+
+	static getInitialProps({ query }) {
+		return { query };
+	}
+
+	setKeteranganPelaporan = (e) => {
+		this.setState({ keteranganLaporan: e.target.value });
+	};
+
+	setTanggal = (moment) => {
+		this.setState({ tanggal: moment.format("D MMMM YYYY") });
+	};
+
+	toggleDropDown = () => {
+		this.setState({
+			dropdownOpen: !this.state.dropdownOpen,
+		});
+	};
+
+	toggleSplit = () => {
+		this.setState({
+			splitButtonOpen: !this.state.splitButtonOpen,
+		});
+	};
+
+	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: [],
+		});
+	};
+
+	onSubmit = async (e) => {
+		e.preventDefault();
+		const { number, ptId } = this.props.query;
+		const formdata = new FormData();
+		formdata.append("description", this.state.keteranganLaporan);
+		formdata.append("date", this.state.tanggal);
+		if (this.state.files.length > 0) {
+			this.state.files.forEach((e) => {
+				formdata.append("files", e);
+			});
+		}
+
+		const inserted = await insertPemeriksaan({ number, ptId }, formdata);
+		if (inserted) {
+			Router.push({
+				pathname: "/app/pemeriksaan",
+			});
+		}
+	};
+
+	toggleModal = () => {
+		this.setState({
+			modal: !this.state.modal,
+		});
+	};
+
+	toggleModal1 = () => {
+		this.setState({
+			modal: false,
+		});
+		this.setState({
+			modal1: !this.state.modal1,
+		});
+	};
+
+	handleSimpan = () => {
+		this.setState({
+			modal1: !this.state.modal1,
+		});
+	};
+
+	handleYaClick = (e) => {
+		console.log("ya");
+	};
+
+	render() {
+		const { files } = this.state;
+
+		const thumbs = files.map((file, index) => (
+			<Col md={3} key={index}>
+				<img className="img-fluid mb-2" src={file.preview} alt="Item" />
+			</Col>
+		));
+		return (
+			<ContentWrapper unwrap>
+				<div className="bg-cover" style={{ backgroundImage: "url(/static/img/profile-bg.png)" }}>
+					<div className="p-4 text-center" style={styleHeaderText}>
+						<img className="img-thumbnail rounded-circle thumb128" src="/static/img/univ-avatar.png" alt="Avatar" />
+						<h3 className="m-0">Universitas Satyagama</h3>
+						<p>0742/O/1990</p>
+						<p>Jalan Kamal Raya No 2-A Cengkareng</p>
+					</div>
+				</div>
+				<div className="p-3">
+					<div className="content-heading">
+						<div>Jawaban Atas Permohonan Keberatan</div>
+						<div className="ml-auto">
+							<Link href="/app/pemeriksaan">
+								<button className="btn btn-sm btn-secondary text-sm">&lt; back</button>
+							</Link>
+						</div>
+					</div>
+					<Row>
+						<Col xl="9">
+							<Card className="card-default">
+								<CardBody>
+									<Row>
+										<Col lg={12}>
+											<p className="lead bb">Detail Laporan</p>
+											<form className="form-horizontal">
+												<FormGroup row>
+													<Col md="4">Nomor Laporan:</Col>
+													<Col md="8">
+														<strong>987654</strong>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Nama Perguruan Tinggi:</Col>
+													<Col md="8">
+														<strong>Universitas Satyagama</strong>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Jenis Pelanggaran:</Col>
+													<Col md="8">
+														<Scrollable height="75px" className="list-group">
+															<ul>
+																<li>Lorem ipsum dolor sit amet.</li>
+																<li>Lorem, ipsum dolor.</li>
+																<li>Lorem ipsum dolor sit.</li>
+															</ul>
+														</Scrollable>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Keterangan Laporan:</Col>
+													<Col md="8">
+														<Scrollable height="100px" className="list-group">
+															<p>
+																Lorem ipsum dolor sit, amet consectetur adipisicing elit. Amet dicta placeat enim illo aspernatur adipisci neque repellendus itaque blanditiis fugit. Quam obcaecati sed
+																perferendis facere.
+															</p>
+														</Scrollable>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Dibuat Pada:</Col>
+													<Col md="8">
+														<strong>23 Januari 2022</strong>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Status</Col>
+													<Col md="8">
+														<div className="badge badge-info">Ditindaklanjuti</div>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">File Pendukung</Col>
+													<Col md="8">
+														<Scrollable height="120px" className="list-group">
+															<table className="table table-bordered bg-transparent">
+																<tbody>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-code"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				database.controller.js
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-image"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				baground-lg.png
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-code"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				picture.controller.js
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-word"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				applicat-diagrams.docx
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-code"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				database.controller.js
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-code"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				database.controller.js
+																			</a>
+																		</td>
+																	</tr>
+																</tbody>
+															</table>
+														</Scrollable>
+													</Col>
+												</FormGroup>
+												<Button color="primary" onClick={this.toggleModal}>
+													Banding
+												</Button>
+												<Modal isOpen={this.state.modal} toggle={this.toggleModal}>
+													{/* <ModalHeader toggle={this.toggleModal}>Banding</ModalHeader> */}
+													<ModalBody>Apakah anda akan mengajukan banding?</ModalBody>
+													<ModalFooter>
+														<Button color="primary" onClick={this.toggleModal1}>
+															Ya
+														</Button>{" "}
+														<Button color="secondary" onClick={this.toggleModal}>
+															Tidak
+														</Button>
+													</ModalFooter>
+												</Modal>
+												<Modal isOpen={this.state.modal1} toggle={this.toggleModal1}>
+													<ModalHeader toggle={this.toggleModal1}>Upload Dokumen Banding</ModalHeader>
+													<ModalBody>
+														<form className="form-horizontal" method="get" action="/" onSubmit={this.onSubmit}>
+															<FormGroup>
+																<label>Dokumen Banding</label>
+																<div>
+																	<DropzoneWrapper className="" onDrop={this.onDrop}>
+																		{({ getRootProps, getInputProps, isDragActive }) => {
+																			return (
+																				<div {...getRootProps()} className={"dropzone card p-3 " + (isDragActive ? "dropzone-drag-active" : "")}>
+																					<input {...getInputProps()} />
+																					<div className="dropzone-previews flex">
+																						{this.state.files.length > 0 ? <Row>{thumbs}</Row> : <div className="text-center dz-default dz-message">Drop files here to upload</div>}
+																					</div>
+																					<div className="d-flex align-items-center">
+																						<small className="ml-auto">
+																							<button type="button" className="btn btn-link" onClick={this.clearFiles}>
+																								Clear files
+																							</button>
+																						</small>
+																					</div>
+																				</div>
+																			);
+																		}}
+																	</DropzoneWrapper>
+																	<span className="form-text">Multiple files upload</span>
+																</div>
+															</FormGroup>
+														</form>
+													</ModalBody>
+													<ModalFooter>
+														<Button color="primary" onClick={this.handleSimpan}>
+															Simpan
+														</Button>{" "}
+													</ModalFooter>
+												</Modal>
+											</form>
+										</Col>
+									</Row>
+								</CardBody>
+							</Card>
+							{/* END card */}
+						</Col>
+						<Col xl="3">
+							<div className="card card-default">
+								<div className="card-body">
+									<div className="text-center">
+										<h3 className="mt-0">Universitas Satyagama</h3>
+										<p>0742/O/1990</p>
+									</div>
+									<hr />
+									<ul className="list-unstyled px-4">
+										<li>
+											<em className="fa fa-globe fa-fw mr-3"></em>www.satyagama.ac.id
+										</li>
+										<li>
+											<em className="fa fa-graduation-cap fa-fw mr-3"></em>Status Pelanggaran : Tidak Ada
+										</li>
+									</ul>
+								</div>
+							</div>
+						</Col>
+					</Row>
+				</div>
+			</ContentWrapper>
+		);
+	}
+}
+
+export default FormStandard;

+ 9 - 11
pages/app/pt/jawaban-keberatan/index.js

@@ -1,14 +1,14 @@
 import React, { Component } from "react";
 import Router from "next/router";
 import ContentWrapper from "@/components/Layout/ContentWrapper";
-import { Row, Col, Progress } from "reactstrap";
+import { Row, Col, Progress, Button } from "reactstrap";
 import { getPelaporan } from "../../../../actions/pelaporan";
 
 import Sparkline from "@/components/Common/Sparklines";
 import Datatable from "@/components/Tables/Datatable";
 import moment from "moment";
 
-class Pelaporan extends Component {
+class JawabanKeberatan extends Component {
 	constructor(props) {
 		super(props);
 	}
@@ -25,11 +25,11 @@ class Pelaporan extends Component {
 		});
 	};
 
-	detailLaporanClick = (e, ptId, number) => {
+	detailJawabanKeberatanClick = (e, ptId, number) => {
 		e.preventDefault();
 		Router.push({
-			pathname: "/app/pelaporan/detail",
-			query: { ptId, number },
+			pathname: "/app/pt/jawaban-keberatan/detail",
+			// query: { ptId, number },
 		});
 	};
 
@@ -126,7 +126,6 @@ class Pelaporan extends Component {
 												<th>Description</th>
 												<th>Created</th>
 												<th>Status</th>
-												<th></th>
 											</tr>
 										</thead>
 										<tbody>
@@ -148,10 +147,9 @@ class Pelaporan extends Component {
 														</td>
 														<td>{moment(value.createdAt).fromNow()}</td>
 														<td>
-															<div className="inline wd-xxs badge badge-success">open</div>
-														</td>
-														<td>
-															<button onClick={(e) => this.detailLaporanClick(e, value.pt_id, value.number)}>Detail</button>
+															<Button color="primary" onClick={(e) => this.detailJawabanKeberatanClick(e, value.pt_id, value.number)}>
+																Detail
+															</Button>
 														</td>
 													</tr>
 												);
@@ -168,4 +166,4 @@ class Pelaporan extends Component {
 	}
 }
 
-export default Pelaporan;
+export default JawabanKeberatan;

+ 17 - 44
pages/app/pt/keberatan/index.js

@@ -7,34 +7,12 @@ import { getPelaporan } from "../../../../actions/pelaporan";
 import Sparkline from "@/components/Common/Sparklines";
 import Datatable from "@/components/Tables/Datatable";
 import moment from "moment";
-import Swal from "@/components/Common/Swal";
-import swal from "sweetalert";
 
 class Keberatan extends Component {
 	constructor(props) {
 		super(props);
 		this.state = {
 			modal: false,
-			swalOption: {
-				title: "Are you sure?",
-				text: "Your will not be able to recover this imaginary file!",
-				buttons: {
-					cancel: {
-						text: "Tidak",
-						value: false,
-						visible: true,
-						className: "bg-danger",
-						closeModal: true,
-					},
-					confirm: {
-						text: "Ya",
-						value: true,
-						visible: true,
-						className: "bg-primary",
-						closeModal: true,
-					},
-				},
-			},
 		};
 	}
 
@@ -43,30 +21,25 @@ class Keberatan extends Component {
 		return { pelaporan };
 	};
 
-	toggleModal = (value, number) => {
-		if (value) {
-			console.log("Ya");
-		} else {
-			console.log("Tidak");
-		}
-		this.setState({
-			modal: !this.state.modal,
+	handleYaClick = (e) => {
+		e.preventDefault();
+		this.toggleModal();
+		Router.push({
+			pathname: "/app/pt/keberatan/upload",
 		});
 	};
 
-	permohonanClick = (e, ptId, number) => {
+	handleTidakClick = (e) => {
 		e.preventDefault();
-		// Router.push({
-		// 	pathname: "/app/pelaporan/search",
-		// });
-		swal(this.state.swalOption).then((isConfirm) => {
-			if (isConfirm) {
-				console.log("berhasil");
-				// swal("Deleted!", "Your imaginary file has been deleted.", "success");
-			} else {
-				console.log("gagal");
-				// swal("Cancelled", "Your imaginary file is safe :)", "error");
-			}
+		this.toggleModal();
+		Router.push({
+			pathname: "/app/pt/dokumen-perbaikan",
+		});
+	};
+
+	toggleModal = () => {
+		this.setState({
+			modal: !this.state.modal,
 		});
 	};
 
@@ -196,10 +169,10 @@ class Keberatan extends Component {
 															<ModalHeader toggle={this.toggleModal}>Permohonan Keberatan</ModalHeader>
 															<ModalBody>apakah anda akan mengajukan permohonan keberatan atas pengenaan sanksi?</ModalBody>
 															<ModalFooter>
-																<Button color="primary" onClick={() => this.toggleModal(true, value.ptId, value._number)}>
+																<Button color="primary" onClick={(e) => this.handleYaClick(e)}>
 																	Ya
 																</Button>{" "}
-																<Button color="secondary" onClick={() => this.toggleModal(false, value.ptId, value._number)}>
+																<Button color="secondary" onClick={(e) => this.handleTidakClick(e)}>
 																	Tidak
 																</Button>
 															</ModalFooter>

+ 277 - 16
pages/app/pt/keberatan/upload.js

@@ -1,14 +1,18 @@
 import React, { Component } from "react";
 import Router from "next/router";
-import Link from "next/link";
-
 import ContentWrapper from "@/components/Layout/ContentWrapper";
+import Datetime from "react-datetime";
+import moment from "moment";
+import Scrollable from "@/components/Common/Scrollable";
+import Datatable from "@/components/Tables/Datatable";
+import Link from "next/link";
 import {
 	Row,
 	Col,
 	Card,
 	CardHeader,
 	CardBody,
+	CardTitle,
 	FormGroup,
 	FormFeedback,
 	FormText,
@@ -25,17 +29,117 @@ import {
 	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 ? <Dropzone {...this.props}>{this.props.children}</Dropzone> : null;
+	}
+}
+
 const styleHeaderText = {
 	color: "brown",
 };
 
-class UploadKeberatan extends Component {
-	constructor(props) {
-		super(props);
-		this.state = {};
+const selectInstanceId = 1;
+
+class FormStandard extends Component {
+	state = {
+		dropdownOpen: false,
+		splitButtonOpen: false,
+		keteranganLaporan: "",
+		tanggal: moment().format("D MMMM YYYY"),
+		files: [],
+	};
+
+	static getInitialProps({ query }) {
+		return { query };
 	}
 
+	setKeteranganPelaporan = (e) => {
+		this.setState({ keteranganLaporan: e.target.value });
+	};
+
+	setTanggal = (moment) => {
+		this.setState({ tanggal: moment.format("D MMMM YYYY") });
+	};
+
+	toggleDropDown = () => {
+		this.setState({
+			dropdownOpen: !this.state.dropdownOpen,
+		});
+	};
+
+	toggleSplit = () => {
+		this.setState({
+			splitButtonOpen: !this.state.splitButtonOpen,
+		});
+	};
+
+	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: [],
+		});
+	};
+
+	onSubmit = async (e) => {
+		e.preventDefault();
+		const { number, ptId } = this.props.query;
+		const formdata = new FormData();
+		formdata.append("description", this.state.keteranganLaporan);
+		formdata.append("date", this.state.tanggal);
+		if (this.state.files.length > 0) {
+			this.state.files.forEach((e) => {
+				formdata.append("files", e);
+			});
+		}
+
+		const inserted = await insertPemeriksaan({ number, ptId }, formdata);
+		if (inserted) {
+			Router.push({
+				pathname: "/app/pemeriksaan",
+			});
+		}
+	};
+
 	render() {
+		const { files } = this.state;
+
+		const thumbs = files.map((file, index) => (
+			<Col md={3} key={index}>
+				<img className="img-fluid mb-2" src={file.preview} alt="Item" />
+			</Col>
+		));
 		return (
 			<ContentWrapper unwrap>
 				<div className="bg-cover" style={{ backgroundImage: "url(/static/img/profile-bg.png)" }}>
@@ -48,12 +152,9 @@ class UploadKeberatan extends Component {
 				</div>
 				<div className="p-3">
 					<div className="content-heading">
-						<div>
-							Upload Dokumen Permohonan Keberatan
-							{/* <small>Form pembuatan laporan baru v.0.1</small> */}
-						</div>
+						<div>Upload Dokumen Permohonan Keberatan</div>
 						<div className="ml-auto">
-							<Link href="/app/pt/keberatan">
+							<Link href="/app/pemeriksaan">
 								<button className="btn btn-sm btn-secondary text-sm">&lt; back</button>
 							</Link>
 						</div>
@@ -61,10 +162,170 @@ class UploadKeberatan extends Component {
 					<Row>
 						<Col xl="9">
 							<Card className="card-default">
-								<CardHeader>
-									<label>Informasi Dokumen</label>
-								</CardHeader>
-								<CardBody></CardBody>
+								<CardBody>
+									<Row>
+										<Col lg="6">
+											<p className="lead bb">Detail Laporan</p>
+											<form className="form-horizontal">
+												<FormGroup row>
+													<Col md="4">Nomor Laporan:</Col>
+													<Col md="8">
+														<strong>987654</strong>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Nama Perguruan Tinggi:</Col>
+													<Col md="8">
+														<strong>Universitas Satyagama</strong>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Jenis Pelanggaran:</Col>
+													<Col md="8">
+														<Scrollable height="75px" className="list-group">
+															<ul>
+																<li>Lorem ipsum dolor sit amet.</li>
+																<li>Lorem, ipsum dolor.</li>
+																<li>Lorem ipsum dolor sit.</li>
+															</ul>
+														</Scrollable>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Keterangan Laporan:</Col>
+													<Col md="8">
+														<Scrollable height="100px" className="list-group">
+															<p>
+																Lorem ipsum dolor sit, amet consectetur adipisicing elit. Amet dicta placeat enim illo aspernatur adipisci neque repellendus itaque blanditiis fugit. Quam obcaecati sed
+																perferendis facere.
+															</p>
+														</Scrollable>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Dibuat Pada:</Col>
+													<Col md="8">
+														<strong>23 Januari 2022</strong>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">Status</Col>
+													<Col md="8">
+														<div className="badge badge-info">Ditindaklanjuti</div>
+													</Col>
+												</FormGroup>
+												<FormGroup row>
+													<Col md="4">File Pendukung</Col>
+													<Col md="8">
+														<Scrollable height="120px" className="list-group">
+															<table className="table table-bordered bg-transparent">
+																<tbody>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-code"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				database.controller.js
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-image"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				baground-lg.png
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-code"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				picture.controller.js
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-word"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				applicat-diagrams.docx
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-code"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				database.controller.js
+																			</a>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td>
+																			<em className="fa-lg far fa-file-code"></em>
+																		</td>
+																		<td>
+																			<a className="text-muted" href="">
+																				database.controller.js
+																			</a>
+																		</td>
+																	</tr>
+																</tbody>
+															</table>
+														</Scrollable>
+													</Col>
+												</FormGroup>
+											</form>
+										</Col>
+										<Col lg={6}>
+											<p className="lead bb">Permohonan Keberatan</p>
+											<form className="form-horizontal" method="get" action="/" onSubmit={this.onSubmit}>
+												<FormGroup>
+													<label>Upload dokumen</label>
+													<div>
+														<DropzoneWrapper className="" onDrop={this.onDrop}>
+															{({ getRootProps, getInputProps, isDragActive }) => {
+																return (
+																	<div {...getRootProps()} className={"dropzone card p-3 " + (isDragActive ? "dropzone-drag-active" : "")}>
+																		<input {...getInputProps()} />
+																		<div className="dropzone-previews flex">
+																			{this.state.files.length > 0 ? <Row>{thumbs}</Row> : <div className="text-center dz-default dz-message">Drop files here to upload</div>}
+																		</div>
+																		<div className="d-flex align-items-center">
+																			<small className="ml-auto">
+																				<button type="button" className="btn btn-link" onClick={this.clearFiles}>
+																					Clear files
+																				</button>
+																			</small>
+																		</div>
+																	</div>
+																);
+															}}
+														</DropzoneWrapper>
+														<span className="form-text">Multiple files upload</span>
+													</div>
+												</FormGroup>
+												<FormGroup>
+													<div>
+														<button className="btn btn-sm btn-primary" type="submit">
+															Kirim
+														</button>
+													</div>
+												</FormGroup>
+											</form>
+										</Col>
+									</Row>
+								</CardBody>
 							</Card>
 							{/* END card */}
 						</Col>
@@ -94,4 +355,4 @@ class UploadKeberatan extends Component {
 	}
 }
 
-export default UploadKeberatan;
+export default FormStandard;