jive-sdk
Version:
Node.js SDK for Jive Software to assist with the development of add-ons
38 lines (33 loc) • 1.24 kB
HTML
<html>
<head>
<link rel="stylesheet" type="text/css" href="{{{host}}}/stylesheets/bootstrap.min.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-authentication" class="j-card" style='display: none'>
<p>The remote system (Basecamp) requires you to grant access before proceeding.</p>
<button class="btn btn-primary" id="oauth">Grant Access</button>
</div>
<div id="j-card-configuration" class="j-card" style="...">
<div class="container-fluid">
<h4>Basecamp Project Activity Stream Configuration</h4>
<p>
<label>Post Activity:</label>
<input type="radio" id="on" name="post_activity" checked><label for="on">on</label>
<input type="radio" id="off" name="post_activity"><label for="off">off</label>
</p>
<p>
Project: <select id="projectList"></select>
</p>
<button class="btn btn-primary" id="btn_submit">Submit</button>
</div>
</div>
</body>
</html>