responsive graphs
by sym3tri
HTML
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no"></meta>
</head>
<body>
<div class="container">
<div class="row">
<h2>My Server</h2>
</div>
<div class="row">
<div class="col col-lg-9 panel">
<h4>My Check</h4>
<div class="row">
<div class="col col-lg-12">
<div class="row graph-group">
<div class="graph-container " id="container1a"></div>
<div class="graph-container " id="container2a"></div>
<div class="graph-container " id="container3a"></div>
<div class="graph-container " id="container4a"></div>
<div class="graph-container " id="container5a"></div>
</div>
</div>
</div>
</div>
<div class="col col-lg-3">
<div class="panel sidebar">
sidebar
</div>
</div>
</div>
</div>
</body>
</html>
CSS
/*!
* Bootstrap v3.0.0
*
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world by @mdo and @fat.
*/
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
video {
display: inline-block;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden] {
display: none;
}
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
margin: 0;
}
a:focus {
outline: thin dotted;
}
a:active,
a:hover {
outline: 0;
}
h1 {
margin: 0.67em 0;
font-size: 2em;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
hr {
height: 0;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
mark {
color: #000;
background: #ff0;
}
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
pre {
white-space: pre-wrap;
}
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
small {
font-size: 80%;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
img {
border: 0;
}
svg:not(:root) {
overflow: hidden;
}
figure {
margin: 0;
}
fieldset {
padding: 0.35em 0.625em 0.75em;
margin: 0 2px;
border: 1px solid #c0c0c0;
}
legend {
padding: 0;
border: 0;
}
button,
input,
select,
textarea {
margin: 0;
font-family: inherit;
font-size: 100%;
}
button,
input {
line-height: normal;
}
button,
select {
text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
-webkit-appearance: button;
}
button[disabled],
html input[disabled] {
cursor:...
JavaScript
!function(t){var n,e,r;!function(t){function i(t,n){return b.call(t,n)}function a(t,n){var e,r,i,a,o,u,c,s,l,f,h=n&&n.split("/"),d=v.map,g=d&&d["*"]||{};if(t&&"."===t.charAt(0))if(n){for(h=h.slice(0,h.length-1),t=h.concat(t.split("/")),s=0;s<t.length;s+=1)if(f=t[s],"."===f)t.splice(s,1),s-=1;else if(".."===f){if(1===s&&(".."===t[2]||".."===t[0]))break;s>0&&(t.splice(s-1,2),s-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((h||g)&&d){for(e=t.split("/"),s=e.length;s>0;s-=1){if(r=e.slice(0,s).join("/"),h)for(l=h.length;l>0;l-=1)if(i=d[h.slice(0,l).join("/")],i&&(i=i[r])){a=i,o=s;break}if(a)break;!u&&g&&g[r]&&(u=g[r],c=s)}!a&&u&&(a=u,o=c),a&&(e.splice(0,o,a),t=e.join("/"))}return t}function o(n,e){return function(){return d.apply(t,M.call(arguments,0).concat([n,e]))}}function u(t){return function(n){return a(n,t)}}function c(t){return function(n){m[t]=n}}function s(n){if(i(y,n)){var e=y[n];delete y[n],x[n]=!0,h.apply(t,e)}if(!i(m,n)&&!i(x,n))throw new Error("No "+n);return m[n]}function l(t){var n,e=t?t.indexOf("!"):-1;return e>-1&&(n=t.substring(0,e),t=t.substring(e+1,t.length)),[n,t]}function f(t){return function(){return v&&v.config&&v.config[t]||{}}}var h,d,g,p,m={},y={},v={},x={},b=Object.prototype.hasOwnProperty,M=[].slice;g=function(t,n){var e,r=l(t),i=r[0];return t=r[1],i&&(i=a(i,n),e=s(i)),i?t=e&&e.normalize?e.normalize(t,u(n)):a(t,n):(t=a(t,n),r=l(t),i=r[0],t=r[1],i&&(e=s(i))),{f:i?i+"!"+t:t,n:t,pr:i,p:e}},p={require:function(t){return o(t)},exports:function(t){var n=m[t];return"undefined"!=typeof n?n:m[t]={}},module:function(t){return{id:t,uri:"",exports:m[t],config:f(t)}}},h=function(n,e,r,a){var u,l,f,h,d,v,b=[];if(a=a||n,"function"==typeof r){for(e=!e.length&&r.length?["require","exports","module"]:e,d=0;d<e.length;d+=1)if(h=g(e[d],a),l=h.f,"require"===l)b[d]=p.require(n);else if("exports"===l)b[d]=p.exports(n),v=!0;else if("module"===l)u=b[d]=p.module(n);else if(i(m,l)||i(y,l)||i(x,l))b[d]=s(l);else{if(!h.p)throw new Error(n+" missing...