this["JST"] = this["JST"] || {};

this["JST"]["assets/templates/config.html"] = function(obj) {
obj || (obj = {});
var __t, __p = '', __e = _.escape;
with (obj) {
__p += '<div ng-if="loading" class="container">\n\t<div class="row">\n\t\t<div class="col-md-12 well" style="text-align:center;">\n\t\t\t<h1>Loading Config...</h1>\n\t\t\t<img class="img-responsive" src="/images/loading.gif"  style="margin:0 auto;"/>\n\t\t</div>\n\t</div>\n</div>\n\n<div ng-if="!loading">\n\t<div ng-if="error" class="container">\n\t\t<div class="row">\n\t\t\t<div class="col-md=12">\n\t\t\t\t<h1>Error Caught!</h1>\n\t\t\t\t<pre>{{message}}</pre>\n\t\t\t\t<button ng-click="loadDashboard()" class="btn btn-large btn-danger"><i class="fa fa-refresh"></i> Reload Dashboard</button>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t<div ng-if="!error" class="container">\n\t\t<div class="row well">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<h1 ng-if="!loggerLoading">Logger Status:\n\t\t\t\t\t<span ng-if="loggerRunning" class="label label-success">Running</span>\n\t\t\t\t\t<span ng-if="!loggerRunning" class="label label-danger">Not Running</span>\n\t\t\t\t</h1>\n\t\t\t\t<h1 ng-if="loggerLoading">\n\t\t\t\t\t<span class="label label-warning">Checking Logger Status...</span>\n\t\t\t\t</h1>\n\t\t\t\t<button class="btn btn-primary btn-large" ng-click="checkLogger()">Check Logger</button> <button class="btn btn-warning btn-large" ng-click="restartLogger()">Restart Logger</button>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="row">\n\t\t\t<div class="col-md-6">\n\t\t\t\t<h1>Devices</h1>\n\t\t\t\t<button ng-click="getDevices()" class="btn btn-large btn-success"><i class="fa fa-refresh"></i> Reload Devices</button>\n\t\t\t\t<table class="table">\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>ID</th>\n\t\t\t\t\t\t\t<th>Address</th>\n\t\t\t\t\t\t\t<th>Type</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t<tr ng-repeat="device in devices">\n\t\t\t\t\t\t\t<td>{{device.id}}</td>\n\t\t\t\t\t\t\t<td>{{device.address}}</td>\n\t\t\t\t\t\t\t<td>{{device.device_type.dType}}</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\t\t\t</div>\n\n\t\t\t<div class="col-md-6">\n\t\t\t\t<h1>Configuration Parameters</h1>\n\t\t\t\t<button ng-click="loadConfig()" class="btn btn-large btn-success"><i class="fa fa-refresh"></i> Reload Config</button>\n\t\t\t\t<table class="table">\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>Parameter</th>\n\t\t\t\t\t\t\t<th>Value</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t<tr ng-repeat="param in config">\n\t\t\t\t\t\t\t<td>{{param.parameter}}</td>\n\t\t\t\t\t\t\t<td>{{param.val}}</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="row">\n\t\t\t<div class="col-md-6">\n\t\t\t\t<h2>New Device</h2>\n\t\t\t\t<form>\n\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t<label for="ip_address">IP Address</label>\n\t\t\t\t\t\t<input type="text" class="form-control" id="ip_address" ng-model="newDevice.address" placeholder="###.###.###.###">\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t<label for="device_type">Device Type</label>\n\t\t\t\t\t\t<select ng-model="newDevice.device_type" ng-options="t as t.dType for t in device_types track by t.id" class="form-control" id="device_type"></select>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<button class="btn btn-primary" ng-click="addDevice(newDevice)">Add Device</button>\n\t\t\t\t</form>\n\t\t\t</div>\n\n\t\t\t<div class="col-md-6">\n\t\t\t\t<h2>New Parameter</h2>\n\t\t\t\t<form>\n\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t<label for="pSelected">Parameter</label>\n\t\t\t\t\t\t<select class="form-control" id="pSelected" ng-model="newParam.pSelected">\n\t\t\t\t\t\t\t<option value="ip_address">PLC IP Address</option>\n\t\t\t\t\t\t\t<option value="scan_rate">Scan Rate</option>\n\t\t\t\t\t\t\t<option value="other">Other</option>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class="form-group" ng-if="newParam.pSelected==\'other\'">\n\t\t\t\t\t\t<label for="pEntry">Parameter Entry</label>\n\t\t\t\t\t\t<input type="text" class="form-control" id="val" ng-model="newParam.pEntry" placeholder="Parameter Name">\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t<label for="val">Value</label>\n\t\t\t\t\t\t<input type="text" class="form-control" id="val" ng-model="newParam.val" placeholder="Parameter Value">\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<button class="btn btn-primary" ng-click="addParameter()">Set Parameter</button>\n\t\t\t\t</form>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n';

}
return __p
};

this["JST"]["assets/templates/dashboard.html"] = function(obj) {
obj || (obj = {});
var __t, __p = '', __e = _.escape;
with (obj) {
__p += '<div ng-if="loading" class="container">\n\t<div class="row">\n\t\t<div class="col-md-12 well" style="text-align:center;">\n\t\t\t<h1>Loading Dashboard...</h1>\n\t\t\t<img class="img-responsive" src="/images/loading.gif"  style="margin:0 auto;"/>\n\t\t</div>\n\t</div>\n</div>\n\n<div ng-if="!loading">\n\t<div ng-if="error" class="container">\n\t\t<div class="row">\n\t\t\t<div class="col-md=12">\n\t\t\t\t<h1>Error Caught!</h1>\n\t\t\t\t<pre>{{message}}</pre>\n\t\t\t\t<button ng-click="loadDashboard()" class="btn btn-large btn-danger"><i class="fa fa-refresh"></i> Reload Dashboard</button>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t<div ng-if="!error" class="container">\n\t\t<div class="row">\n\t\t\t<button ng-click="loadDashboard()" class="btn btn-large btn-success"><i class="fa fa-refresh"></i> Reload Dashboard</button>\n\t\t\t<a href="/csv/all" class="btn btn-large btn-primary"><i class="fa fa-download"></i> Download All Data</a>\n\t\t\t<div ng-repeat="val in vals">\n\t\t\t\t<div class="col-md-4" style="height:200px; margin-bottom:40px;">\n\t\t\t\t\t<just-gage id="{{val.name}}" min=\'val.minExpected\' max=\'val.maxExpected\' value=\'val.val\' options="{label:val.units,title:val.name, decimals:2, refreshAnimationType:\'bounce\', startAnimationType:\'bounce\'}"></just-gage>\n\t\t\t\t\t<div style="text-align:center">\n\t\t\t\t\t\t<h5>{{ val.dtime | date: \'medium\'}}</h5>\n\t\t\t\t\t\t<a href="/#/tag/{{val.t_id}}" class="btn btn-large btn-primary"><i class="fa fa-line-chart"></i> View Data</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n';

}
return __p
};

this["JST"]["assets/templates/tagVals.html"] = function(obj) {
obj || (obj = {});
var __t, __p = '', __e = _.escape;
with (obj) {
__p += '<style>\n.padMe {\n\tmargin: 10px 20px;\n}\n\n.timeLabel {\n\tfont-size: 1.2em;\n}\n\n</style>\n\n<div ng-if="loading" class="container">\n\t<div class="row">\n\t\t<div class="col-md-12 well" style="text-align:center;">\n\t\t\t<h1>Loading Tag data...</h1>\n\t\t\t<img class="img-responsive" src="/images/loading.gif"  style="margin:0 auto;"/>\n\t\t</div>\n\t</div>\n</div>\n\n<div ng-if="!loading">\n\t<div ng-if="error" class="container">\n\t\t<div class="row">\n\t\t\t<div class="col-md=12">\n\t\t\t\t<h1>Error Caught!</h1>\n\t\t\t\t<pre>{{message}}</pre>\n\t\t\t\t<button ng-click="loadTagVals()" class="btn btn-large btn-danger"><i class="fa fa-refresh"></i> Reload Values</button>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t<div ng-if="!error" class="container">\n\t\t<div class="row" style="margin-bottom:20px;">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<h1>{{tag.name}}</h1>\n\t\t\t\t<div class="row row-flex">\n\t\t\t\t\t<div class="col-md-4">\n\t\t\t\t\t\t<span class="timeLabel">From: </span><quick-datepicker ng-model=\'startDatetime\'></quick-datepicker>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="col-md-4">\n\t\t\t\t\t\t<span class="timeLabel">To: </span><quick-datepicker ng-model=\'endDatetime\'></quick-datepicker>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="col-md-3">\n\t\t\t\t\t\t<button ng-click="loadTagVals(startDatetime, endDatetime)" class="btn btn-large btn-success padMe"><i class="fa fa-refresh"></i> Reload Values</button>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="tagChart" style="height:400px;">\n\t\t\t\t\t<linechart data="data" options="options"></linechart>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="row topMargin40">\n\t\t\t<div class="col-md-12">\n\n\t\t\t\t<a href="/csv/{{tags_to_get}}/{{startDatetime | dString}}/{{endDatetime | dString }}" class="btn btn-large btn-primary padMe"><i class="fa fa-download"></i> Download Data</a>\n\t\t\t\t<button class="btn btn-warning" type="button" data-toggle="collapse" data-target="#collapseJSON" aria-expanded="false" aria-controls="collapseJSON">\n  \t\t\t\t\tShow Source Data\n\t\t\t\t</button>\n\t\t\t\t<div class="collapse" id="collapseJSON">\n\t\t\t\t\t<pre>{{table_vals | json}}</pre>\n\t\t\t\t</div>\n\t\t\t\t<!-- <table class="table">\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td>ID</td>\n\t\t\t\t\t\t\t<td>Value</td>\n\t\t\t\t\t\t\t<td>Date Added</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t<tr ng-repeat="val in data.vals">\n\t\t\t\t\t\t\t<td>{{val.id}}</td>\n\t\t\t\t\t\t\t<td>{{val.val}} {{tag.units}}</td>\n\t\t\t\t\t\t\t<td>{{val.dtime | date:\'short\'}}</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tbody>\n\t\t\t\t</table> -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n';

}
return __p
};

this["JST"]["assets/templates/tags.html"] = function(obj) {
obj || (obj = {});
var __t, __p = '', __e = _.escape;
with (obj) {
__p += '<div class="modal fade" id="addModal">\n    <div class="modal-dialog">\n        <div class="modal-content">\n            <div class="modal-header">\n                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\n                <h4 class="modal-title">Add a New Tag...</h4>\n            </div>\n            <div class="modal-body">\n                <div class="well" ng-if="message"><h3 class="text-danger">{{message}}</h3></div>\n                <form>\n                    <div class="form-group">\n                        <label for="data_source">Data Source</label>\n                        <select ng-model="newTag.deviceID" ng-options="d as d.address for d in devices track by d.id" class="form-control" id="data_source"></select>\n                    </div>\n                    <div class="form-group">\n                        <label for="tag">Tag</label>\n                        <input type="text" ng-model="newTag.tag" class="form-control" id="tag" placeholder="Tag Name Here">\n                    </div>\n                    <div class="form-group">\n                        <label for="name">Name</label>\n                        <input type="text" ng-model="newTag.name" class="form-control" id="name" placeholder="Vanity Name Here">\n                    </div>\n                    <div class="form-group">\n                        <label for="description">Description</label>\n                        <input type="textarea" ng-model="newTag.description" class="form-control" id="description" placeholder="Tag Description Here">\n                    </div>\n                    <div class="form-group">\n                        <label for="data_type">Data Type</label>\n                        <select ng-model="newTag.data_type" ng-options="t as t.data_type for t in data_types track by t.id" class="form-control" id="data_type"></select>\n                    </div>\n                    <div class="col-md-5">\n                        <div class="form-group">\n                            <label for="minExpected">Minimum Value Expected</label>\n                            <input type="number" ng-model="newTag.minExpected" class="form-control" id="minExpected" placeholder="0">\n                        </div>\n                    </div>\n                    <div class="col-md-5">\n                        <div class="form-group">\n                            <label for="maxExpected">Maximum Value Expected</label>\n                            <input type="number" ng-model="newTag.maxExpected" class="form-control" id="maxExpected" placeholder="100">\n                        </div>\n                    </div>\n                    <div class="col-md-2">\n                        <div class="form-group">\n                            <label for="units">Units</label>\n                            <input type="text" ng-model="newTag.units" class="form-control" id="units" placeholder="lbs, PSI, in, etc.">\n                        </div>\n                    </div>\n                    <div class="col-md-6">\n                        <div class="form-group">\n                            <label for="change_threshold">Change Threshold</label>\n                            <input type="number" ng-model="newTag.change_threshold" class="form-control" id="change_threshold" placeholder="0">\n                        </div>\n                    </div>\n                    <div class="col-md-6">\n                        <div class="form-group">\n                            <label for="guarantee_sec">Guarantee Sec.</label>\n                            <input type="number" ng-model="newTag.guarantee_sec" class="form-control" id="guarantee_sec" placeholder="3600">\n                        </div>\n                    </div>\n                </form>\n            </div>\n            <div class="modal-footer">\n                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>\n                <button type="button" class="btn btn-primary" ng-click="submitAddTag();" data-dismiss="modal">Add Tag</button>\n            </div>\n        </div><!-- /.modal-content -->\n    </div><!-- /.modal-dialog -->\n</div><!-- /.modal -->\n\n\n<div class="modal fade" id="editModal">\n    <div class="modal-dialog">\n        <div class="modal-content">\n            <div class="modal-header">\n                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\n                <h4 class="modal-title">Edit a Tag...</h4>\n            </div>\n            <div class="modal-body">\n                <div class="well" ng-if="message"><h3 class="text-danger">{{message}}</h3></div>\n                <form>\n                    <div class="form-group">\n                        <label for="data_source">Data Source</label>\n                        <select ng-model="editTag.deviceID" ng-options="d as d.address for d in devices track by d.id" class="form-control" id="data_source"></select>\n                    </div>\n                    <div class="form-group">\n                        <label for="tag">Tag Name</label>\n                        <input type="text" ng-model="editTag.tag" class="form-control" id="tag" placeholder="Tag Name Here">\n                    </div>\n                    <div class="form-group">\n                        <label for="name">Vanity Name</label>\n                        <input type="text" ng-model="editTag.name" class="form-control" id="name" placeholder="Vanity Name Here">\n                    </div>\n                    <div class="form-group">\n                        <label for="description">Description</label>\n                        <input type="textarea" ng-model="editTag.description" class="form-control" id="description" placeholder="Tag Description Here">\n                    </div>\n                    <div class="form-group">\n                        <label for="data_type">Data Type</label>\n                        <select ng-model="editTag.data_type" ng-options="t as t.data_type for t in data_types track by t.id" class="form-control" id="data_type"></select>\n                    </div>\n                    <div class="col-md-5">\n                        <div class="form-group">\n                            <label for="minExpected">Minimum Value Expected</label>\n                            <input type="number" ng-model="editTag.minExpected" class="form-control" id="minExpected" placeholder="0">\n                        </div>\n                    </div>\n                    <div class="col-md-5">\n                        <div class="form-group">\n                            <label for="maxExpected">Maximum Value Expected</label>\n                            <input type="number" ng-model="editTag.maxExpected" class="form-control" id="maxExpected" placeholder="100">\n                        </div>\n                    </div>\n                    <div class="col-md-2">\n                        <div class="form-group">\n                            <label for="units">Units</label>\n                            <input type="text" ng-model="editTag.units" class="form-control" id="units" placeholder="lbs, PSI, in, etc.">\n                        </div>\n                    </div>\n                    <div class="col-md-6">\n                        <div class="form-group">\n                            <label for="change_threshold">Change Threshold</label>\n                            <input type="number" ng-model="editTag.change_threshold" class="form-control" id="change_threshold" placeholder="0">\n                        </div>\n                    </div>\n                    <div class="col-md-6">\n                        <div class="form-group">\n                            <label for="guarantee_sec">Guarantee Sec.</label>\n                            <input type="number" ng-model="editTag.guarantee_sec" class="form-control" id="guarantee_sec" placeholder="3600">\n                        </div>\n                    </div>\n                </form>\n                <pre>{{editTag}}</pre>\n            </div>\n            <div class="modal-footer">\n                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>\n                <button type="button" class="btn btn-primary" ng-click="submitEditTag();" data-dismiss="modal">Submit Tag Edits</button>\n            </div>\n        </div><!-- /.modal-content -->\n    </div><!-- /.modal-dialog -->\n</div><!-- /.modal -->\n\n\n<div class="modal fade" id="deleteModal">\n    <div class="modal-dialog">\n        <div class="modal-content">\n            <div class="modal-header">\n                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\n                <h4 class="modal-title">Are you sure?</h4>\n            </div>\n            <div class="modal-body">\n                <div class="well" ng-if="message"><h3 class="text-danger">{{message}}</h3></div>\n                <h3>Are you sure you want to delete the tag {{dTag.name}} ({{dTag.tag}})?</h3>\n            </div>\n            <div class="modal-footer">\n                <button type="button" class="btn btn-primary" data-dismiss="modal">NO!!!!!!</button>\n                <button type="button" class="btn btn-danger" ng-click="deleteTag(dTag.id);" data-dismiss="modal">Heck yes, delete it!</button>\n            </div>\n        </div><!-- /.modal-content -->\n    </div><!-- /.modal-dialog -->\n</div><!-- /.modal -->\n\n<div class="modal fade" id="clearTagDataModal">\n    <div class="modal-dialog">\n        <div class="modal-content">\n            <div class="modal-header">\n                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\n                <h4 class="modal-title">Are you sure?</h4>\n            </div>\n            <div class="modal-body">\n                <div class="well" ng-if="message"><h3 class="text-danger">{{message}}</h3></div>\n                <h3>Are you sure you want to delete the data for tag {{dTagValues.name}} ({{dTagValues.tag}})?</h3>\n            </div>\n            <div class="modal-footer">\n                <button type="button" class="btn btn-primary" data-dismiss="modal">NO!!!!!!</button>\n                <button type="button" class="btn btn-danger" ng-click="deleteTagValues(dTagValues.id);" data-dismiss="modal">Heck yes, delete it!</button>\n            </div>\n        </div><!-- /.modal-content -->\n    </div><!-- /.modal-dialog -->\n</div><!-- /.modal -->\n\n\n\n\n<div ng-if="loading" class="container">\n\t<div class="row">\n\t\t<div class="col-md-12 well" style="text-align:center;">\n\t\t\t<h1>Loading Tags..</h1>\n\t\t\t<img class="img-responsive" src="/images/loading.gif"  style="margin:0 auto;"/>\n\t\t</div>\n\t</div>\n</div>\n\n<div ng-if="!loading">\n\t<div ng-if="error" class="container">\n\t\t<div class="row">\n\t\t\t<div class="col-md=12">\n\t\t\t\t<h1>Error Caught!</h1>\n\t\t\t\t<pre>{{message}}</pre>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t<div ng-if="!error" class="container">\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addModal">\n                    Add Tag\n                </button>\n\t\t\t\t<table class="table">\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n                            <td></td>\n\t\t\t\t\t\t\t<td>ID</td>\n\t\t\t\t\t\t\t<td>Name</td>\n\t\t\t\t\t\t\t<td>Min Expected Value</td>\n\t\t\t\t\t\t\t<td>Max Expected Value</td>\n\t\t\t\t\t\t\t<td>Units</td>\n\t\t\t\t\t\t\t<td></td>\n                            <td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t<tr ng-repeat="tag in tags">\n                            <td><input type="checkbox" ng-model="tag.selectedForPlot" ng-change="getPlotTags()"></input></td>\n\t\t\t\t\t\t\t<td>{{tag.id}}</td>\n\t\t\t\t\t\t\t<td><a href="/#/tag/{{tag.id}}">{{tag.name}}</a>  <i class="fa fa-info-circle" data-toggle="popover" title="{{tag.name}}" data-content="Tag Name: {{tag.tag}} </br>Details: {{tag.description}}<br/>Type: {{tag.data_type}}"></i></td>\n\t\t\t\t\t\t\t<td>{{tag.minExpected}}</td>\n\t\t\t\t\t\t\t<td>{{tag.maxExpected}}</td>\n\t\t\t\t\t\t\t<td>{{tag.units}}</td>\n\t\t\t\t\t\t\t<td><button data-toggle="modal" data-target="#editModal" ng-click="openEditTag(tag.id)" class="btn btn-primary">Edit</button></td>\n                            <td><button data-toggle="modal" data-target="#clearTagDataModal" ng-click="openClearTagData(tag.id)" class="btn btn-primary">Clear Data</button></td>\n\t\t\t\t\t\t\t<td><button data-toggle="modal" data-target="#deleteModal" ng-click="openDeleteTag(tag.id)" class="btn btn-danger">Delete</button></td>\n\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t$(document).ready(function(){\n\t\t\t\t\t\t\t\t    $(\'[data-toggle="popover"]\').popover({html: true});\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t</script>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n                <a ng-if="tags_to_plot" class="btn btn-success" href="/#/tag/{{tags_to_plot}}">\n                    Compare Tags\n                </a>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n';

}
return __p
};