<h4>Shared Users<button mdTooltip="close" (click)="onNoClick(null)"style="    cursor: pointer;
    float: right; border:1px solid transparent; background-color: transparent;padding-top:2%"><md-icon style="float: right;width:30px;height:30px;">close
    </md-icon></button></h4><hr>
    <p ><b>Device Name: </b>{{dname}}</p>
<table class="table table-striped table-hover " style="overflow-y: hidden;
overflow-x: hidden;">

<thead>
  <tr>
    <th>Name</th>
    <th>Remove Sharing</th>
 
     
  </tr>
</thead>

<tbody>
 
  <tr  *ngFor="let device of foods">

    <td >{{device.name}}</td>
    <td>
      <p><button md-tooltip="Remove Shared Device" style="border:1px solid transparent; background-color: transparent;"(click)="deleteshare(device.userid)">   
                 
        <md-icon> remove_circle_outline</md-icon></button></p>
    </td>
  </tr>
</tbody> 
</table> 
<flash-messages></flash-messages>


