summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/edit.php
diff options
context:
space:
mode:
authorJared Dillard <jdillard@netgate.com>2015-10-06 17:01:16 -0500
committerJared Dillard <jdillard@netgate.com>2015-10-06 17:01:23 -0500
commit2ca4eec2e77335ac4818fb808c66f3f0d7c5a5e1 (patch)
tree7102b69b1c26719197733ef1be84928b0c0f0902 /src/usr/local/www/edit.php
parentaeff01b344c4ba24dcbafc54c8b9bb2ab27ec584 (diff)
downloadpfsense-2ca4eec2e77335ac4818fb808c66f3f0d7c5a5e1.zip
pfsense-2ca4eec2e77335ac4818fb808c66f3f0d7c5a5e1.tar.gz
improve spacing for non form panels
Diffstat (limited to 'src/usr/local/www/edit.php')
-rw-r--r--src/usr/local/www/edit.php39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/usr/local/www/edit.php b/src/usr/local/www/edit.php
index 0bc23bb..816daf2 100644
--- a/src/usr/local/www/edit.php
+++ b/src/usr/local/www/edit.php
@@ -126,26 +126,27 @@ require("head.inc");
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Save / Load a file from the filesystem")?></h2></div>
<div class="panel-body">
- <form>
- <input type="text" class="form-control" id="fbTarget"/>
- <input type="button" class="btn btn-default btn-sm" onclick="loadFile();" value="<?=gettext('Load')?>" />
- <input type="button" class="btn btn-default btn-sm" id="fbOpen" value="<?=gettext('Browse')?>" />
- <input type="button" class="btn btn-default btn-sm" onclick="saveFile();" value="<?=gettext('Save')?>" />
- </form>
-
- <div id="fbBrowser" style="display:none; border:1px dashed gray; width:98%;"></div>
-
- <div style="background:#eeeeee;" id="fileOutput">
- <script type="text/javascript">
- //<![CDATA[
- window.onload=function(){
- document.getElementById("fileContent").wrap='off';
- }
- //]]>
- </script>
- <textarea id="fileContent" name="fileContent" class="form-control" rows="30" cols=""></textarea>
+ <div class="content">
+ <form>
+ <input type="text" class="form-control" id="fbTarget"/>
+ <input type="button" class="btn btn-default btn-sm" onclick="loadFile();" value="<?=gettext('Load')?>" />
+ <input type="button" class="btn btn-default btn-sm" id="fbOpen" value="<?=gettext('Browse')?>" />
+ <input type="button" class="btn btn-default btn-sm" onclick="saveFile();" value="<?=gettext('Save')?>" />
+ </form>
+
+ <div id="fbBrowser" style="display:none; border:1px dashed gray; width:98%;"></div>
+
+ <div style="background:#eeeeee;" id="fileOutput">
+ <script type="text/javascript">
+ //<![CDATA[
+ window.onload=function(){
+ document.getElementById("fileContent").wrap='off';
+ }
+ //]]>
+ </script>
+ <textarea id="fileContent" name="fileContent" class="form-control" rows="30" cols=""></textarea>
+ </div>
</div>
-
</div>
</div>
OpenPOWER on IntegriCloud