header and supplierListing

This commit is contained in:
venbatechnologies@gmail.com 2017-12-05 15:02:33 +05:30
parent 36d086324e
commit f8f5364213
2 changed files with 11 additions and 3 deletions

View File

@ -726,13 +726,21 @@ $(function() {
<?php } ?>
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="<?php echo base_url(); ?>assets/dist/img/avatar.png" class="user-image" alt="User Image"/>
<?php if($this->profilepic != '') { ?>
<img src="<?php echo base_url().'uploads/images/'.$this->profilepic ; ?>" class="user-image" alt="User Image" />
<?php } else {?>
<img src="<?php echo base_url(); ?>assets/dist/img/avatar5.png" class="user-image" alt="User Image"/>
<?php } ?>
<span class="hidden-xs"><?php echo $name; ?></span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="<?php echo base_url(); ?>assets/dist/img/avatar.png" class="img-circle" alt="User Image" />
<?php if($this->profilepic != '') { ?>
<img src="<?php echo base_url().'uploads/images/'.$this->profilepic ; ?>" class="img-circle" alt="User Image" />
<?php } else {?>
<img src="<?php echo base_url(); ?>assets/dist/img/avatar5.png" class="img-circle" alt="User Image"/>
<?php } ?>
<p>
<?php echo $name; ?>-<?php echo $role; ?>
<small><?php echo $role_text; ?></small>

View File

@ -18,7 +18,7 @@
<div class="row">
<div class="col-xs-12">
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:11px;" >
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:11px; !important;" >
<thead style="background-color:#ddf">
<tr>
<th>Supplier ID</th>