Created
December 6, 2015 04:51
-
-
Save karanrajs/27e9d5f3cfae45745b64 to your computer and use it in GitHub Desktop.
Lightning Component
This file contains hidden or 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
<aura:component controller="RecentRecordsController" implements="force:appHostable,flexipage:availableForAllPageTypes"> | |
<ltng:require styles="/resource/SLDS080/assets/styles/salesforce-lightning-design-system-vf.css" /> | |
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<head> | |
</head> | |
<body> | |
<div class="slds"> | |
<div class="slds-card__header slds-grid"> | |
<div class="slds-media slds-media--center slds-has-flexi-truncate"> | |
<div class="slds-media__figure"> | |
</div> | |
<div class="slds-media__body"> | |
<h2 class="slds-text-heading--small slds-truncate">Recently Viewed</h2> | |
</div> | |
</div> | |
</div> | |
<div class="slds-card__body"> | |
<section class="slds-card__body"> | |
<div class="slds-scrollable--x"> | |
<table class="slds-table slds-table--bordered slds-max-medium-table--stacked-horizontal"> | |
<thead> | |
<tr class="slds-no-hover"> | |
<aura:iteration items="{!v.fields}" var="field" > | |
<th class="slds-text-heading--label slds-size--1-of-6" scope="col">{!field}</th> | |
</aura:iteration> | |
</tr> | |
</thead> | |
<tbody id="data"> | |
</tbody> | |
</table> | |
</div> | |
</section> | |
</div> | |
</div> | |
</body> | |
</html> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment