diff --git a/app/Views/_layouts/main.php b/app/Views/_layouts/main.php index deeff52..9735467 100644 --- a/app/Views/_layouts/main.php +++ b/app/Views/_layouts/main.php @@ -1,289 +1,281 @@ getPath(); - $activeUrls = ['/admin', '/cs', '/analyst', '/doctor']; + // 1_Digunakan Untuk Nav Link Pada Side Bar Yg Aktif dan Tidak + $uri = service('uri'); + $path = $uri->getPath(); + $activeUrls = ['/admin', '/cs', '/analyst', '/doctor']; ?> - - - renderSection('title'); ?> + + renderSection('title'); ?> + + + + - - renderSection('css'); ?> + /* 10 */ + .Suspend { + background-color: purple; + } + + + renderSection('css'); ?> + + -
- - renderSection('content'); ?> -
+ - + + - + + - - + + + - - + - + // Datatable + $(document).ready(function () { + $('#datatables').DataTable({ + order: [[0, 'asc'], [3, 'asc']], + paging: false, + scrollCollapse: true, + scrollY: '650px', + columnDefs: [{ + className: 'text-center', + targets: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + }, // semua kolom di tengah + { + className: 'text-start', + targets: [12] + } + ], + language: { + // search: "Cari:", + // lengthMenu: "Tampilkan _MENU_ data", + // info: "Menampilkan _START_ sampai _END_ dari _TOTAL_ data", + // paginate: { + // previous: "Sebelumnya", + // next: "Berikutnya" + // } + }, + responsive: true, + }); - - renderSection('script'); ?> + }); + + renderSection('script'); ?> \ No newline at end of file diff --git a/app/Views/admin/index.php b/app/Views/admin/index.php index baab1f9..341365f 100644 --- a/app/Views/admin/index.php +++ b/app/Views/admin/index.php @@ -6,528 +6,561 @@ section('content') ?> -
+
-
+
- -
-
-
-

- -

-
-
-
'> -
-
- Date : -
+ + +
+
+ -
- -
-
-
-
-
Pending
-
+
+
+ + +
+
+ + +
-
- -
-
-
-
-
Partial Collected
-
+
+
+ + +
+
+ + +
-
- -
-
-
-
-
Collected
-
+
+
+ + +
+
+ + +
+
- - -
-
-
-
-
Partial Received
-
-
-
- - -
-
-
-
-
Received
-
-
-
- - -
-
-
-
-
Incomplete
-
-
-
- - -
-
-
-
-
Final
-
-
-
- - -
-
-
-
-
Final(Verified)
-
-
-
- - -
-
-
-
-
Pending(Verified)
-
-
-
- - - -
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SOrder DatetimePatient NameNo LabNo RegisterReffDoctorTestsResult ToValidationStatus
- - - - - - - - - - - - - - - - - - -
- - _ - -
- Result
- Invalidation
-
- - - Preview -
- Print | Eng -
- Pdf -
- Printed
- Hardcopy -
-
-
- +
+
+
+ --> + +
'> +
+
+ Date : +
- - + + + +
+
endSection() ?> section('script') ?> endSection() ?> \ No newline at end of file diff --git a/public/htaccess b/public/htaccess new file mode 100644 index 0000000..e6a8196 --- /dev/null +++ b/public/htaccess @@ -0,0 +1,48 @@ +# Disable directory browsing +Options -Indexes + +# ---------------------------------------------------------------------- +# Rewrite engine +# ---------------------------------------------------------------------- + +# Turning on the rewrite engine is necessary for the following rules and features. +# FollowSymLinks must be enabled for this to work. + + Options +FollowSymlinks + RewriteEngine On + + # If you installed CodeIgniter in a subfolder, you will need to + # change the following line to match the subfolder you need. + # http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase + + # Redirect Trailing Slashes... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Rewrite "www.example.com -> example.com" + RewriteCond %{HTTPS} !=on + RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] + RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L] + + # Checks to see if the user is attempting to access a valid file, + # such as an image or css document, if this isn't true it sends the + # request to the front controller, index.php + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^([\s\S]*)$ index.php/$1 [L,NC,QSA] + + # Ensure Authorization header is passed along + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + + + # If we don't have mod_rewrite installed, all 404's + # can be sent to index.php, and everything works as normal. + ErrorDocument 404 index.php + + +# Disable server signature start +ServerSignature Off +# Disable server signature end diff --git a/public/test.html b/public/test.html index 7e316da..fee8708 100644 --- a/public/test.html +++ b/public/test.html @@ -1,14 +1,103 @@ -
- _______                                       __           
-/       |                                     /  |          
-$$$$$$$/    ______    ______   _______    ____$$ |  ______  
-$$ |____   /      \  /      \ /       \  /    $$ | /      \ 
-$$      \ /$$$$$$  | $$$$$$  |$$$$$$$  |/$$$$$$$ | $$$$$$  |
-$$$$$$$  |$$ |  $$ | /    $$ |$$ |  $$ |$$ |  $$ | /    $$ |
-/  \__$$ |$$ |__$$ |/$$$$$$$ |$$ |  $$ |$$ \__$$ |/$$$$$$$ |
-$$    $$/ $$    $$/ $$    $$ |$$ |  $$ |$$    $$ |$$    $$ |
- $$$$$$/  $$$$$$$/   $$$$$$$/ $$/   $$/  $$$$$$$/  $$$$$$$/ 
-          $$ |                                              
-          $$ |                                              
-          $$/                                               
-
\ No newline at end of file + + + + + + Collapsible Sidebar (Icons Visible) + + + + + + + + + + + + + +
+

Dashboard

+

This is your main content area. Click the button to collapse or expand the sidebar. Icons stay visible when collapsed.

+
+ + + + + +