make pengaturan page
This commit is contained in:
parent
e5a9e22f7b
commit
feba827d2c
|
@ -2,6 +2,7 @@ import { Route, Router } from "@solidjs/router";
|
||||||
import Index from "./pages/Index";
|
import Index from "./pages/Index";
|
||||||
import Pengujian from "./pages/Pengujian";
|
import Pengujian from "./pages/Pengujian";
|
||||||
import Histori from "./pages/Histori";
|
import Histori from "./pages/Histori";
|
||||||
|
import Pengaturan from "./pages/Pengaturan";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
root: any;
|
root: any;
|
||||||
|
@ -13,6 +14,7 @@ export default function (props: Props) {
|
||||||
<Route path="/" component={Index}></Route>
|
<Route path="/" component={Index}></Route>
|
||||||
<Route path="/pengujian" component={Pengujian}></Route>
|
<Route path="/pengujian" component={Pengujian}></Route>
|
||||||
<Route path="/histori" component={Histori}></Route>
|
<Route path="/histori" component={Histori}></Route>
|
||||||
|
<Route path="/pengaturan" component={Pengaturan}></Route>
|
||||||
</Router>
|
</Router>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,3 +7,7 @@
|
||||||
* {
|
* {
|
||||||
font-family: 'Montserrat', Arial, Verdana, sans-serif;
|
font-family: 'Montserrat', Arial, Verdana, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input {
|
||||||
|
@apply border border-gray-200 rounded h-12 w-full block transition outline-none px-3;
|
||||||
|
}
|
|
@ -0,0 +1,48 @@
|
||||||
|
export default function () {
|
||||||
|
return (
|
||||||
|
<div class="bg-white rounded p-5 shadow">
|
||||||
|
<div class="text-xl">Kontak Pemilik</div>
|
||||||
|
<p class="text-sm">
|
||||||
|
Kontak digunakan untuk mengirimkan notifikasi sistem kepada pemilik.
|
||||||
|
</p>
|
||||||
|
<div class="my-5">
|
||||||
|
<div class="mb-3">
|
||||||
|
<div class="mb-1">Email</div>
|
||||||
|
<input type="text" class="input" placeholder="Masukkan Email" />
|
||||||
|
</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
<div class="mb-1">No. Whatsapp</div>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
class="input"
|
||||||
|
placeholder="Masukkan No. Whatsapp"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="h-8"></div>
|
||||||
|
<div class="text-xl">Kontrol Fermentasi</div>
|
||||||
|
<p class="text-sm">
|
||||||
|
Pemilik bisa mengatur environment untuk pengendalian suhu optimal pada
|
||||||
|
fermentasi tape.
|
||||||
|
</p>
|
||||||
|
<div class="my-5">
|
||||||
|
<div class="mb-3">
|
||||||
|
<div class="grid grid-cols-2 gap-4">
|
||||||
|
<div>
|
||||||
|
<div class="mb-1">Suhu Min</div>
|
||||||
|
<input type="text" class="input" value={30} />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="mb-1">Suhu Max</div>
|
||||||
|
<input type="text" class="input" value={40} />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="h-8"></div>
|
||||||
|
<button class="bg-blue-500 transition focus:bg-blue-400 text-white rounded shadow-sm uppercase p-3 px-6 w-full">
|
||||||
|
Simpan
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue