summaryrefslogtreecommitdiff
path: root/src/medsrv/templates/peer/edit.cs
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2008-07-09 21:02:41 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2008-07-09 21:02:41 +0000
commitdb67c87db3c9089ea8d2e14f617bf3d9e2af261f (patch)
tree665c0caea83d34c11c1517c4c57137bb58cba6fb /src/medsrv/templates/peer/edit.cs
parent1c088a8b6237ec67f63c23f97a0f2dc4e99af869 (diff)
downloadvyos-strongswan-db67c87db3c9089ea8d2e14f617bf3d9e2af261f.tar.gz
vyos-strongswan-db67c87db3c9089ea8d2e14f617bf3d9e2af261f.zip
[svn-upgrade] Integrating new upstream version, strongswan (4.2.4)
Diffstat (limited to 'src/medsrv/templates/peer/edit.cs')
-rwxr-xr-xsrc/medsrv/templates/peer/edit.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/medsrv/templates/peer/edit.cs b/src/medsrv/templates/peer/edit.cs
new file mode 100755
index 000000000..76fb9dafc
--- /dev/null
+++ b/src/medsrv/templates/peer/edit.cs
@@ -0,0 +1,25 @@
+<?cs include:"templates/header.cs" ?>
+<form method="post" name="form">
+<?cs if:?error ?>
+ <div class="error"><?cs var:error ?></div>
+<?cs /if ?>
+ <table class="peer">
+ <tr>
+ <td><label for="alias">Alias</label></td>
+ <td><input type="text" id="alias" name="alias" maxlength="30" class="focus" value="<?cs var:alias ?>"/></td>
+ </tr>
+ <tr>
+ <td valign="top"><label for="public_key">Public Key</label></td>
+ <td><textarea id="public_key" name="public_key"><?cs var:public_key ?></textarea></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td align="right">
+ <input type="submit" value="Back" name="back"/>
+ <input type="submit" value="Delete" name="delete" onclick="return confirm('Permanently delete this peer?')"/>
+ <input type="submit" value="Save" name="save"/>
+ </td>
+ </tr>
+</table>
+</form>
+<?cs include:"templates/footer.cs" ?>