Last active
July 1, 2020 21:45
-
-
Save salesforceBen/6526e2e8663460e4ce2910d8a190eeff to your computer and use it in GitHub Desktop.
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="CSVParser" docType="html-5.0" lightningStylesheets="false" showHeader="false" sidebar="false" standardStylesheets="false"> | |
<head lang="en"> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | |
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js" /> | |
<apex:includeScript value="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.1.0/papaparse.js"/> | |
<!--<apex:includeScript value="{!$Resource.papaparse2}"/>--> | |
<link rel="stylesheet" href="https:maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/> | |
<link rel="stylesheet" href="https:maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"/> | |
<div class="main"> | |
<form class="form-inline"> | |
<div class="form-group"> | |
<label for="files">Upload a CSV formatted file:</label> | |
<input type="file" id="files" class="form-control" /> | |
</div> | |
<div class="form-group"> | |
<button type="submit" id="submit" class="btn btn-primary">Submit</button> | |
</div> | |
</form> | |
<div id="app"></div> | |
</div> | |
</head> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment