Created
March 10, 2016 15:02
-
-
Save vincentdeelen/d4743b38cdd2015521db to your computer and use it in GitHub Desktop.
HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Folders --> | |
<section id="knockoutSection" class="col col-4"> | |
<nav> | |
<ul class="departments" data-bind="foreach: departments"> | |
<li class="" data-bind="text: $data, | |
css: { selected: $data == $root.chosenDeptId() }, | |
click: $root.goToDept"> | |
</li> | |
</ul> | |
</nav> | |
<!-- Mails grid --> | |
<table class="items" data-bind="with: chosenDeptData"> | |
<thead><tr><th>Emp No</th><th>Name</th><th>Job</th><th>Manager</th><th>Hiredate</th><th>Salary</th></tr></thead> | |
<tbody data-bind="foreach: items"> | |
<tr> | |
<td data-bind="text: empno"></td> | |
<td data-bind="text: ename"></td> | |
<td data-bind="text: job"></td> | |
<td data-bind="text: mgr"></td> | |
<td data-bind="text: hiredate"></td> | |
<td data-bind="text: '€ ' + sal.toFixed(2)"></td> | |
</tr> | |
</tbody> | |
</table> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment