Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
f8d651d1
Commit
f8d651d1
authored
Jan 06, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(systemhealth) condense all a bit and make options collapsible
parent
a230c799
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
14 deletions
+36
-14
systemhealth.volt
...ense/mvc/app/views/OPNsense/Diagnostics/systemhealth.volt
+36
-14
No files found.
src/opnsense/mvc/app/views/OPNsense/Diagnostics/systemhealth.volt
View file @
f8d651d1
...
@@ -28,6 +28,12 @@
...
@@ -28,6 +28,12 @@
*/
*/
-->
-->
<style type="text/css">
.panel-heading-sm{
height: 28px;
padding: 4px 10px;
}
</style>
<!-- nvd3 -->
<!-- nvd3 -->
<link rel="stylesheet" href="/ui/css/nv.d3.css">
<link rel="stylesheet" href="/ui/css/nv.d3.css">
...
@@ -551,26 +557,35 @@
...
@@ -551,26 +557,35 @@
link.click();
link.click();
}
}
$(document).ready(function() {
$("#options").collapse('show');
// hide title row
$(".page-content-head").addClass("hidden");
});
</script>
</script>
<ul class="nav nav-tabs" role="tablist" id="maintabs">
{# Tab Content #}
</ul>
<div class="content-box tab-content">
<div class="content-box tab-content">
<div id="tab_1" class="tab-pane fade in">
<div id="tab_1" class="tab-pane fade in">
<div class="panel panel-primary">
<div class="panel panel-primary">
<div class="panel-heading"><b>{{ lang._('Options') }}</b></div>
<div class="panel-heading panel-heading-sm">
<div class="panel-body">
<i class="fa fa-chevron-down" style="cursor: pointer;" data-toggle="collapse" data-target="#options"></i>
<b>{{ lang._('Options') }}</b>
</div>
<div class="panel-body collapse" id="options">
<div class="container-fluid">
<div class="container-fluid">
<ul class="nav nav-tabs" role="tablist" id="maintabs">
{# Tab Content #}
</ul>
<div class="row">
<div class="row">
<div class="col-md-12"></div>
<div class="col-md-12"></div>
<div class="col-md-4">
<div class="col-md-4">
<b>{{ lang._('Zoom level') }}:</b>
<b>{{ lang._('Zoom level') }}:</b>
<form onChange="UpdateOptions()">
<form onChange="UpdateOptions()">
<div class="btn-group" data-toggle="buttons" id="zoom">
<div class="btn-group
btn-group-xs
" data-toggle="buttons" id="zoom">
<!-- The zoom buttons are generated based upon the current dataset -->
<!-- The zoom buttons are generated based upon the current dataset -->
</div>
</div>
</form>
</form>
...
@@ -579,7 +594,7 @@
...
@@ -579,7 +594,7 @@
<b>{{ lang._('Inverse') }}:</b>
<b>{{ lang._('Inverse') }}:</b>
<form onChange="UpdateOptions()">
<form onChange="UpdateOptions()">
<div class="btn-group" data-toggle="buttons">
<div class="btn-group
btn-group-xs
" data-toggle="buttons">
<label class="btn btn-default active">
<label class="btn btn-default active">
<input type="radio" id="in0" name="inverse" checked="checked" value="0"/> {{
<input type="radio" id="in0" name="inverse" checked="checked" value="0"/> {{
lang._('Off') }}
lang._('Off') }}
...
@@ -594,7 +609,7 @@
...
@@ -594,7 +609,7 @@
<b>{{ lang._('Resolution') }}:</b>
<b>{{ lang._('Resolution') }}:</b>
<form onChange="UpdateOptions()">
<form onChange="UpdateOptions()">
<div class="btn-group" data-toggle="buttons">
<div class="btn-group
btn-group-xs
" data-toggle="buttons">
<label class="btn btn-default active">
<label class="btn btn-default active">
<input type="radio" id="res0" name="resolution" checked="checked" value="120"/>
<input type="radio" id="res0" name="resolution" checked="checked" value="120"/>
{{ lang._('Standard') }}
{{ lang._('Standard') }}
...
@@ -614,7 +629,7 @@
...
@@ -614,7 +629,7 @@
<b>{{ lang._('Show Tables') }}:</b>
<b>{{ lang._('Show Tables') }}:</b>
<form onChange="UpdateOptions()">
<form onChange="UpdateOptions()">
<div class="btn-group" data-toggle="buttons">
<div class="btn-group
btn-group-xs
" data-toggle="buttons">
<label class="btn btn-default active">
<label class="btn btn-default active">
<input type="radio" id="tab0" name="show_table" checked="checked" value="0"/> {{
<input type="radio" id="tab0" name="show_table" checked="checked" value="0"/> {{
lang._('Off') }}
lang._('Off') }}
...
@@ -631,9 +646,6 @@
...
@@ -631,9 +646,6 @@
</div>
</div>
<div id="averages" class="alert alert-info" role="alert">
<b>{{ lang._('Current detail is showing') }} <span id="stepsize"></span> {{ lang._('averages') }}.</b>
</div>
<div id="loading" class="alert bg-primary"><i class="fa fa-spinner fa-spin"></i>
<div id="loading" class="alert bg-primary"><i class="fa fa-spinner fa-spin"></i>
<b>{{ lang._('Please wait while loading data...') }}</b>
<b>{{ lang._('Please wait while loading data...') }}</b>
</div>
</div>
...
@@ -643,7 +655,13 @@
...
@@ -643,7 +655,13 @@
<!-- place holder for the chart itself -->
<!-- place holder for the chart itself -->
<div class="panel panel-default">
<div class="panel panel-default">
<div class="panel-heading">
<div class="panel-heading">
<h3 class="panel-title" id="chart_title">
<h3 class="panel-title">
<span id="chart_title"> </span>
<span id="averages">
<small>
(<b>{{ lang._('Current detail is showing') }} <span id="stepsize"></span> {{ lang._('averages') }}.</b>)
</small>
</span>
</h3>
</h3>
</div>
</div>
<div class="panel-body">
<div class="panel-body">
...
@@ -676,12 +694,16 @@
...
@@ -676,12 +694,16 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div id="chart_details_table" class="col-md-12" style="display: none;">
<div id="chart_details_table" class="col-md-12" style="display: none;">
<div class="panel panel-default">
<div class="panel panel-default">
<div class="panel-heading">
<div class="panel-heading">
<h3 class="panel-title"> {{ lang._('Current View - Details') }}</h3>
<h3 class="panel-title">
{{ lang._('Current View - Details') }}
</h3>
</div>
</div>
<div class="panel-body">
<div class="panel-body">
<div class="btn-toolbar" role="toolbar">
<div class="btn-toolbar" role="toolbar">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment