Added the option to toggle, and made it display on the details page

This commit is contained in:
stanjg 2018-05-04 15:13:34 +02:00
parent 86c8ecdcdf
commit baea1d6191
No known key found for this signature in database
GPG key ID: 27D9DF9D28935303
2 changed files with 25 additions and 0 deletions

View file

@ -108,6 +108,20 @@
</div>
<p class="text-muted small">If you are running the daemon behind a proxy such as Cloudflare, select this to have the daemon skip looking for certificates on boot.</p>
</div>
<div class="form-group col-xs-12">
<label class="form-label"><span class="label label-warning"><i class="fa fa-wrench"></i></span> Under Maintenance</label>
<div>
<div class="radio radio-success radio-inline">
<input type="radio" id="pMaintenanceFalse" value="0" name="maintenance" {{ (old('behind_proxy', $node->maintenance) == false) ? 'checked' : '' }}>
<label for="pMaintenanceFalse"> Not Under Maintenance </label>
</div>
<div class="radio radio-warning radio-inline">
<input type="radio" id="pMaintenanceTrue" value="1" name="maintenance" {{ (old('behind_proxy', $node->maintenance) == true) ? 'checked' : '' }}>
<label for="pMaintenanceTrue"> Under Maintenance </label>
</div>
</div>
<p class="text-muted small">If the node is marked as 'Under Maintenance' users won't be able to access servers that are on this node.</p>
</div>
</div>
</div>
</div>