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
<aura:application > | |
<c:SampleCmp /> | |
</aura:application> |
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
<aura:component implements="force:appHostable" controller="myfirstltngController"> | |
<aura:attribute name="account" type="Account"/> | |
<aura:handler name="init" action="{!c.init}" value="{!this}"/> | |
{!v.account.Name} | |
<button onclick="{!c.save}">click</button> | |
</aura:component> |
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 with sharing class OpportunityCopyBatch implements Database.Batchable<sObject>, Database.Stateful { | |
/** | |
* コンストラクタ | |
*/ | |
public OpportunityCopyBatch() { | |
} | |
/** |
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
source 'https://rubygems.org' | |
ruby '2.2.2' (対象のRubyバージョン) | |
gem 'rails', '4.2.4' (対象のRailsバージョン) | |
gem 'bootstrap-sass', '~> 3.3.5' (Bootstrapが使える) | |
gem 'sprockets', '~> 3.3.3' (Railsで依存関係の管理やコンパイルなどをやってくれる) | |
(開発環境とテスト環境のみ対象) | |
group :development, :test do | |
gem 'sqlite3', '1.3.10' (sqlite3をインストール) |
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
source 'https://rubygems.org' | |
ruby '2.2.2' | |
gem 'rails', '4.2.4' | |
gem 'bootstrap-sass', '~> 3.3.5' | |
gem 'sprockets', '~> 3.3.3' | |
group :development, :test do | |
gem 'sqlite3', '1.3.10' | |
gem 'rspec-rails', '2.13.1' |
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="true"> | |
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<head> | |
<!-- Meta, title, CSS, favicons, etc. --> | |
<title>Salesforce Lightning Design System Trailhead Module</title> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta name="description" content="" /> | |
<meta name="keywords" content="" /> |
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="true"> | |
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<head> | |
<!-- Meta, title, CSS, favicons, etc. --> | |
<title>Salesforce Lightning Design System Trailhead Module</title> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta name="description" content="" /> | |
<meta name="keywords" content="" /> |
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" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0"> | |
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<head> | |
<title>Salesforce Lightning Design System Trailhead Module</title> | |
<apex:stylesheet value="{!URLFOR($Resource.SLDS080, 'assets/styles/salesforce-lightning-design-system-vf.css')}" /> | |
</head> | |
<body> | |
<div class="slds"> | |
<span class="slds-avatar slds-avatar--x-small"> | |
<img src="{!URLFOR($Resource.SLDS080, '/assets/images/avatar1.jpg')}" alt="meaningful text" /> |
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
<!DOCTYPE html> | |
<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" /> | |
<meta name="description" content="" /> | |
<meta name="author" content="" /> | |
<title>Bootstrap Template</title> | |
<%= stylesheet_link_tag "application", media: "all", |
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="Account"> | |
<apex:outputText value="{0,date}"> | |
<apex:param value="{!Account.CreatedDate}"/> | |
</apex:outputText><br/> | |
<apex:outputText value="{0,date}"> | |
<apex:param value="{!Account.CreatedDate}"/> | |
</apex:outputText> | |
</apex:page> |