group file-relevant commands into the fieldset; enhance layout

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2015-02-16 13:29:01 +01:00
parent 927e6fe23a
commit 1d319e001c
4 changed files with 14 additions and 13 deletions

View File

@@ -2,6 +2,6 @@
<fieldset class="file">
<legend>{$realname}</legend>
<textarea class="shell" rows="1" readonly>&dollar;EDITOR {$realname}</textarea>
<textarea class="filecontent" rows="{$numbrows}" readonly>{$file_content}</textarea>
<textarea class="filecontent" rows="<if $numbrows <=20 >{$numbrows}<else>21</if>" readonly>{$file_content}</textarea>
</fieldset>
</div>