Minor fixes for the widget
Change-Id: I8a2be3202a49e948c92200b6cc7d3f4c90807f0f
This commit is contained in:
parent
24816f7704
commit
fd99717581
@ -338,7 +338,6 @@ function init_selectors(base_url) {
|
||||
};
|
||||
},
|
||||
results: function (data, page) {
|
||||
$("#metric").val(data["default"]);
|
||||
return {results: data["metrics"]};
|
||||
}
|
||||
},
|
||||
|
@ -1,8 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Stackalytics Widget</title>
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<title>Stackalytics Widget</title>
|
||||
@ -41,7 +39,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var base_url = "http://localhost:5000";
|
||||
var base_url = "http://stackalytics.com";
|
||||
|
||||
$(document).ready(function () {
|
||||
init_selectors(base_url);
|
||||
@ -107,8 +105,7 @@
|
||||
<li><a href="#tabs-2">By modules</a></li>
|
||||
</ul>
|
||||
<div id="tabs-1">
|
||||
<div id="company_chart"
|
||||
style="width: 100%; height: 260px; background-color: white"></div>
|
||||
<div id="company_chart" style="width: 100%; height: 260px;"></div>
|
||||
</div>
|
||||
<div id="tabs-2">
|
||||
<div id="module_chart" style="width: 100%; height: 260px;"></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user