jive-sdk
Version:
Node.js SDK for Jive Software to assist with the development of add-ons
38 lines (31 loc) • 1.04 kB
HTML
<html>
<head>
<link rel="stylesheet" type="text/css" href="{{{host}}}/stylesheets/style.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 (GitHub) requires you to grant access before proceeding.</p>
<button id="oauth">Grant Access</button>
</div>
<div id="j-card-configuration" class="j-card" style="...">
<h2>Configuration</h2>
<p>
Post Activity:
<input type="radio" value="on" name="post_activity">on
<input type="radio" value="off" name="post_activity">off
</p>
<p>
Repository: <select id="repoList"></select>
</p>
<button id="btn_submit">Submit</button>
</div>
</body>
</html>