summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/rebootcontrol/config.json3
-rw-r--r--modules-available/rebootcontrol/templates/subnet-list.html7
2 files changed, 8 insertions, 2 deletions
diff --git a/modules-available/rebootcontrol/config.json b/modules-available/rebootcontrol/config.json
index f823e2eb..4608665b 100644
--- a/modules-available/rebootcontrol/config.json
+++ b/modules-available/rebootcontrol/config.json
@@ -3,6 +3,7 @@
"collapse": true,
"dependencies": [
"locations",
- "js_stupidtable"
+ "js_stupidtable",
+ "statistics"
]
} \ No newline at end of file
diff --git a/modules-available/rebootcontrol/templates/subnet-list.html b/modules-available/rebootcontrol/templates/subnet-list.html
index 1c8aac38..6df0c4f6 100644
--- a/modules-available/rebootcontrol/templates/subnet-list.html
+++ b/modules-available/rebootcontrol/templates/subnet-list.html
@@ -20,7 +20,12 @@
{{#subnets}}
<tr>
<td>
- <a href="?do=rebootcontrol&show=subnet&what=subnet&id={{subnetid}}">{{cidr}}</a>
+ <div style="display: inline-block; min-width: 10em">
+ <a href="?do=rebootcontrol&amp;show=subnet&amp;what=subnet&amp;id={{subnetid}}">{{cidr}}</a>
+ </div>
+ <a href="?do=statistics&amp;show=list&amp;filters=clientip%20=%20{{cidr}}" class="btn btn-default btn-xs">
+ <span class="glyphicon glyphicon-eye-open"></span>
+ </a>
</td>
<td class="text-center">{{#fixed}}<span class="glyphicon glyphicon-lock"></span>{{/fixed}}</td>
<td class="text-center">{{#isdirect}}<span class="glyphicon glyphicon-ok"></span>{{/isdirect}}</td>