jive-sdk
Version:
Node.js SDK for Jive Software to assist with the development of add-ons
55 lines (44 loc) • 1.59 kB
HTML
<html>
<head>
<link rel="stylesheet" type="text/css" href="{{{host}}}/stylesheets/style.css">
<link rel="stylesheet" type="text/css" href="{{{host}}}/stylesheets/sfdc.css">
<script src="{{{host}}}/javascripts/jquery-1.8.3.js"></script>
<script src="{{{host}}}/javascripts/oauth2client.js"></script>
<script src="{{{host}}}/{{{TILE_NAME}}}/javascripts/main.js"></script>
<script>
$(document).ready( function() {
doIt( '{{{host}}}');
});
</script>
</head>
<body>
<div id="j-card-authurl-error" class="j-card">
<p>An error was encountered while contacting the backend server to start authentication with Salesforce:</p>
<p><pre id="j-error"></pre></p>
<p>Please cancel and try again later.</p>
<button class="btn-cancel">Cancel</button>
</div>
<div id="j-card-loading" class="j-card">
<p>Loading opportunities...</p>
</div>
<div id="j-card-rejected" class="j-card">
<p>The remote system (Salesforce) rejected your access grant:</p>
<p><pre class="j-error"></pre></p>
<p>Please cancel and try again later.</p>
<button class="btn-cancel">Cancel</button>
</div>
<div id="j-card-authentication" class="j-card">
<p>The remote system (Salesforce) requires you to grant access before proceeding.</p>
<button id="oauth">Grant Access</button>
</div>
<div id="j-card-configuration" class="j-card">
<h2>Configuration</h2>
<p>
Opportunity
<select id="select_opportunity">
</select>
<button id="btn_done">Close</button>
</p>
</div>
</body>
</html>