summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-07 16:20:08 +0100
committerSimon Rettberg2019-03-07 16:20:08 +0100
commitfc32671e9f3a83aa7d5a9aefc53f1775b73f8219 (patch)
tree3107cc4845f58c8ce0cc6a3fe2714394b45a8d78
parent[dozmod] Make netshare target required, move printer to top (diff)
downloadslx-admin-fc32671e9f3a83aa7d5a9aefc53f1775b73f8219.tar.gz
slx-admin-fc32671e9f3a83aa7d5a9aefc53f1775b73f8219.tar.xz
slx-admin-fc32671e9f3a83aa7d5a9aefc53f1775b73f8219.zip
[serversetup-bwlp-ipxe] Move USB help to panel instead of modal
-rw-r--r--modules-available/serversetup-bwlp-ipxe/lang/de/template-tags.json3
-rw-r--r--modules-available/serversetup-bwlp-ipxe/lang/en/template-tags.json3
-rw-r--r--modules-available/serversetup-bwlp-ipxe/templates/download.html51
3 files changed, 23 insertions, 34 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/lang/de/template-tags.json b/modules-available/serversetup-bwlp-ipxe/lang/de/template-tags.json
index 88b01f38..1942790a 100644
--- a/modules-available/serversetup-bwlp-ipxe/lang/de/template-tags.json
+++ b/modules-available/serversetup-bwlp-ipxe/lang/de/template-tags.json
@@ -18,6 +18,7 @@
"lang_chooseIP": "Bitte w\u00e4hlen Sie die IP-Adresse, \u00fcber die der Server von den Clients zum Booten angesprochen werden soll.",
"lang_commandLine": "Command line",
"lang_count": "Anzahl",
+ "lang_createUsbImage": "Bootbaren USB-Stick erstellen",
"lang_downloadBootImage": "Boot-Image herunterladen",
"lang_downloadRufus": "Rufus herunterladen",
"lang_editBuiltinWarn": "Achtung! Sie bearbeiten einen der vorgegebenen Eintr\u00e4ge! Bei einem Update k\u00f6nnten Ihre \u00c4nderungen wieder \u00fcberschrieben werden",
@@ -66,9 +67,7 @@
"lang_title": "Titel",
"lang_typeExecEntry": "Standardeintrag",
"lang_typeScriptEntry": "Benutzerdefiniertes Script",
- "lang_usbImage": "USB-Image",
"lang_usbImgHelp": "Mit dem USB-Image k\u00f6nnen Sie einen bootbaren USB-Stick erstellen, \u00fcber den sich bwLehrpool an Rechnern starten l\u00e4sst, die keinen Netzwerkboot unterst\u00fctzen, bzw. f\u00fcr die keine entsprechende DHCP-Konfiguration vorhanden ist. Dies erfordert dann lediglich, dass in der BIOS-Konfiguration des Rechners USB-Boot zugelassen ist. Der Stick dient dabei lediglich als Einstiegspunkt; es ist nach wie vor ein bwLehrpool-Satellitenserver f\u00fcr den eigentlichen Bootvorgang von N\u00f6ten.",
- "lang_usbImgHelpBtn": "Bootbaren USB-Stick erstellen",
"lang_usbImgHelpLinux": "Nutzen Sie dd, um das Image auf einen USB-Stick zu schreiben. Das Image enth\u00e4lt bereits eine Partitionstabelle, achten Sie daher darauf, dass Sie das Image z.B. nach \/dev\/sdx schreiben, und nicht nach \/dev\/sdx1",
"lang_usbImgHelpWindows": "Unter Windows muss zun\u00e4chst ein Programm besorgt werden, mit dem sich Images direkt auf einen USB-Stick schreiben lassen. Es gibt gleich mehrere kostenlose und quelloffene Programme, eines davon ist Rufus. Rufus wurde mit dem bwLehrpool-Image gestetet. Nach dem Starten des Programms ist lediglich das heruntergeladene Image zu \u00f6ffnen, sowie in der Liste der Laufwerke der richtige USB-Stick auszuw\u00e4hlen (damit Sie nicht versehentlich Daten auf dem falschen Laufwerk \u00fcberschreiben!)",
"lang_useDefaultMenu": "\u00dcbergeordnetes Men\u00fc verwenden",
diff --git a/modules-available/serversetup-bwlp-ipxe/lang/en/template-tags.json b/modules-available/serversetup-bwlp-ipxe/lang/en/template-tags.json
index 3e08a9c8..1eb7a64a 100644
--- a/modules-available/serversetup-bwlp-ipxe/lang/en/template-tags.json
+++ b/modules-available/serversetup-bwlp-ipxe/lang/en/template-tags.json
@@ -18,6 +18,7 @@
"lang_chooseIP": "Please select the IP address that the client server will use to boot.",
"lang_commandLine": "Command line",
"lang_count": "Count",
+ "lang_createUsbImage": "Create bootable thumb drive",
"lang_downloadBootImage": "Download boot-image",
"lang_downloadRufus": "Download Rufus",
"lang_editBuiltinWarn": "WARNING! You're editing a predefined item. Future updates might reset your changes!",
@@ -66,9 +67,7 @@
"lang_title": "Title",
"lang_typeExecEntry": "Standardeintrag",
"lang_typeScriptEntry": "Custom script",
- "lang_usbImage": "USB image",
"lang_usbImgHelp": "The USB image can be used to create a bootable USB stick, which enables you to boot bwLehrpool without changing your DHCP settings or enabling network boot in the clients. The only requirement is that you enable USB boot in the client's BIOS. The USB stick is only used for bootstrapping, the actual bwLehrpool system is still loaded via network from your local bwLehrpool server.",
- "lang_usbImgHelpBtn": "Create bootable thumb drive",
"lang_usbImgHelpLinux": "On Linux you can simply use dd to write the image to a usb stick. The image already contains a partition table, so make sure you write the image to the device itself and not to an already existing partition (e.g. to \/dev\/sdx not \/dev\/sdx1)",
"lang_usbImgHelpWindows": "On Windows you need to use a 3rd party tool that can directly write to usb sticks. There are several free and open source soltions, one of them being Rufus. Rufus has been tested with the bwLehrpool image and is very simple to use. After launching Rufus, just open the downloaded USB image, select the proper USB stick to write to (be careful not to overwrite the wrong drive!), and you're ready to go.",
"lang_useDefaultMenu": "Inherit from parent location",
diff --git a/modules-available/serversetup-bwlp-ipxe/templates/download.html b/modules-available/serversetup-bwlp-ipxe/templates/download.html
index 62064b66..c4025d70 100644
--- a/modules-available/serversetup-bwlp-ipxe/templates/download.html
+++ b/modules-available/serversetup-bwlp-ipxe/templates/download.html
@@ -13,41 +13,32 @@
</tr>
{{/files}}
</table>
- <p>
- <span class="btn btn-default" data-toggle="modal" data-target="#help-usbimg">
- <span class="glyphicon glyphicon-question-sign"></span>
- {{lang_usbImgHelpBtn}}
- </span>
- </p>
+ <br>
<p>
{{lang_additionalInfoLink}} <a href="https://ipxe.org/appnote/buildtargets" target="_blank">{{lang_ipxeWikiUrl}}</a>
</p>
</div>
</div>
-<div class="modal fade" id="help-usbimg" tabindex="-1" role="dialog">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
- {{lang_usbImage}}
- </div>
- <div class="modal-body">
- <p>{{lang_usbImgHelp}}</p>
- <p>
- <b>Linux</b>
- <br>
- {{lang_usbImgHelpLinux}}
- </p>
- <p>
- <b>Windows</b>
- <br>
- {{lang_usbImgHelpWindows}}
- </p>
- <p>
- <a href="https://rufus.akeo.ie/#download" target="_blank">{{lang_downloadRufus}}</a>
- </p>
- </div>
- </div>
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <span class="glyphicon glyphicon-question-sign"></span>
+ {{lang_createUsbImage}}
+ </div>
+ <div class="panel-body">
+ <p>{{lang_usbImgHelp}}</p>
+ <p>
+ <b>Linux</b>
+ <br>
+ {{lang_usbImgHelpLinux}}
+ </p>
+ <p>
+ <b>Windows</b>
+ <br>
+ {{lang_usbImgHelpWindows}}
+ </p>
+ <p>
+ <a href="https://rufus.akeo.ie/#download" target="_blank">{{lang_downloadRufus}}</a>
+ </p>
</div>
</div> \ No newline at end of file