15 |
.container { |
.container { |
16 |
width: 1300px; /*default 1170px*/ |
width: 1300px; /*default 1170px*/ |
17 |
} |
} |
18 |
|
.panel-actions { |
19 |
|
margin-top: -20px; |
20 |
|
margin-bottom: 0; |
21 |
|
text-align: right; |
22 |
|
} |
23 |
|
.panel-actions a { |
24 |
|
color:#333; |
25 |
|
} |
26 |
|
.panel-fullscreen { |
27 |
|
display: block; |
28 |
|
z-index: 9999; |
29 |
|
position: fixed; |
30 |
|
width: 100%; |
31 |
|
height: 100%; |
32 |
|
top: 0; |
33 |
|
right: 0; |
34 |
|
left: 0; |
35 |
|
bottom: 0; |
36 |
|
overflow: auto; |
37 |
|
} |
38 |
|
|
39 |
} |
} |
40 |
</style> |
</style> |
41 |
|
|
205 |
} ); |
} ); |
206 |
|
|
207 |
}); |
}); |
208 |
|
|
209 |
|
//Toggle fullscreen |
210 |
|
$("#panel-fullscreen").click(function (e) { |
211 |
|
e.preventDefault(); |
212 |
|
|
213 |
|
var $this = $(this); |
214 |
|
|
215 |
|
if ($this.children('i').hasClass('glyphicon-resize-full')) |
216 |
|
{ |
217 |
|
$this.children('i').removeClass('glyphicon-resize-full'); |
218 |
|
$this.children('i').addClass('glyphicon-resize-small'); |
219 |
|
} |
220 |
|
else if ($this.children('i').hasClass('glyphicon-resize-small')) |
221 |
|
{ |
222 |
|
$this.children('i').removeClass('glyphicon-resize-small'); |
223 |
|
$this.children('i').addClass('glyphicon-resize-full'); |
224 |
|
} |
225 |
|
$(this).closest('.panel').toggleClass('panel-fullscreen'); |
226 |
|
}); |
227 |
|
|
228 |
|
|
229 |
}); |
}); |
253 |
</div> |
</div> |
254 |
|
|
255 |
<div class="col-sm-6" id="center"> |
<div class="col-sm-6" id="center"> |
256 |
<pre id="logview"> |
<div class="panel panel-primary"> |
257 |
</pre> |
<div class="panel-heading"> |
258 |
|
<h3 class="panel-title">Log</h3> |
259 |
|
<ul class="list-inline panel-actions"> |
260 |
|
|
261 |
|
<li><a href="#" id="panel-fullscreen" role="button" title="Toggle fullscreen"><i class="glyphicon glyphicon-resize-full"></i></a></li> |
262 |
|
|
263 |
|
</ul> |
264 |
|
</div> |
265 |
|
<div class="panel-body"> |
266 |
|
<pre id="logview"> |
267 |
|
</pre> |
268 |
|
</div> |
269 |
|
</div> |
270 |
</div> |
</div> |
271 |
|
|
272 |
<div class="col-sm-3" id="rightCol" > |
<div class="col-sm-3" id="rightCol" > |