fix update

master
FIRLY 2026-05-18 15:35:35 +07:00
parent bb5705ca4a
commit c5128c7e49
26 changed files with 82 additions and 71 deletions

View File

@ -25,7 +25,7 @@ namespace WebApplication2.Controllers.WebNew
}
[HttpGet("/faq")]
[HttpGet("/webnew/faq")]
public IActionResult Faq()
{
return View("~/Views/WebNew/Faq.cshtml");

View File

@ -9,7 +9,7 @@ namespace WebApplication2.Controllers.WebNew
public IActionResult Index(string jenis)
{
ViewBag.Jenis = jenis;
return View();
return View("~/Views/WebNew/Layanan/Index.cshtml");
}
[HttpGet("/WebNew/Layanan/GetData")]

View File

@ -1,6 +1,8 @@
@model List<WebApplication2.Models.ViewModels.BeritaViewModel>
@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
ViewData["Title"] = "Berita";
}

View File

@ -1,4 +1,7 @@

@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
}
@section Style {
<link rel="stylesheet" href="~/webnew/css/Berita/DetailBerita.css" asp-append-version="true" />
}

View File

@ -1,9 +1,10 @@
@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
ViewData["Title"] = "FAQ";
}
@section Style {
<link rel="stylesheet" href="~/css/Faq.css" asp-append-version="true" />
<link rel="stylesheet" href="~/webnew/css/Faq.css" asp-append-version="true" />
}
<section class="faq-section">
<div class="container text-center">

View File

@ -1,4 +1,5 @@
@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
ViewData["Title"] = "Ulasan Pelanggan";
var questions = new[]{

View File

@ -1,5 +1,7 @@
@await Html.PartialAsync("~/Views/WebNew/Section/_Hero.cshtml", "Galeri Kegiatan")
@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
}
@section Style {
<link rel="stylesheet" href="~/css/Galeri.css" asp-append-version="true" />
}

View File

@ -18,7 +18,7 @@
</div>
<h1>Laboratorium Lingkungan Hidup Daerah</h1>
<p>Pemerintah Provinsi DKI Jakarta</p>
<a href="/Layanan" class="btn btn-light rounded-pill px-4">
<a href="/WebNew/Layanan" class="btn btn-light rounded-pill px-4">
Lihat Layanan
</a>
</div>
@ -35,7 +35,7 @@
</div>
<h1>Laboratorium Lingkungan Hidup Daerah</h1>
<p>Pemerintah Provinsi DKI Jakarta</p>
<a href="/Layanan" class="btn btn-light rounded-pill px-4">
<a href="/WebNew//Layanan" class="btn btn-light rounded-pill px-4">
Lihat Layanan
</a>
</div>
@ -67,7 +67,7 @@
<div class="row g-4 justify-content-center">
<div class="col-md-6 col-lg-4">
<a href="/Layanan?jenis=pcu" class="service-card-link">
<a href="/WebNew/Layanan?jenis=pcu" class="service-card-link">
<div class="service-card">
@ -101,13 +101,13 @@
</a>
</div>
<div class="col-md-6 col-lg-4">
<a href="/Layanan?jenis=air" class="service-card-link">
<a href="/WebNew/Layanan?jenis=air" class="service-card-link">
<div class="service-card">
<div class="service-bg" style="background-image:url('/webnew/assets/image/foto/2.jpeg')"></div>
<div class="service-overlay"></div>
<div class="service-content" asp-controller="Layanan" asp-action="Air">
<div class="service-content" asp-area="WebNew" asp-controller="Layanan" asp-action="Air">
<div class="top-content">
<div class="icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#094f9a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-zodiac-aquarius-icon lucide-zodiac-aquarius"><path d="m2 10 2.456-3.684a.7.7 0 0 1 1.106-.013l2.39 3.413a.7.7 0 0 0 1.096-.001l2.402-3.432a.7.7 0 0 1 1.098 0l2.402 3.432a.7.7 0 0 0 1.098 0l2.389-3.413a.7.7 0 0 1 1.106.013L22 10" /><path d="m2 18.002 2.456-3.684a.7.7 0 0 1 1.106-.013l2.39 3.413a.7.7 0 0 0 1.097 0l2.402-3.432a.7.7 0 0 1 1.098 0l2.402 3.432a.7.7 0 0 0 1.098 0l2.389-3.413a.7.7 0 0 1 1.106.013L22 18.002" /></svg>
@ -134,13 +134,13 @@
</div>
<div class="col-md-6 col-lg-4">
<a href="/Layanan?jenis=udara" class="service-card-link">
<a href="/WebNew/Layanan?jenis=udara" class="service-card-link">
<div class="service-card">
<div class="service-bg" style="background-image:url('/webnew/assets/image/foto/3.jpeg')"></div>
<div class="service-overlay"></div>
<div class="service-content" asp-controller="Layanan" asp-action="Udara">
<div class="service-content" asp-area="WebNew" asp-controller="Layanan" asp-action="Udara">
<div class="top-content">
<div class="icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#094f9a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-wind-icon lucide-wind"><path d="M12.8 19.6A2 2 0 1 0 14 16H2" /><path d="M17.5 8a2.5 2.5 0 1 1 2 4H2" /><path d="M9.8 4.4A2 2 0 1 1 11 8H2" /></svg>
@ -247,7 +247,7 @@
</div>
<a asp-controller="Home" asp-action="TentangKami" class="btn btn-outline-dark rounded-pill mt-4 px-4">
<a asp-area="WebNew" asp-controller="Home" asp-action="TentangKami" class="btn btn-outline-dark rounded-pill mt-4 px-4">
Lihat Selengkapnya →
</a>
@ -794,7 +794,7 @@
<div class="row g-6 justify-content-center" id="video-preview"></div>
<div class="mt-4 text-center">
<a href="/Video" class="btn btn-outline-dark rounded-pill px-4 py-2">
<a href="/WebNew/Video" class="btn btn-outline-dark rounded-pill px-4 py-2">
Lihat Selengkapnya →
</a>
</div>
@ -813,7 +813,7 @@
<div class="galeri-scroll" id="galeri-preview"></div>
<div class="mt-4 text-center">
<a href="/Galeri" class="btn btn-outline-dark rounded-pill px-4 py-2">
<a href="/WebNew/Galeri" class="btn btn-outline-dark rounded-pill px-4 py-2">
Lihat Selengkapnya →
</a>
</div>

View File

@ -1,4 +1,5 @@
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>

View File

@ -1,4 +1,5 @@
@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
ViewData["Title"] = "Kontak";
}
@ -7,7 +8,7 @@
}
@await Html.PartialAsync("Section/_Hero", "Kontak")
@await Html.PartialAsync("~/Views/WebNew/Shared/Section/_Hero.cshtml", "Kontak")
<section class="kontak-section">
<div class="container">

View File

@ -1,4 +1,5 @@
@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
ViewData["Title"] = "Detail Analisis";
}
@ -60,7 +61,7 @@
let total = 0;
let tbody = "";
fetch(`/DetailItem/GetDetail?kode=${kode}`)
fetch(`/WebNew/DetailItem/GetDetail?kode=${kode}`)
.then(res => {
if (!res.ok) throw new Error("Data tidak ditemukan");
return res.json();

View File

@ -41,7 +41,7 @@
</div>
<div class="table-responsive">
<table class="table custom-table" id="table1">
<table class="custom-table table" id="table1">
<thead></thead>
<tbody></tbody>
</table>
@ -64,7 +64,7 @@
</div>
<div class="table-responsive">
<table class="table custom-table" id="table2">
<table class="custom-table table" id="table2">
<thead></thead>
<tbody></tbody>
</table>
@ -87,7 +87,7 @@
}
function changeService(btn, jenis) {
window.history.pushState({}, "", `/Layanan?jenis=${jenis}`);
window.history.pushState({}, "", `/WebNew/Layanan?jenis=${jenis}`);
document.querySelectorAll('.service-btn').forEach(b => b.classList.remove('active'));
if (btn) btn.classList.add('active');
@ -101,7 +101,7 @@
document.getElementById("judul").innerText = "Loading...";
fetch(`/Layanan/GetData?jenis=${encodeURIComponent(jenis)}`)
fetch(`/WebNew/Layanan/GetData?jenis=${encodeURIComponent(jenis)}`)
.then(res => res.json())
.then(data => {

View File

@ -1,4 +1,5 @@
@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
var jenis = ViewBag.Jenis as string;
ViewData["Title"] = "Layanan";
}
@ -13,11 +14,11 @@
@if (string.IsNullOrEmpty(jenis))
{
@await Html.PartialAsync("Layanan")
@await Html.PartialAsync("~/Views/WebNew/Layanan/Layanan.cshtml")
}
else
{
@await Html.PartialAsync("DetailLayanan")
@await Html.PartialAsync("~/Views/WebNew/Layanan/DetailLayanan.cshtml")
}
</div>

View File

@ -37,7 +37,7 @@
<li>Air Minum.</li>
</ul>
<a href="/Layanan?jenis=pcu" class="card-footer-custom">
<a href="/WebNew/Layanan?jenis=pcu" class="card-footer-custom">
<span>Lihat Harga</span>
<div class="arrow-btn">
<img src="~/webnew/assets/image/icon/arrow.png" />
@ -64,7 +64,7 @@
<li>Air Perpipaan.</li>
</ul>
<a href="/Layanan?jenis=air" class="card-footer-custom">
<a href="/WebNew/Layanan?jenis=air" class="card-footer-custom">
<span>Lihat Harga</span>
<div class="arrow-btn">
<img src="~/webnew/assets/image/icon/arrow.png" />
@ -92,7 +92,7 @@
<li>SPKU (stasiun pemantau kualitas udara)</li>
</ul>
<a href="/Layanan?jenis=udara" class="card-footer-custom">
<a href="/WebNew/Layanan?jenis=udara" class="card-footer-custom">
<span>Lihat Harga</span>
<div class="arrow-btn">
<img src="~/webnew/assets/image/icon/arrow.png" />
@ -117,7 +117,7 @@
const jenis = getQueryParam("jenis");
if (jenis) {
fetch(`/Layanan/GetData?jenis=${jenis}`)
fetch(`/WebNew/Layanan/GetData?jenis=${jenis}`)
.then(res => res.json())
.then(data => {

View File

@ -1,5 +1,5 @@
@{
Layout = "~/Views/WebNew/Regulasi.cshtml";
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
ViewData["Title"] = "Regulasi";
}
@ -7,11 +7,11 @@
<link rel="stylesheet" href="~/webnew/css/Regulasi.css" asp-append-version="true" />
}
@await Html.PartialAsync("~/Views/WebNew/Shared/Section/_Hero", "Regulasi")
@await Html.PartialAsync("~/Views/WebNew/Shared/Section/_Hero.cshtml", "Regulasi")
<div class="container">
<div class="text-center mb-3">
<div class="mb-3 text-center">
<button class="btn filter-btn active" data-kategori="peraturan">Peraturan</button>
<button class="btn filter-btn" data-kategori="sop">SOP</button>
</div>
@ -57,7 +57,7 @@
}
function loadRegulasi() {
fetch('/Regulasi/GetRegulasi')
fetch('/WebNew/Regulasi/GetRegulasi')
.then(res => res.json())
.then(data => {
allData = data;
@ -99,12 +99,12 @@
let html = "";
if (data.length === 0) {
html = "<p class='text-center text-muted'>Data tidak ditemukan</p>";
html = "<p class='text-muted text-center'>Data tidak ditemukan</p>";
}
data.forEach(item => {
html += `
<div class="card p-3 mb-3 d-flex flex-row justify-content-between align-items-center">
<div class="card d-flex justify-content-between align-items-center mb-3 flex-row p-3">
<div class="d-flex align-items-center">
<div class="me-3">
<i class="bi bi-file-earmark-pdf fs-2 text-primary"></i>

View File

@ -1,5 +1,5 @@
@{
Layout = "~/Views/WebNew/Shared/_Hero.cshtml";
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
ViewData["Title"] = "Sertifikat";
}
@ -7,7 +7,7 @@
<link rel="stylesheet" href="~/webnew/css/Sertifikat.css" asp-append-version="true" />
}
@await Html.PartialAsync("~/Views/WebNew/Shared/Section/_Hero", "Sertifikat")
@await Html.PartialAsync("~/Views/WebNew/Shared/Section/_Hero.cshtml", "Sertifikat")
<section class="sertifikat-section">
<div class="container">

View File

@ -24,15 +24,15 @@
<h5 class="footer-title">Tautan Cepat</h5>
<ul class="footer-links">
<li><a href="#">Beranda</a></li>
<li><a asp-controller="Layanan" asp-action="Index">Layanan</a></li>
<li><a href="/Layanan?jenis=pcu" >Layanan PCU</a></li>
<li><a href="/Layanan?jenis=air">Layanan Uji Air</a></li>
<li><a href="/Layanan?jenis=udara" >Layanan Uji Udara</a></li>
<li><a asp-controller="Regulasi" asp-action="Index">Regulasi</a></li>
<li><a asp-controller="Home" asp-action="sertifikat">Sertifikasi</a></li>
<li><a asp-controller="Home" asp-action="TentangKami">Tentang Kami</a></li>
<li><a asp-controller="Kontak" asp-action="Index">Kontak</a></li>
<li><a asp-controller="Faq" asp-action="Index">FAQ</a></li>
<li><a asp-area="WebNew" asp-controller="Layanan" asp-action="Index">Layanan</a></li>
<li><a href="/WebNew/Layanan?jenis=pcu" >Layanan PCU</a></li>
<li><a href="/WebNew/Layanan?jenis=air">Layanan Uji Air</a></li>
<li><a href="/WebNew/Layanan?jenis=udara">Layanan Uji Udara</a></li>
<li><a asp-area="WebNew" asp-controller="Regulasi" asp-action="Index">Regulasi</a></li>
<li><a asp-area="WebNew" asp-controller="Home" asp-action="sertifikat">Sertifikasi</a></li>
<li><a asp-area="WebNew" asp-controller="Home" asp-action="TentangKami">Tentang Kami</a></li>
<li><a asp-area="WebNew" asp-controller="Kontak" asp-action="Index">Kontak</a></li>
<li><a asp-area="WebNew" asp-controller="Faq" asp-action="Index">FAQ</a></li>
</ul>
</div>

View File

@ -8,7 +8,7 @@
<nav class="navbar navbar-expand-lg navbar-light sticky-top bg-white shadow-sm">
<div class="container">
<a class="navbar-brand" asp-controller="Home" asp-action="Index">
<a class="navbar-brand" asp-area="WebNew" asp-controller="Home" asp-action="Index">
<img src="~/webnew/assets/image/logo/Logo update.png" width="120" />
</a>
@ -21,56 +21,49 @@
<ul class="navbar-nav align-items-lg-center gap-lg-3 mx-auto">
<li class="nav-item">
<a class="nav-link nav-underline @(currentController == "Home" && currentAction == "Index" ? "active" : "")"
asp-controller="Home" asp-action="Index">
<a class="nav-link nav-underline @(currentController == "Home" && currentAction == "Index" ? "active" : "")" asp-area="WebNew" asp-controller="Home" asp-action="Index">
Beranda
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link nav-underline @(currentController == "Layanan" ? "active" : "")"
asp-controller="Layanan" asp-action="Index">
<a class="nav-link nav-underline @(currentController == "Layanan" ? "active" : "")" asp-area="WebNew" asp-controller="Layanan" asp-action="Index">
Layanan
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/Layanan?jenis=pcu">PCU Air</a></li>
<li><a class="dropdown-item" href="/Layanan?jenis=air">Pengujian Air</a></li>
<li><a class="dropdown-item" href="/Layanan?jenis=udara">Pengujian Udara</a></li>
<li><a class="dropdown-item" href="/WebNew/Layanan?jenis=pcu">PCU Air</a></li>
<li><a class="dropdown-item" href="/WebNew/Layanan?jenis=air">Pengujian Air</a></li>
<li><a class="dropdown-item" href="/WebNew/Layanan?jenis=udara">Pengujian Udara</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link nav-underline @(currentController == "Regulasi" ? "active" : "")"
asp-controller="Regulasi" asp-action="Index">
<a class="nav-link nav-underline @(currentController == "Regulasi" ? "active" : "")" asp-area="WebNew" asp-controller="Regulasi" asp-action="Index">
Regulasi
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-underline @(currentAction == "Sertifikat" ? "active" : "")"
asp-controller="Home" asp-action="Sertifikat">
<a class="nav-link nav-underline @(currentAction == "Sertifikat" ? "active" : "")" asp-area="WebNew" asp-controller="Home" asp-action="Sertifikat">
Sertifikat
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-underline @(currentAction == "TentangKami" ? "active" : "")"
asp-controller="Home" asp-action="TentangKami">
<a class="nav-link nav-underline @(currentAction == "TentangKami" ? "active" : "")" asp-area="WebNew" asp-controller="Home" asp-action="TentangKami">
Tentang Kami
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-underline @(currentAction == "Kontak" ? "active" : "")"
asp-controller="Home" asp-action="Kontak">
<a class="nav-link nav-underline @(currentAction == "Kontak" ? "active" : "")" asp-area="WebNew" asp-controller="Home" asp-action="Kontak">
Kontak
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-underline @(currentAction == "Faq" ? "active" : "")"
asp-controller="Home" asp-action="Faq">
<a class="nav-link nav-underline @(currentAction == "Faq" ? "active" : "")" asp-area="WebNew" asp-controller="Home" asp-action="Faq">
FAQ
</a>
</li>

View File

@ -13,7 +13,7 @@
<link rel="stylesheet" href="~/webnew/css/Hero.css" asp-append-version="true" />
<link rel="stylesheet" href="~/WebApplication2.styles.css" asp-append-version="true" />
<link rel="icon" type="image/png" href="~/assets/image/logo/icon logo.png" />
<link rel="icon" type="image/png" href="~/webnew/assets/image/logo/icon logo.png" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" />
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">

View File

@ -1,4 +1,5 @@
@{
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
ViewData["Title"] = "Tentang Kami";
}
@ -7,7 +8,7 @@
}
@await Html.PartialAsync("~/Views/WebNew/Shared/Section/_Hero", "Tentang Kami")
@await Html.PartialAsync("~/Views/WebNew/Shared/Section/_Hero.cshtml", "Tentang Kami")
<section class="about-section">
<div class="container">

View File

@ -1,4 +1,8 @@
@section Style {
@{
ViewData["Title"] = "Video";
Layout = "~/Views/WebNew/Shared/_Layout.cshtml";
}
@section Style {
<link rel="stylesheet" href="~/webnew/css/Video.css" asp-append-version="true" />
}

View File

@ -1,5 +1,5 @@
.footer-section {
background: url('/assets/image/Background_Footer.png') no-repeat center center;
background: url('/webnew/assets/image/Background_Footer.png') no-repeat center center;
background-size: cover;
min-height: 300px;
color: white;

View File

@ -3,7 +3,7 @@
}
.hero-box {
background: url('/assets/image/Background Hero.png') no-repeat center;
background: url('/webnew/assets/image/Background Hero.png') no-repeat center;
background-size: cover;
border-radius: 20px;
padding: 60px 20px;

View File

@ -8,7 +8,7 @@
"Air Tanah, dan",
"Air Perpipaan."
],
"gambar": "webnew/assets/image/foto/2.jpeg",
"gambar": "/webnew/assets/image/foto/2.jpeg",
"table1": {
"columns": [ "No", "Kode", "Output Hasil Uji", "Jenis Baku Mutu", "Tipe Pengujian", "Total Parameter", "Total Harga", "Aksi" ],

View File

@ -2,7 +2,7 @@
"judul": "Pengambilan Contoh Uji (PCU) Air",
"deskripsi-singkat": "Kegiatan laboratorium untuk memperoleh sampel air secara representatif dari sumber tertentu, seperti air permukaan, air tanah, air limbah, maupun air minum sesuai dengan standar dan prosedur yang berlaku oleh personel yang kompeten. Berdasarkan Permen LH No. 23 Tahun 2020, pengambilan contoh uji wajib dilakukan oleh laboratorium lingkungan sebagai bagian integral dari proses pengujian yang menentukan validitas, akurasi, ketertelusuran, ketidakberpihakan, serta menjamin keabsahan hasil uji laboratorium. Pengambilan contoh uji air di LLHD merupakan salah satu layanan yang telah terakreditasi oleh KAN. Beberapa pengujian laboratorium yang dapat dilakukan pada PCU air yaitu:",
"deskripsi": [ "Air Limbah","Air Tanah, maupun ","Air Minum."],
"gambar": "webnew/assets/image/foto/1.jpeg",
"gambar": "/webnew/assets/image/foto/1.jpeg",
"table1": {
"columns": [ "No", "Kode", "Output Hasil Uji", "Jenis Baku Mutu", "Tipe Pengujian", "Total Parameter", "Total Harga", "Aksi" ],

View File

@ -9,7 +9,7 @@
"Emisi Bergerak (kendaraan)",
"SPKU (stasiun pemantau kualitas udara)"
],
"gambar": "webnew/assets/image/foto/3.jpeg",
"gambar": "/webnew/assets/image/foto/3.jpeg",
"table1": {
"columns": [ "Kode", "Output", "Jenis", "Tipe", "Total Parameter", "Total Harga", "Aksi" ],