summaryrefslogtreecommitdiffstats
path: root/shorewall-edit-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2007-11-28 17:23:26 +0000
committerMika Havela <mika.havela@gmail.com>2007-11-28 17:23:26 +0000
commitf9975a98a1e3404c2f75ed093f8de47f89b339e5 (patch)
treeb50c0c0a375067d72c10deb0ffac74a2336e0ed7 /shorewall-edit-html.lsp
parent73bd0a6d99c0bdfc1db5432706a3aa577617b10c (diff)
downloadacf-shorewall-f9975a98a1e3404c2f75ed093f8de47f89b339e5.tar.bz2
acf-shorewall-f9975a98a1e3404c2f75ed093f8de47f89b339e5.tar.xz
Show files and their content starting to take shape
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@383 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'shorewall-edit-html.lsp')
-rw-r--r--shorewall-edit-html.lsp28
1 files changed, 28 insertions, 0 deletions
diff --git a/shorewall-edit-html.lsp b/shorewall-edit-html.lsp
new file mode 100644
index 0000000..3e12554
--- /dev/null
+++ b/shorewall-edit-html.lsp
@@ -0,0 +1,28 @@
+<? local view = ... ?>
+<html>
+<body>
+<h1>Edit configuration</h1>
+
+<h2>Details</h2>
+
+<dt>File name</dt>
+<dd><?= view.filecontent.filedetails.longname ?></dd>
+
+<dt>File size</dt>
+<dd><?= view.filecontent.filedetails.size ?></dd>
+
+<dt>Last modified</dt>
+<dd><?= view.filecontent.filedetails.mtime ?></dd>
+
+<dt>Mode</dt>
+<dd><?= view.filecontent.filedetails.mode ?></dd>
+
+<dt>Owner:Group</dt>
+<dd><?= view.filecontent.filedetails.uid ?>:<?= view.filecontent.filedetails.gid ?></dd>
+
+<h2>Content</h2>
+<textarea name="" style="width:100%;height:400px;"><?= view.filecontent.value ?></textarea>
+
+
+</body>
+</html>