diff options
| author | Simon Rettberg | 2024-11-27 20:47:16 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2024-11-27 20:47:16 +0100 |
| commit | 653be855a3a348a30ad9903077e5d508c00b1cae (patch) | |
| tree | 8d0c7cf71268b9f7718556e05b06c0211018021d /modules-available | |
| parent | [rebootcontrol] Add exec job to list dnbd3-proxy cache (diff) | |
| download | slx-admin-653be855a3a348a30ad9903077e5d508c00b1cae.tar.gz slx-admin-653be855a3a348a30ad9903077e5d508c00b1cae.tar.xz slx-admin-653be855a3a348a30ad9903077e5d508c00b1cae.zip | |
[rebootcontrol] Make exec output look more like on terminal
Set line-height so that '│' chars in e.g. tree are connected.
Diffstat (limited to 'modules-available')
| -rw-r--r-- | modules-available/rebootcontrol/style.css | 6 | ||||
| -rw-r--r-- | modules-available/rebootcontrol/templates/status-exec.html | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/modules-available/rebootcontrol/style.css b/modules-available/rebootcontrol/style.css index 0f96c09f..cf6a4cd9 100644 --- a/modules-available/rebootcontrol/style.css +++ b/modules-available/rebootcontrol/style.css @@ -17,4 +17,8 @@ div.loc { padding: 1px 3px; background: #eee; float: left; -}
\ No newline at end of file +} + +pre.exec { + line-height: 1.12; +} diff --git a/modules-available/rebootcontrol/templates/status-exec.html b/modules-available/rebootcontrol/templates/status-exec.html index a3efef5f..cfabf6a7 100644 --- a/modules-available/rebootcontrol/templates/status-exec.html +++ b/modules-available/rebootcontrol/templates/status-exec.html @@ -26,11 +26,11 @@ </div> <div class="stdout collapse"> <i>{{lang_stdout}}</i> - <pre></pre> + <pre class="exec"></pre> </div> <div class="stderr collapse"> <i>{{lang_stderr}}</i> - <pre></pre> + <pre class="exec"></pre> </div> </div> {{/clients}} @@ -73,4 +73,4 @@ function updateStatusClient(id, status) { } } -//--></script>
\ No newline at end of file +//--></script> |
