Skip to content

Instantly share code, notes, and snippets.

<apex:page controller="myController">
<apex:page standardController="Backlog__c" sidebar="false"
recordSetVar="items" showheader="false" standardStylesheets="false"
docType="html-5.0">
</apex:page>
<apex:page standardController="Backlog__c" sidebar="false"
recordSetVar="items" showheader="false" standardStylesheets="false"
docType="html-5.0">
<!-- Start of Snippet 2 -->
<table id="backitemTable" class="display card-panel white">
<thead>
<tr>
<th>Idea Name</th>
<th>Description</th>
<th>Points</th>
<apex:page standardController="Backlog__c" sidebar="false"
recordSetVar="items" showheader="false" standardStylesheets="false"
docType="html-5.0">
<!-- Snippet 3 / Add header -->
<head>
<title>Lunch and Learn</title>
</head>
<body> <!-- Snippet 3 / Add body -->
<table id="backitemTable" class="display card-panel white">
<thead>
<!-- Put the CSS style sheets inbetween the <head> and </head> tags -->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css" type="text/css"/>
<link rel="stylesheet" href="{!URLFOR($Resource.Backlog_Resources, 'css/style.css')}" type="text/css" />
<link rel="stylesheet" href="{!URLFOR($Resource.Backlog_Resources, 'css/materialize.min.css')}"/>
<link rel="stylesheet" href="{!URLFOR($Resource.Backlog_Resources, 'css/materialize.css')}"/>
<!-- Add these just before the </body> tag -->
<script src="{!URLFOR($Resource.BackLog_Resources, 'js/jquery.js')}"></script>
<script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"> </script>
<script src="{!URLFOR($Resource.BackLog_Resources, 'js/materialize.js')}"></script>
<script src="{!URLFOR($Resource.BackLog_Resources, 'js/init.js')}"></script>
<!-- Add this to top of <body> -->
<nav class="black text-white" role="navigation">
<div class="nav-wrapper container">
<a id="logo-container" href="#" class="brand-logo"></a>
<ul class="right hide-on-med-and-down">
<li><a class="white-text modal-trigger" href="#">New Page</a></li>
</ul>
<ul id="nav-mobile" class="side-nav">
<li><a id="mobileHelp" onclick="" class="modal-trigger" href="#">New Page</a></li>
</ul>
<!--Add this just after the </nav> tag inside the <body> -->
<div class="parallax-container">
<div id="index-banner">
<div class="section no-pad-bot">
<div class="container">
<h2 class="header center white-text text-accent-4">Lunch and Learn </h2>
<div class="row center">
<h5 class="header col s12 light">by Cirrus Student Developers</h5>
</div>
</div>
var SFserver = require("./conn.js");
var createRecord = require("./createRecord.js");
var http = require('http');
var conn = undefined;
//create a new record object
var newRecord = function() {
SFserver.Connect(function(err, connection) { //connect to sf
if(err) {
console.log(err);