Skip to content

Instantly share code, notes, and snippets.

@andrewconnell
Last active June 17, 2018 19:59
Show Gist options
  • Save andrewconnell/18477c10edb7f9a32198 to your computer and use it in GitHub Desktop.
Save andrewconnell/18477c10edb7f9a32198 to your computer and use it in GitHub Desktop.
Office UI Fabric Table Example
<link rel="stylesheet" href="/public/fabric/css/fabric.min.css">
<link rel="stylesheet" href="/public/fabric/css/fabric.components.min.css">
<div class="ms-Grid">
<div class="ms-Grid-row">
<div class="ms-Grid-col ms-u-lg12">
<div class="ms-font-su">{{vm.teamName}} Roster</div>
<div class="ms-Table">
<div class="ms-Table-row">
<span class="ms-Table-cell ms-font-xl">Pos.</span>
<span class="ms-Table-cell ms-font-xl">Player</span>
<span class="ms-Table-cell ms-font-xl">NFL</span>
<span class="ms-Table-cell ms-font-xl">Paid</span>
</div>
<div class="ms-Table-row" data-ng-repeat="pick in vm.picks">
<span class="ms-Table-cell ms-font-xl">{{pick.player.position}}</span>
<span class="ms-Table-cell ms-font-xl">{{pick.player.fullName}}</span>
<span class="ms-Table-cell ms-font-xl">{{pick.player.nflTeam}}</span>
<span class="ms-Table-cell ms-font-xl"><i class="fa fa-usd"></i> {{pick.price}}</span>
</div>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment