Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes">
  2. <ltng:require scripts="{!join(',',
  3. $Resource.jQuery_3_1_1)}"
  4. afterScriptsLoaded="{!c.onScriptLoaded}"/>
  5.  
  6. <aura:attribute name="hasreCaptchaVerified" type="Boolean" default="false" />
  7.  
  8. <aura:attribute name="hostUrl" type="String" />
  9. <aura:attribute name="recaptchaPageName" type="String" default="apex/reCaptcha"/>
  10. <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
  11.  
  12. <div>
  13. <div class="slds-align_absolute-center container">
  14. <lightning:layout horizontalAlign="center" verticalAlign="center" multipleRows="true" class="slds-box outer-box">
  15. <!-- Captcha Section-->
  16. <lightning:layoutItem size="12" class="slds-m-top_small recaptcha-section">
  17. <iframe src="{!v.hostUrl + '/' + v.recaptchaPageName}" frameborder="0" width="100%" allowtransparency="true" id="recaptchaFrame" class="recaptchaFrame "/>
  18. </lightning:layoutItem>
  19.  
  20. <lightning:layoutItem size="12" class="slds-m-top_small recaptcha-section">
  21. <div class="slds-text-color_error">Is Verified : {!v.hasreCaptchaVerified}</div>
  22. </lightning:layoutItem>
  23. </lightning:layout>
  24. </div>
  25. </div>
  26.  
  27.  
  28. </aura:component>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement