Fixed build dependency issues by moving hal core into hal-core folder/subproject

This commit is contained in:
Ziver Koc 2020-11-10 18:36:02 +01:00
parent f1da2c5a4d
commit ded778fd11
138 changed files with 195 additions and 183 deletions

View file

@ -0,0 +1,62 @@
<h1 class="page-header">Plugins</h1>
<div class="col-md-12">
<div class="panel panel-default drop-shadow">
<div class="panel-heading">Active plugins</div>
<div class="panel-body">
<table class="table table-hover table-condensed">
<thead>
<th class="col-md-3">Name</th>
<th class="col-md-8">Version</th>
<th class="col-md-1 text-right">Actions</th>
</thead>
{{#plugins}}
<tr>
<td>{{.getName()}}</td>
<td>{{.getVersion()}}</td>
<td>
<form method="POST">
<input type="hidden" name="action" value="modify">
<input type="hidden" name="action_id" value="{{.getName()}}">
<div class="btn-toolbar pull-right">
<input class="toggle-switch" type="checkbox" name="enabled"
data-size="mini" data-on-color="danger"
{{#.isEnabled()}}checked{{/.isEnabled()}} >
</div>
</form>
</td>
</tr>
{{/plugins}}
</table>
</div>
</div>
</div>
<div class="col-md-12">
<div class="panel panel-default drop-shadow">
<div class="panel-heading">Active Controllers</div>
<div class="panel-body">
<table class="table table-hover table-condensed">
<thead>
<th class="col-md-3">Name</th>
</thead>
{{#controllers}}
<tr>
<td>{{.getClass().getName()}}</td>
</tr>
{{/controllers}}
</table>
</div>
</div>
</div>
<script>
$(function (){
$(".toggle-switch").on("switchChange.bootstrapSwitch", function (event, state) {
$(this).closest('form').submit();
});
});
</script>