mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Added webconsole to system pane, added tabs to system pane to allow for webconsole to be hidden/shown
This commit is contained in:
parent
0d456d3540
commit
4d04155895
14
dist/css/custom.css
vendored
14
dist/css/custom.css
vendored
@ -33,3 +33,17 @@
|
||||
width: 140px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.webconsole {
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
#console {
|
||||
height:500px;
|
||||
}
|
||||
|
||||
.systemtabcontent {
|
||||
height:100%;
|
||||
min-height:500px;
|
||||
}
|
||||
|
@ -81,6 +81,13 @@ function DisplaySystem(){
|
||||
elseif ($cpuload > 0) { $cpuload_status = "success"; }
|
||||
|
||||
?>
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active systemtab"><a href="#system" aria-controls="system" role="tab" data-toggle="tab">System</a></li>
|
||||
<li role="presentation" class="consoletab"><a href="#console" aria-controls="console" role="tab" data-toggle="tab">Console</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="systemtabcontent tab-content">
|
||||
<div role="tabpanel" class="tab-pane active" id="system">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="panel panel-primary">
|
||||
@ -137,6 +144,12 @@ function DisplaySystem(){
|
||||
</div><!-- /.panel-primary -->
|
||||
</div><!-- /.col-lg-12 -->
|
||||
</div><!-- /.row -->
|
||||
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane" id="console">
|
||||
<iframe src="includes/webconsole.php" class="webconsole"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
841
includes/webconsole.php
Normal file
841
includes/webconsole.php
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user