Skip to content

Commit

Permalink
Remove rendering of graphs with Flot in host and cluster view since i…
Browse files Browse the repository at this point in the history
…t's broken
  • Loading branch information
vvuksan committed Oct 12, 2015
1 parent a08ecf4 commit 918ff72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
11 changes: 0 additions & 11 deletions templates/default/cluster_view.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -166,17 +166,6 @@ $(function() {
});
</script>

{if $graph_engine == "flot"}
<script language="javascript" type="text/javascript" src="js/jquery.flot.min.js"></script>
<script type="text/javascript" src="js/create-flot-graphs.js"></script>
<style type="text/css">
.flotgraph2 {
height: {$graph_height}px;
width: {$graph_width}px;
}
</style>
{/if}

<style type="text/css">
.toggler { width: 500px; height: 200px; }
a.button { padding: .15em 1em; text-decoration: none; }
Expand Down
24 changes: 0 additions & 24 deletions templates/default/host_view.tpl
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
<!-- Begin host_view.tpl -->
<style type="text/css">
/* don't display legends for these small graphs */
.flotlegend, .flotlegendtoplabel {
display: none !important;
}
.flotheader {
margin-top: 2em;
}
.flottitle {
padding-right: 4em;
font-weight: bold;
}
</style>
<script type="text/javascript">
var SEPARATOR = "_|_";
var ALL_GROUPS = "ALLGROUPS";
Expand Down Expand Up @@ -243,17 +230,6 @@ $(function() {
});
</script>

{if $graph_engine == "flot"}
<script language="javascript" type="text/javascript" src="js/jquery.flot.min.js"></script>
<script type="text/javascript" src="js/create-flot-graphs.js"></script>
<style type="text/css">
.flotgraph2 {
height: {$graph_height}px;
width: {$graph_width}px;
}
</style>
{/if}

<style type="text/css">
.toggler { width: 500px; height: 200px; }
#effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
Expand Down

0 comments on commit 918ff72

Please sign in to comment.