diff options
Diffstat (limited to 'modules-available/rebootcontrol/templates/header.html')
-rw-r--r-- | modules-available/rebootcontrol/templates/header.html | 51 |
1 files changed, 30 insertions, 21 deletions
diff --git a/modules-available/rebootcontrol/templates/header.html b/modules-available/rebootcontrol/templates/header.html index d5e79a14..47d97714 100644 --- a/modules-available/rebootcontrol/templates/header.html +++ b/modules-available/rebootcontrol/templates/header.html @@ -42,28 +42,37 @@ </div> <div class="modal-body"> <label>{{lang_wolDiscoverHeading}}</label> - <div class="checkbox"> - <input {{perms.woldiscover.disabled}} id="wol-auto-discover" - type="checkbox" name="enabled" {{wol_auto_checked}}> - <label for="wol-auto-discover">{{lang_wolAutoDiscoverCheck}}</label> - </div> - <div class="checkbox"> - <input {{perms.woldiscover.disabled}} id="wol-c2c" - type="checkbox" name="enabled-c2c" {{wol_c2c_checked}}> - <label for="wol-c2c">{{lang_wolDiscoverClientToClient}}</label> - </div> - <div class="slx-space"></div> - <p>{{lang_wolDiscoverDescription}}</p> - <button {{perms.woldiscover.disabled}} class="btn btn-primary pull-right" - onclick="generateNewKeypair()" type="submit"> - <span class="glyphicon glyphicon-floppy-disk"></span> - {{lang_save}} - </button> - <div class="clearfix"></div> + <div class="checkbox"> + <input {{perms.woldiscover.disabled}} id="wol-auto-discover" + type="checkbox" name="enabled" {{wol_auto_checked}}> + <label for="wol-auto-discover">{{lang_wolAutoDiscoverCheck}}</label> + </div> + <div class="checkbox"> + <input {{perms.woldiscover.disabled}} id="wol-c2c" + type="checkbox" name="enabled-c2c" {{wol_c2c_checked}}> + <label for="wol-c2c">{{lang_wolDiscoverClientToClient}}</label> + </div> + <div class="slx-space"></div> + <p>{{lang_wolDiscoverDescription}}</p> + </div> + <div class="modal-body"> + <label for="bcast-input">{{lang_directedBroadcastOverrideHeading}}</label> + <div class="input-group"> + <span class="input-group-addon">{{lang_directedBroadcastAddress}}</span> + <input {{perms.woldiscover.disabled}} type="text" pattern="[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+" + minlength="7" maxlength="15" class="form-control" name="dbcast" value="{{dbcast}}" id="bcast-input"> + </div> + <p>{{lang_directedBroadcastDescription}}</p> + </div> + <div class="modal-body"> + <button {{perms.woldiscover.disabled}} class="btn btn-primary pull-right" + onclick="generateNewKeypair()" type="submit"> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> + <div class="clearfix"></div> </div> </form> - <div class="modal-body"> - </div> </div> </div> </div> @@ -98,4 +107,4 @@ document.addEventListener('DOMContentLoaded', function() { }); -</script>
\ No newline at end of file +</script> |