Terakhir Di Investasi Perbaikan Tampilannya
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { RouterVote } from "@/app/lib/router_hipmi/router_vote";
|
||||
import { MainColor } from "@/app_modules/_global/color/color_pallet";
|
||||
import { AccentColor, MainColor } from "@/app_modules/_global/color/color_pallet";
|
||||
import ComponentGlobal_BoxInformation from "@/app_modules/_global/component/box_information";
|
||||
import { ComponentGlobal_NotifikasiBerhasil } from "@/app_modules/_global/notif_global/notifikasi_berhasil";
|
||||
import { ComponentGlobal_NotifikasiGagal } from "@/app_modules/_global/notif_global/notifikasi_gagal";
|
||||
@@ -124,8 +124,8 @@ function ButtonAction({
|
||||
<SimpleGrid cols={2}>
|
||||
<Button
|
||||
radius={"xl"}
|
||||
bg={MainColor.yellow}
|
||||
color="yellow"
|
||||
style={{ backgroundColor: AccentColor.yellow }}
|
||||
c={MainColor.darkblue}
|
||||
onClick={() => {
|
||||
setOpenModal1(true);
|
||||
}}
|
||||
@@ -134,7 +134,8 @@ function ButtonAction({
|
||||
</Button>
|
||||
<Button
|
||||
radius={"xl"}
|
||||
color="red"
|
||||
style={{ backgroundColor: MainColor.red }}
|
||||
c={AccentColor.white}
|
||||
onClick={() => {
|
||||
setOpenModal2(true);
|
||||
}}
|
||||
@@ -166,8 +167,8 @@ function ButtonAction({
|
||||
onClick={() => {
|
||||
onUpdate();
|
||||
}}
|
||||
color="yellow"
|
||||
bg={MainColor.yellow}
|
||||
c={MainColor.darkblue}
|
||||
style={{ backgroundColor: AccentColor.yellow }}
|
||||
>
|
||||
Ajukan
|
||||
</Button>
|
||||
@@ -181,6 +182,7 @@ function ButtonAction({
|
||||
close={() => setOpenModal2(false)}
|
||||
buttonKiri={
|
||||
<Button
|
||||
c={AccentColor.white}
|
||||
radius={"xl"}
|
||||
onClick={() => {
|
||||
setOpenModal2(false);
|
||||
|
||||
@@ -14,6 +14,7 @@ import { Vote_funEditStatusByStatusId } from "../../fun/edit/fun_edit_status_by_
|
||||
import { gs_vote_status } from "../../global_state";
|
||||
import { MODEL_VOTING } from "../../model/interface";
|
||||
import { RouterVote } from "@/app/lib/router_hipmi/router_vote";
|
||||
import { AccentColor, MainColor } from "@/app_modules/_global/color";
|
||||
|
||||
export default function Vote_DetailReject({
|
||||
dataVote,
|
||||
@@ -68,16 +69,18 @@ function ButtonAction({ voteId }: { voteId: string }) {
|
||||
<SimpleGrid cols={2}>
|
||||
<Button
|
||||
radius={"xl"}
|
||||
color="orange"
|
||||
style={{ backgroundColor: AccentColor.yellow, fontWeight:"bold" }}
|
||||
c={MainColor.darkblue}
|
||||
onClick={() => {
|
||||
setOpenModal1(true);
|
||||
setOpenModal1(true);
|
||||
}}
|
||||
>
|
||||
Edit Kembali
|
||||
</Button>{" "}
|
||||
<Button
|
||||
radius={"xl"}
|
||||
color="red"
|
||||
c={AccentColor.white}
|
||||
style={{ backgroundColor: MainColor.red, fontWeight:"bold" }}
|
||||
onClick={() => {
|
||||
setOpenModal2(true);
|
||||
}}
|
||||
@@ -93,6 +96,7 @@ function ButtonAction({ voteId }: { voteId: string }) {
|
||||
buttonKiri={
|
||||
<Button
|
||||
radius={"xl"}
|
||||
c={AccentColor.white}
|
||||
onClick={() => {
|
||||
setOpenModal1(false);
|
||||
}}
|
||||
@@ -105,10 +109,11 @@ function ButtonAction({ voteId }: { voteId: string }) {
|
||||
loaderPosition="center"
|
||||
loading={isLoading ? true : false}
|
||||
radius={"xl"}
|
||||
style={{ backgroundColor: AccentColor.yellow }}
|
||||
onClick={() => {
|
||||
onUpdate();
|
||||
}}
|
||||
color="orange"
|
||||
c={MainColor.darkblue}
|
||||
>
|
||||
Simpan
|
||||
</Button>
|
||||
|
||||
@@ -15,6 +15,7 @@ import { Vote_funEditStatusByStatusId } from "../../fun/edit/fun_edit_status_by_
|
||||
import { MODEL_VOTING } from "../../model/interface";
|
||||
import { voting_checkStatus } from "../../fun";
|
||||
import { ComponentGlobal_NotifikasiPeringatan } from "@/app_modules/_global/notif_global";
|
||||
import { AccentColor, MainColor } from "@/app_modules/_global/color";
|
||||
|
||||
export default function Vote_DetailReview({
|
||||
dataVote,
|
||||
@@ -90,7 +91,8 @@ function ButtonAction({
|
||||
<>
|
||||
<Button
|
||||
radius={"xl"}
|
||||
color="orange"
|
||||
style={{ backgroundColor: MainColor.orange }}
|
||||
c={MainColor.darkblue}
|
||||
onClick={() => {
|
||||
setOpenModal(true);
|
||||
}}
|
||||
@@ -103,16 +105,17 @@ function ButtonAction({
|
||||
opened={openModal}
|
||||
close={() => setOpenModal(false)}
|
||||
buttonKiri={
|
||||
<Button radius={"xl"} onClick={() => setOpenModal(false)}>
|
||||
<Button c={AccentColor.white} radius={"xl"} onClick={() => setOpenModal(false)}>
|
||||
Batal
|
||||
</Button>
|
||||
}
|
||||
buttonKanan={
|
||||
<Button
|
||||
loaderPosition="center"
|
||||
style={{ backgroundColor: AccentColor.yellow }}
|
||||
loading={isLoading ? true : false}
|
||||
radius={"xl"}
|
||||
color="green"
|
||||
c={MainColor.darkblue}
|
||||
onClick={() => {
|
||||
onUpdate();
|
||||
console.log(statusId);
|
||||
|
||||
Reference in New Issue
Block a user