88 lines
4.7 KiB
Plaintext
88 lines
4.7 KiB
Plaintext
<apex:page controller="addController" lightningStyleSheets="true" showHeader="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0" standardStylesheets="false" >
|
|
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
|
<title>Salesforce Lightning Design System Trailhead Module</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<!-- Import the Design System style sheet -->
|
|
|
|
<style>
|
|
|
|
</style>
|
|
<apex:slds />
|
|
</head>
|
|
|
|
<body>
|
|
<!-- REQUIRED SLDS WRAPPER -->
|
|
<div class="slds-scope">
|
|
|
|
|
|
|
|
<apex:form id="my_form">
|
|
<apex:pageBlock >
|
|
<apex:pageMessages />
|
|
|
|
<div class="slds-align_absolute-center slds-m-top_xx-large" >
|
|
<article class="slds-card" style="background:#16325c">
|
|
<div class="slds-card__body slds-card__body_inner ">
|
|
|
|
<div class="slds-form-element" >
|
|
|
|
<div class="slds-text-align_center slds-text-heading_medium slds-text-color_inverse slds-p-vertical_medium">Create New Contact</div>
|
|
<label class="slds-form-element__label slds-text-color_inverse" for="form-element-01" style="font-size: 16px;">First Name</label>
|
|
<apex:input value="{!FirstName}">
|
|
<apex:actionSupport event="onchange" action="{!change}" />
|
|
</apex:input>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="slds-form-element slds-p-vertical_medium">
|
|
|
|
<label class="slds-form-element__label slds-text-color_inverse " for="form-element-01" style="font-size: 16px;">Last Name</label>
|
|
<apex:input value="{!LastName}">
|
|
<apex:actionSupport event="onchange" action="{!change}" />
|
|
</apex:input>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="slds-form-element">
|
|
<label class="slds-form-element__label slds-text-color_inverse" for="form-element-01" style="font-size: 16px;">Enter Email</label>
|
|
<apex:input value="{!Email}">
|
|
<apex:actionSupport event="onchange" action="{!change}" />
|
|
</apex:input> <p/>
|
|
</div>
|
|
|
|
|
|
<div class="slds-p-vertical_medium">
|
|
<label class="slds-form-element__label slds-text-color_inverse" for="form-element-01 " style="font-size: 16px;">Enter Phone</label>
|
|
<apex:input value="{!Phone}">
|
|
<apex:actionSupport event="onchange" action="{!change}" />
|
|
</apex:input> <p/>
|
|
</div>
|
|
|
|
<div class="slds-p-vertical_medium">
|
|
<div class="slds-align_absolute-center" >
|
|
<apex:commandButton value="Save" disabled="{!disabl}" action="{!insertOpp}"/>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
</div>
|
|
|
|
</apex:pageBlock>
|
|
</apex:form>
|
|
</div>
|
|
<!-- JAVASCRIPT -->
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|
|
</apex:page> |