summaryrefslogtreecommitdiff
path: root/web/share/js/ipmi/main.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-07-17 04:17:22 +0300
committerDevaev Maxim <[email protected]>2019-07-17 04:17:22 +0300
commitad83678eb3f735806f87ad9a43c32bdd6ffb92aa (patch)
treef9380c43c42e0d8c8d92e8714ecf81cf17523e49 /web/share/js/ipmi/main.js
parent9737b926b87529698d1863025efd12e9881af744 (diff)
use strict
Diffstat (limited to 'web/share/js/ipmi/main.js')
-rw-r--r--web/share/js/ipmi/main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/share/js/ipmi/main.js b/web/share/js/ipmi/main.js
index 7aa8b0cb..ff3032f5 100644
--- a/web/share/js/ipmi/main.js
+++ b/web/share/js/ipmi/main.js
@@ -20,12 +20,15 @@
*****************************************************************************/
+"use strict";
+
+
import {$} from "../tools.js";
export function main() {
let host = window.location.hostname;
- let site = window.location.protocol + "//" + window.location.host;
+ let site = `${window.location.protocol}//${window.location.host}`;
$("ipmi-text").innerHTML = `
<span class="code-comment"># Power on the server if it's off:<br>
$</span> ipmitool -I lanplus -U admin -P admin -H ${host} power on<br>