Skip to content

Commit 5d6a60e

Browse files
committed
icons and buttons added for UI-UX
1 parent 1e35a04 commit 5d6a60e

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

application/views/addNew.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- Content Header (Page header) -->
33
<section class="content-header">
44
<h1>
5-
User Management
5+
<i class="fa fa-users"></i> User Management
66
<small>Add / Edit User</small>
77
</h1>
88
</section>

application/views/dashboard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- Content Header (Page header) -->
33
<section class="content-header">
44
<h1>
5-
Dashboard
5+
<i class="fa fa-tachometer" aria-hidden="true"></i> Dashboard
66
<small>Control panel</small>
77
</h1>
88
</section>

application/views/editOld.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<!-- Content Header (Page header) -->
2626
<section class="content-header">
2727
<h1>
28-
User Management
28+
<i class="fa fa-users"></i> User Management
2929
<small>Add / Edit User</small>
3030
</h1>
3131
</section>

application/views/includes/header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@
7171
<!-- Menu Footer-->
7272
<li class="user-footer">
7373
<div class="pull-left">
74-
<a href="<?php echo base_url(); ?>loadChangePass" class="btn btn-default btn-flat">Change Password</a>
74+
<a href="<?php echo base_url(); ?>loadChangePass" class="btn btn-default btn-flat"><i class="fa fa-key"></i> Change Password</a>
7575
</div>
7676
<div class="pull-right">
77-
<a href="<?php echo base_url(); ?>logout" class="btn btn-default btn-flat">Sign out</a>
77+
<a href="<?php echo base_url(); ?>logout" class="btn btn-default btn-flat"><i class="fa fa-sign-out"></i> Sign out</a>
7878
</div>
7979
</li>
8080
</ul>

application/views/users.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<!-- Content Header (Page header) -->
33
<section class="content-header">
44
<h1>
5-
User Management
5+
<i class="fa fa-users"></i> User Management
66
<small>Add, Edit, Delete</small>
77
</h1>
88
</section>
99
<section class="content">
1010
<div class="row">
1111
<div class="col-xs-12 text-right">
1212
<div class="form-group">
13-
<a class="btn btn-primary" href="<?php echo base_url(); ?>addNew">Add New</a>
13+
<a class="btn btn-primary" href="<?php echo base_url(); ?>addNew"><i class="fa fa-plus"></i> Add New</a>
1414
</div>
1515
</div>
1616
</div>
@@ -38,7 +38,7 @@
3838
<th>Email</th>
3939
<th>Mobile</th>
4040
<th>Role</th>
41-
<th>Actions</th>
41+
<th class="text-center">Actions</th>
4242
</tr>
4343
<?php
4444
if(!empty($userRecords))
@@ -52,9 +52,9 @@
5252
<td><?php echo $record->email ?></td>
5353
<td><?php echo $record->mobile ?></td>
5454
<td><?php echo $record->role ?></td>
55-
<td>
56-
<a href="<?php echo base_url().'editOld/'.$record->userId; ?>"><i class="fa fa-pencil"></i>&nbsp;&nbsp;&nbsp;</a>
57-
<a href="#" data-userid="<?php echo $record->userId; ?>" class="deleteUser"><i class="fa fa-trash"></i>&nbsp;&nbsp;&nbsp;</a>
55+
<td class="text-center">
56+
<a class="btn btn-sm btn-info" href="<?php echo base_url().'editOld/'.$record->userId; ?>"><i class="fa fa-pencil"></i></a>
57+
<a class="btn btn-sm btn-danger deleteUser" href="#" data-userid="<?php echo $record->userId; ?>"><i class="fa fa-trash"></i></a>
5858
</td>
5959
</tr>
6060
<?php

0 commit comments

Comments
 (0)