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 standardController="Case" sidebar="false" docType="html-5.0"> | |
<style> | |
.glow{ | |
animation: flashBg 0.9s; | |
-webkit-animation: flashBg 0.9s alternate infinite; | |
} | |
@keyframes flashBg | |
{ | |
from { | |
border: 3px solid #ff6161; |
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 sidebar="false" docType="html-5.0" controller="VSDashBoard_Con"> | |
<vs:importvisualstrap /> | |
<script> | |
function goToDetailPage(recId){ | |
if(typeof sforce != 'undefined' && typeof sforce.one != 'undefined'){ | |
sforce.one.navigateToSObject(recId); | |
} | |
else{ | |
window.location.href = '/'+recId; | |
} |
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 without sharing class VSDashBoard_Con { | |
public List<Task> getTasks(){ | |
return [SELECT Id,Subject,Status, ActivityDate FROM Task WHERE ActivityDate = TODAY AND Status != 'Completed' AND Status != 'Deferred']; | |
} | |
public List<Case> getCases(){ | |
return [SELECT Id,CaseNumber,Status,Subject, Priority FROM Case WHERE OwnerId=:UserInfo.getUserId() AND isClosed = FALSE]; | |
} | |
public List<Lead> getLeads(){ | |
return [SELECT Id,Name,Status, CreatedDate FROM Lead WHERE OwnerId=:UserInfo.getUserId() AND IsUnreadByOwner = true]; | |
} |
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 showHeader="false" docType="html-5.0" > | |
<vs:importvisualstrap /> | |
<style> | |
body{ | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
} | |
.intro{ | |
margin-top:20px; | |
font-size:140%; | |
font-weight: 200; |
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 > | |
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"/> | |
<apex:includeScript value="https://rawgithub.com/BorisMoore/jsrender/master/jsrender.min.js"/> | |
<apex:remoteObjects > | |
<!--Name the field you like to query--> | |
<apex:remoteObjectModel name="Contact" jsShorthand="con" fields="Id,Name,FirstName,LastName,Phone,Email"/> | |
</apex:remoteObjects> | |
<script> | |
//function to invoke the retreive call to query records |
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="VSModals_Con"> | |
<vs:importvisualstrap /> | |
<apex:form > | |
<vs:visualstrapblock > | |
<vs:pageheader title="Cases" subtitle="Cases List" icon="file"/> | |
<vs:panel title="All Cases" type="primary" id="allCases"> | |
<vs:well styleclass="well-sm" style="text-align:center"> | |
<a class="btn btn-success btn-md" onclick="$('#newCase').modal('show');return false;">New Case</a> | |
</vs:well> | |
<apex:dataTable value="{!cases}" var="case" styleClass="table table-bordered table-hover"> |
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 standardController="Case" sidebar="false"> | |
<c:textscanner value="{!Case.Description}"/> | |
</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
<c:textscanner value="{!TEXT_TO_SCAN}"/> |
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="PBE1KRemoting_Con"> | |
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"/> | |
<apex:includeScript value="https://rawgithub.com/BorisMoore/jsrender/master/jsrender.min.js"/> | |
<script> | |
function getContacts(callback){ | |
Visualforce.remoting.Manager.invokeAction( | |
'{!$RemoteAction.PBE1KRemoting_Con.getContacts}', | |
function(result, event){ |
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="true" docType="html-5.0" sidebar="false"> | |
<apex:form > | |
<c:customrtf targetclass="mytextarea" rendered="true" toolbar="full"/> | |
<apex:inputTextarea styleClass="mytextarea" richText="false"/> | |
</apex:form> | |
</apex:page> |
OlderNewer