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 > | |
<ltng:require styles="/resource/slds102/assets/styles/salesforce-lightning-design-system-ltng.css"/> | |
<div class="slds"> | |
<div class="slds-grid slds-wrap slds-grid--vertical-stretch"> | |
<div class="slds-col slds-col-rule--bottom slds-size--1-of-1" style="height:300px;"> | |
Column 1 | |
</div> | |
<div class="slds-col slds-col-rule--right slds-size--2-of-3" style="height:600px;"> |
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
<!--- | |
Credits go to Karanraj for originally building this single page app.. | |
Make sure you have Image_URL__c custom field on the Contact Object. | |
I have used Handlebars to render each contact as a Card. | |
--> | |
<apex:page showHeader="false" standardStylesheets="false"> | |
<!-- Boostrap and jQuery file --> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" /> |
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
<apex:page controller="ImportMSProjectCon"> | |
<head> | |
<meta charset="utf-8"></meta> | |
<title>Bulk Insert Mailing Lists</title> | |
<!-- Stylesheets--> | |
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" /> | |
<!-- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" /> --> | |
<!-- JS Libraries for JQuery and BootStrap--> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> |
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
public with sharing class MSProject { | |
public class TimephasedData { | |
public String Type; | |
public String UID; | |
public String Start; | |
public String Finish; | |
public String Unit; | |
public String Value; | |
} |
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
public class SearchAccountsCon{ | |
@RemoteAction | |
public static List<ObjectWrapper> searchAccounts(String searchString, String objectName){ | |
List<ObjectWrapper> aWrapper = new List<ObjectWrapper>(); | |
List<SObject> records = new List<SObject>(); | |
// Dynamically build the soql |