You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
2.7 KiB
PHTML
87 lines
2.7 KiB
PHTML
@php
|
|
use NN\Session;
|
|
use NN\Module\DB;
|
|
use NN\Module\Perusahaan as perush;
|
|
|
|
$menus = DB::query_result_object("SELECT * FROM introapp");
|
|
|
|
$content = "";
|
|
|
|
if($kode === ""){
|
|
$content = DB::query_result_object_row("SELECT * FROM introapp")->data;
|
|
}else{
|
|
$content = DB::query_result_object_row("SELECT * FROM introapp WHERE kode = '$kode'")->data;
|
|
}
|
|
|
|
@endphp
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta name="robots" content="noindex">
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<meta name="author" content="VDS">
|
|
<link rel="apple-touch-icon" href="{{ASSET}}/{{LOGO}}">
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ASSET}}/{{LOGO}}">
|
|
<title>Warpeka Module</title>
|
|
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
clifford: '#da373d',
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body class="bg-gray-200 ">
|
|
<div class="min-h-[100vh]" style="display: grid; grid-template-columns: 250px auto ">
|
|
<div class="bg-white">
|
|
<a class="block border-b-2 py-2 text-center mb-2 rounded px-3 bg-white" href="#/">
|
|
<img src="{{ASSET}}/{{LOGO}}" width="50px" alt="">
|
|
<span class="block">Dokumentasi APP</span>
|
|
</a>
|
|
@foreach($menus as $mn)
|
|
@if($mn->subindex == 1)
|
|
<a class="block py-1 mx-2 hover:bg-blue-600 hover:text-white rounded px-4 bg-white" href="{{PATH}}/module/app/{{$mn->kode}}">{{$mn->nama}}</a>
|
|
@else
|
|
<a class="block py-1 mx-2 hover:bg-blue-600 hover:text-white rounded px-6 bg-white" href="{{PATH}}/module/app/{{$mn->kode}}">{{$mn->nama}}</a>
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
<div>
|
|
<div class="mx-[auto] w-full mt-10">
|
|
<div class="bg-white m-10 p-10">
|
|
{!! html_entity_decode($content) !!}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
*{
|
|
font-family: Mulish, sans-serif !important;
|
|
color: rgb(104, 104, 104);
|
|
}
|
|
.text-center{
|
|
text-align:center;
|
|
}
|
|
.text-left{
|
|
text-align:left;
|
|
}
|
|
img{
|
|
display:inline-block !important;
|
|
}
|
|
.text-right{
|
|
text-align:right;
|
|
}
|
|
a{
|
|
color:blue !important;
|
|
}
|
|
</style>
|
|
</body>
|
|
</html> |