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
@RestResource( urlMapping='/employee/*' ) | |
global class JDFServices { | |
global class Response { | |
public Boolean status; | |
public String message; | |
public Integer statusCode; | |
public Response( Boolean status, String message, Integer statusCode ){ | |
this.status = status; | |
this.message = message; |
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
// ==UserScript== | |
// @name Custom Logout Flow for Salesforce | |
// @version 1.0 | |
// @description Custom Logout Flow for Salesforce | |
// @author Shruti Sridharan | |
// @match https://*.salesforce.com/* | |
// @require https://code.jquery.com/jquery-latest.js | |
// ==/UserScript== | |
(function() { |
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
<apex:page standardStylesheets="false" showHeader="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0"> | |
<flow:interview name="Time_Tracker_Logout" finishLocation="{!URLFOR('/secur/logout.jsp')}"></flow:interview> | |
</apex:page> |
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
input[type=checkbox] { | |
position: relative; | |
width: 1.5rem; | |
height: 1.5rem; | |
top: 0.25rem; | |
} | |
textarea { | |
resize: vertical; | |
} |
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
/** | |
* This JavaScript file is created to apply | |
* additional functionalities to the | |
* 'FieldSetUIGeneratorController' page. | |
* | |
* @author Shruti Sridharan | |
* @since 05/09/2016 | |
* @revisions N/A | |
*/ | |
var FieldSetUI = { |
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
/** | |
* This Apex Controller is created to | |
* generate Field Set UI Generator | |
* which would create dynamic | |
* Visualforce page with Lightning | |
* Design System with the Fields | |
* defined in a Field Set. | |
* | |
* @author Shruti Sridharan | |
* @since 02/09/2016 |
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
public class ProjectPortfolioController { | |
public List<Project__c> allProjects { get; set; } | |
public ProjectPortfolioController() { | |
allProjects = new List<Project__c>(); | |
fetchProjects(); | |
} | |
public void fetchProjects() { |
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
strong { | |
font-weight: bold; | |
} | |
.button { | |
background-color: #f2f2f2; | |
background-image: linear-gradient(to bottom, #f2f2f2, #f2f2f2); | |
border: 1px solid #bfbfbf; | |
box-shadow: inset 0 1px 0 white, inset 0 -1px 0 #d9d9d9, inset 0 0 0 1px #f2f2f2, 0 2px 4px rgba(0, 0, 0, 0.2); | |
color: #8c8c8c; |
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
var animator = function( timeOut ) { | |
$( "[name='animation']" ).removeAttr( "class" ); | |
window.setTimeout( | |
function() { | |
$( "[name='animation']" ).each( | |
function() { | |
var animToBeApplied = $( this ).attr( "animation" ); | |
$( this ).addClass( "animated " + animToBeApplied ); | |
} |
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
<apex:page controller="ProjectPortfolioController" sidebar="false" showHeader="false" standardStylesheets="false" applyHtmlTag="false" applyBodyTag="false" cache="false" expires="0" docType="html-5.0"> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>Shruti's Portfolio</title> | |
<link rel="stylesheet" type="text/css" href="{!URLFOR($Resource.Pace,'flash.css')}" /> |