CC-4737: Listener stats should take up the full screen
- fixed
This commit is contained in:
parent
343c0922a2
commit
e1e8160e53
|
@ -2,6 +2,5 @@
|
|||
<?php echo _("Listener Count Over Time")?><br>
|
||||
<div id="flot_placeholder" style="width:600px;height:300px;margin:0px 50px 0px 50px"></div>
|
||||
<div id="legend" style="width:600px;height:70px;margin:0px 50px 0px 50px"></div>
|
||||
<?php echo $this->date_form; ?>
|
||||
|
||||
<div id="date_form" style="margin:0px 50px 0px 50px"><?php echo $this->date_form; ?></div>
|
||||
</div>
|
|
@ -5,6 +5,12 @@ $(document).ready(function() {
|
|||
dateEndId = "#his_date_end",
|
||||
timeEndId = "#his_time_end";
|
||||
|
||||
// set width dynamically
|
||||
var width = $("#content").width();
|
||||
width = width - 120;
|
||||
$("#listenerstat_content").find("#flot_placeholder").width(width);
|
||||
$("#listenerstat_content").find("#legend").width(width);
|
||||
|
||||
getDataAndPlot();
|
||||
|
||||
listenerstat_content.find("#his_submit").click(function(){
|
||||
|
|
Loading…
Reference in New Issue