add icon to display detailed commands/file-contents from config-templates in admin_configfiles

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-04-24 11:08:09 +02:00
parent 000cb93def
commit b5794e463f
7 changed files with 300 additions and 27 deletions

View File

@@ -0,0 +1 @@
<textarea class="form-control bg-secondary text-light" rows="{{ numbrows }}" readonly>{{ commands|raw }}</textarea>

View File

@@ -0,0 +1,2 @@
<textarea class="form-control bg-secondary text-light" rows="1" readonly>{{ distro_editor }} {{ realname }}</textarea>
<textarea class="form-control" rows="{% if numbrows <= 20 %}{{ numbrows }}{% else %}21{% endif %}" readonly>{{ file_content|raw }}</textarea>

View File

@@ -0,0 +1,6 @@
<fieldset class="file">
<legend>{{ realname }}</legend>
{{ commands_pre|raw }}
{{ commands_file|raw }}
{{ commands_post|raw }}
</fieldset>