diff options
author | Simon Rettberg | 2019-03-08 16:13:49 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-08 16:13:49 +0100 |
commit | f535295c86bc029da86582fe6a1ba3f96d64a1da (patch) | |
tree | 3d3f56a522595b965b1608baa1b70f5ccbec5eed /modules-available/serversetup-bwlp-ipxe/templates/page-import.html | |
parent | [serversetup-bwlp-ipxe] Improve legacy PXELinux import (diff) | |
download | slx-admin-f535295c86bc029da86582fe6a1ba3f96d64a1da.tar.gz slx-admin-f535295c86bc029da86582fe6a1ba3f96d64a1da.tar.xz slx-admin-f535295c86bc029da86582fe6a1ba3f96d64a1da.zip |
[serversetup-bwlp-ipxe] Fix bugs, add import feature
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/templates/page-import.html')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/templates/page-import.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/templates/page-import.html b/modules-available/serversetup-bwlp-ipxe/templates/page-import.html new file mode 100644 index 00000000..62a24325 --- /dev/null +++ b/modules-available/serversetup-bwlp-ipxe/templates/page-import.html @@ -0,0 +1,32 @@ +<h2>{{lang_pxelinuxImport}}</h2> + +<p> + {{lang_pxelinuxImportIntro}} +</p> + +<input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-2000px" tabindex="-1"> +<input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-2000px" tabindex="-1"> + +<div class="panel panel-default"> + <div class="panel-heading"> + {{lang_pxelinuxImport}} + </div> + <div class="panel-body"> + <form method="post" action="?do=serversetup"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="action" value="import"> + <label for="pxemenu">{{lang_pxeMenuContent}}</label> + <textarea id="pxemenu" class="form-control" name="pxemenu" rows="25"></textarea> + <div class="checkbox"> + <input type="checkbox" id="entries-only" name="entries-only" value="1"> + <label for="entries-only">{{lang_pxelinuxEntriesOnly}}</label> + </div> + <div class="text-right"> + <button class="btn btn-primary" type="submit"> + <span class="glyphicon glyphicon-import"></span> + {{lang_import}} + </button> + </div> + </form> + </div> +</div>
\ No newline at end of file |