jive-sdk
Version:
Node.js SDK for Jive Software to assist with the development of add-ons
113 lines (102 loc) • 3.79 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 lang="en">
<head>
<link rel="stylesheet" type="text/css" href="{{{host}}}/stylesheets/bootstrap.min.css">
<style type="text/css">
table.gridtable {
font-family: verdana,arial,sans-serif;
font-size:11px;
color:#333333;
border-width: 1px;
border-color: #666666;
border-collapse: collapse;
}
table.gridtable th {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #666666;
background-color: #dedede;
}
table.gridtable td {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #666666;
background-color: #ffffff;
}
</style>
<meta http-equiv="Content-Type" value="text/html; charset=utf-8" />
<title>New Relic Tile Action</title>
</head>
<body>
<div class="container-fluid" id="issue-panel">
<div class="container-fluid">
<h4><span id=appName>Placeholder for Application Name</span></h4>
<!--
<h5>Description</h5>
<span id="description">Placeholder for Description</span>
-->
<p>
<button class="btn btn-primary" id="newrelicview">View In New Relic</button>
</p>
</div>
<div class="container-fluid" id="issue-table" style="display:none">
<!-- <table class="table table-striped table-condensed table-bordered" style="border: 1px solid"> -->
<table style="border: 1px solid">
<!--Issues-->
</table>
</div>
<table id="metrics" class="gridtable">
</table>
<hr>
<div class="container-fluid">
<div class="alert-area" style="display:none">
<!-- area for alerts to appear -->
</div>
<label>Share With</label>
<p><small>Leave this blank to share to this place.</small></p>
<label> To:</label>
<input type="text" id="people" size="48" data-provide="typeahead" style="resize:none">
<div class="container-fluid" id="shared-people">
<!--Shared People-->
</div>
<br>
<label> Subject:</label>
<input class="span6" type="text" size="48" id="subject">
<p>
<label>Message:</label>
<textarea class="span6" cols="50" rows="5" id="message" style="resize:none"></textarea>
</p>
<br>
<button class="btn btn-primary" id="create-discussion">Create Discussion</button>
<button class="btn btn-primary" id="btn_done">Close Window</button>
</div>
</div>
<script src="{{{host}}}/javascripts/jquery-1.10.2.js"></script>
<script src="{{{host}}}/javascripts/bootstrap.min.js"></script>
<script src="{{{host}}}/{{{TILE_NAME}}}/javascripts/action.js"></script>
<script>
jive.tile.onOpen(function(config, options) {
var host = "{{{host}}}";
//debugger;
initialize(config, options, host);
});
</script>
</body>
</html>