Commit 949672f2d5fbb5cffaeb1b5e7bbaf53d5d267cd8
1 parent
193ddac8
add icon
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
src/app/frontend/views/partial/dealer.php
@@ -170,7 +170,10 @@ | @@ -170,7 +170,10 @@ | ||
170 | <p><?= !empty( $customer['name'] ) ? $customer['name'] : 'User' ?></p> | 170 | <p><?= !empty( $customer['name'] ) ? $customer['name'] : 'User' ?></p> |
171 | <a href="#"><i class="fa fa-circle text-success"></i> Online</a> | 171 | <a href="#"><i class="fa fa-circle text-success"></i> Online</a> |
172 | </div> | 172 | </div> |
173 | - | 173 | + <?php //vip icon |
174 | + if (isset($customer['users_group_id']) && $customer['users_group_id'] == 37) | ||
175 | + echo '<div class="dealer_vip_icon"><img scr="/images/icon_vip_01.png" alt="vip"/></div>'; | ||
176 | + ?> | ||
174 | </div> | 177 | </div> |
175 | 178 | ||
176 | <!-- sidebar menu: : style can be found in sidebar.less --> | 179 | <!-- sidebar menu: : style can be found in sidebar.less --> |
www/dist/css/AdminLTE.min.css
@@ -102,6 +102,7 @@ h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:'Source Sans Pro',sans-ser | @@ -102,6 +102,7 @@ h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:'Source Sans Pro',sans-ser | ||
102 | .user-panel{position:relative;width:100%;padding:10px;overflow:hidden} | 102 | .user-panel{position:relative;width:100%;padding:10px;overflow:hidden} |
103 | .user-panel:before,.user-panel:after{content:" ";display:table} | 103 | .user-panel:before,.user-panel:after{content:" ";display:table} |
104 | .user-panel:after{clear:both} | 104 | .user-panel:after{clear:both} |
105 | +.user-panel .dealer_vip_icon{float:right} | ||
105 | .user-panel > .image > img{width:100%;max-width:45px;height:auto} | 106 | .user-panel > .image > img{width:100%;max-width:45px;height:auto} |
106 | .user-panel > .info{padding:5px 5px 5px 15px;line-height:1;position:absolute;left:55px} | 107 | .user-panel > .info{padding:5px 5px 5px 15px;line-height:1;position:absolute;left:55px} |
107 | .user-panel > .info > p{font-weight:600;margin-bottom:9px} | 108 | .user-panel > .info > p{font-weight:600;margin-bottom:9px} |