diff --git a/app/Config/Routes.php b/app/Config/Routes.php index d7870b0..5600332 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -5,9 +5,11 @@ use CodeIgniter\Router\RouteCollection; /** * @var RouteCollection $routes */ + + +$routes->get('/promoadmin', 'Auth::AuthPromoAdmin'); +$routes->post('/promoadmin/auth', 'Auth::AuthPromoLogin'); +$routes->post('/promoauth', 'Auth::AuthPromoLogin'); + $routes->get('/(:any)/(:any)', 'Home::promoIndex/$1/$2'); -$routes->get('/member', 'Home::member'); - - - -$routes->get('/promoadmin', 'Auth::AuthPromoAdmin'); \ No newline at end of file +$routes->get('/member', 'Home::member'); \ No newline at end of file diff --git a/app/Controllers/Auth.php b/app/Controllers/Auth.php index c0356cf..3874b3b 100644 --- a/app/Controllers/Auth.php +++ b/app/Controllers/Auth.php @@ -15,4 +15,10 @@ class Auth extends BaseController $out=[]; return view('promo_admin_home', $out); } + + public function AuthPromoLogin(){ + $out=[]; + //exit(); + return view('admin/index', $out); + } } diff --git a/app/Views/admin/index.php b/app/Views/admin/index.php index e69de29..3257115 100644 --- a/app/Views/admin/index.php +++ b/app/Views/admin/index.php @@ -0,0 +1,911 @@ + + + + + Mentor - Bootstrap 4 Admin Dashboard Template + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+ loader +
+
+
+ + +
+ + + +
+ + +
+ + + + +
+ +
+ +
+
+ +
+
+

My Promotions Dash

+
+
+ +
+
+ +
+
+ + +
+
+
+
+

Job Seekers/Providers

+
+
+
+
+
+
+
+

45%

+ Job Seekers +
+
+

55%

+ Job Providers +
+
+
+
+
+
+
+
+
+
+

45.8k

+ Pending Users +
+
+ +
+
+
+
+
+
+

65.4k

+ New Users +
+
+ +
+
+
+
+
+
+

78.2k

+ Deleted Users +
+
+ +
+
+
+
+
+
+

65.3k

+ Active Users +
+
+ +
+
+
+
+
+
+
+
+

Site Visitors

+
+
+
+
+

154,65

+ Total visit +
+
+
+
+

4,251

+ Applicants +
+
+

6,578

+ Interviews +
+
+

2,654

+ Forwards +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Recent Contacts

+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
No.User NamePositionDepartmentLocationStatus
#00001 +

Brian Joedro

+
Sale associateMarketing + Los Angeles + + +
#00002 +

Smithdro

+
Product designerGraphics + Menlo Park, CA + + +
#00003 +

Adrian Demiandro

+
Python engineerDevelopment + Dallas + + +
#00004 +

Sandradro Garett

+
Account executiveAccount + New york + + +
#00005 +

Garydro

+
Front-end developerDeveloper + Los Angeles + + +
#00003 +

Demiandro

+
Python engineerDevelopment + Dallas + + +
+
+
+
+
+
+
+
+
+

Recent Actions

+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ user-7 +
+
+

Senior front-end developer + Montreal, Canada

+
+

Over 1 month ago + Full–time

+
+ 45 Days left +
+
+ user-7 +
+
+

Sales associate + London, UK

+
+

Over 2 month ago + Part–time

+
+ 80 Days left +
+
+ user-7 +
+
+

Product designer + Delhi, India

+
+

Over 6 month ago + Part–time

+
+ 50 Days left +
+
+ user-7 +
+
+

Python engineer + Tokyo, Japan

+
+

Over 10 month ago + Full–time

+
+ 20 Days left +
+
+ user-7 +
+
+

Account executive + Menlo Park, CA

+
+

Over 4 month ago + Casual

+
+ 10 Days left +
+
+
+
+
+ +
+ +
+ +
+ +
+ + +
+
+
+

© Copyright 2024. All rights reserved.

+
+ + + +
+
+ +
+ +
+ + + + + + + + + + diff --git a/app/Views/promo_admin_home.php b/app/Views/promo_admin_home.php index 42ad2b0..cc7c78f 100644 --- a/app/Views/promo_admin_home.php +++ b/app/Views/promo_admin_home.php @@ -43,7 +43,7 @@

WrenchBoard Promotions

Welcome back, please login to your account.

-
+
@@ -69,9 +69,8 @@
- Sign In +
-
diff --git a/public/asset/img/android-chrome-192x192.png b/public/asset/img/android-chrome-192x192.png new file mode 100644 index 0000000..8a76d74 Binary files /dev/null and b/public/asset/img/android-chrome-192x192.png differ diff --git a/public/asset/img/android-chrome-512x512.png b/public/asset/img/android-chrome-512x512.png new file mode 100644 index 0000000..00ebe36 Binary files /dev/null and b/public/asset/img/android-chrome-512x512.png differ diff --git a/public/asset/img/apple-touch-icon.png b/public/asset/img/apple-touch-icon.png new file mode 100644 index 0000000..105ee0a Binary files /dev/null and b/public/asset/img/apple-touch-icon.png differ diff --git a/public/asset/img/favicon-16x16.png b/public/asset/img/favicon-16x16.png new file mode 100644 index 0000000..c6e2554 Binary files /dev/null and b/public/asset/img/favicon-16x16.png differ diff --git a/public/asset/img/favicon-32x32.png b/public/asset/img/favicon-32x32.png new file mode 100644 index 0000000..e437db7 Binary files /dev/null and b/public/asset/img/favicon-32x32.png differ diff --git a/public/asset/img/favicon.ico b/public/asset/img/favicon.ico index 9cc8493..9556081 100644 Binary files a/public/asset/img/favicon.ico and b/public/asset/img/favicon.ico differ diff --git a/public/asset/img/favicon.png b/public/asset/img/favicon.png new file mode 100644 index 0000000..753ba6e Binary files /dev/null and b/public/asset/img/favicon.png differ