diff --git a/app/Config/Routes.php b/app/Config/Routes.php index b904c71..dde3142 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -55,4 +55,10 @@ $routes->delete('api/request/validate/(:any)', 'Request::unval/$1'); $routes->get('api/specimen/(:any)', 'Specimen::show/$1'); $routes->post('api/specimen/collect/(:any)', 'Specimen::collect/$1'); -$routes->delete('api/specimen/receive/(:any)', 'Specimen::unreceive/$1'); \ No newline at end of file +$routes->delete('api/specimen/receive/(:any)', 'Specimen::unreceive/$1'); + +/*- lets go alpine -*/ +$routes->group('v2', function($routes) { + $routes->get('', 'v2::index'); +}); + diff --git a/app/Controllers/Request.php b/app/Controllers/Request.php index f80d2f1..fcac122 100644 --- a/app/Controllers/Request.php +++ b/app/Controllers/Request.php @@ -5,6 +5,11 @@ use CodeIgniter\API\ResponseTrait; class Request extends BaseController { use ResponseTrait; + public function index() { + + } + + public function show($accessnumber) { $db = db_connect(); $data['accessnumber'] = $accessnumber; diff --git a/app/Controllers/V2.php b/app/Controllers/V2.php new file mode 100644 index 0000000..b6ecb91 --- /dev/null +++ b/app/Controllers/V2.php @@ -0,0 +1,14 @@ + + + + + + DaisyUI Static 5-Page App + + + + + + + + + +
+ + + + + +
+
+ + + + + +
+ + + +
+

Welcome to the Dashboard (Page 1)

+

This is the landing page structure. The tabs above are static visual elements without JavaScript functionality.

+
+
+
+
Total Users
+
89,400
+
21% more than last month
+
+
+
+
+
New Tasks
+
4,200
+
25% more than yesterday
+
+
+
+
+
Revenue
+
$1,200k
+
8% YoY growth
+
+
+
+
+ +
Static Page Separator
+ + +
+

Operational Data Table (Static Content)

+ + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#Client NameProjectStatusProgressAction
101Alpha CorpWebsite Redesign
Completed
100%
102Beta LabsAPI Integration
In Progress
65%
103Gamma SystemsMobile App Launch
Pending
10%
104Delta GroupCloud Migration
Completed
100%
105Epsilon TechSecurity Audit
Stuck
30%
+
+
+ +
Static Page Separator
+ + +
+

Advanced Analytics (Page 3)

+

Visualize key metrics and trends over time.

+
+ + This is a static placeholder for the Analytics content. +
+
+ [ Placeholder for Chart Visualization ] +
+
+ +
Static Page Separator
+ + +
+

User Settings (Page 4)

+

Manage your account preferences and application configuration.

+ +
+ + + + + +
+ +
+ +
Static Page Separator
+ + +
+

Help & Support (Page 5)

+

Find answers to frequently asked questions or submit a support ticket.

+ + +
+
+ +
+ How do I reset my password? +
+
+

Click the 'Profile' option in the top right dropdown menu, then navigate to 'Security' and follow the 'Forgot Password' instructions.

+
+
+
+ +
+ Can I export the data table? +
+
+

Currently, the data is only viewable on this page. Export functionality is planned for the next update!

+
+
+
+ +
+
+ +
+
+ + + +
+ + \ No newline at end of file