jive-sdk
Version:
Node.js SDK for Jive Software to assist with the development of add-ons
79 lines (70 loc) • 2.78 kB
HTML
<!--/*-->
<!--* Copyright 2013 Jive Software-->
<!--*-->
<!--* Licensed under the Apache License, Version 2.0 (the "License");-->
<!--* you may not use this file except in compliance with the License.-->
<!--* You may obtain a copy of the License at-->
<!--*-->
<!--* http://www.apache.org/licenses/LICENSE-2.0-->
<!--*-->
<!--* Unless required by applicable law or agreed to in writing, software-->
<!--* distributed under the License is distributed on an "AS IS" BASIS,-->
<!--* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-->
<!--* See the License for the specific language governing permissions and-->
<!--* limitations under the License.-->
<!--*/-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="{{{host}}}/stylesheets/bootstrap.min.css">
<meta http-equiv="Content-Type" value="text/html; charset=utf-8" />
<title>JIRA Tile Action</title>
</head>
<body>
<div class="container-fluid" id="issue-panel">
<div class="container-fluid">
<button class="btn btn-primary" id="jiraview">View In JIRA</button>
</div>
<hr>
<div class="container-fluid" id="issue-table" style="display:none">
<table class="table table-striped table-condensed table-bordered" style="border: 1px solid">
<!--Issues-->
</table>
</div>
<div class="container-fluid">
<div class="alert-area" style="display:none">
<!-- area for alerts to appear -->
</div>
<div>
<label>Subject:</label><br>
<input type="text" id="subject" style="resize:none; width: 400px">
</div>
<div>
<label>Message:</label><br>
<textarea class="span6" cols=60 rows=3 id="message" style="resize:none; width: 400px"></textarea>
</div>
<div>
<label>Share With</label>
<p><small>Leave this blank to share to this place.</small></p>
<input type="text" id="people" data-provide="typeahead" style="resize:none; width: 400px">
<div class="container-fluid" id="shared-people">
<!--Shared People-->
</div>
</div>
<br>
<button class="btn btn-primary" id="create-discussion">Create Discussion</button>
</div>
</div>
<script src="{{{host}}}/javascripts/jQuery-1.10.2.js"></script>
<script src="{{{host}}}/javascripts/jquery.base64.min.js"></script>
<script src="{{{host}}}/javascripts/bootstrap.min.js"></script>
<script src="{{{host}}}/{{{TILE_NAME}}}/action.js"></script>
<script>
{{=<% %>=}}
jive.tile.onOpen(function(config, options) {
initialize(config, options, "{{{host}}}", "{{{jira_host}}}");
});
<%={{ }}=%>
</script>
</body>
</html>