summaryrefslogtreecommitdiff
path: root/src/medsrv/templates/peer/add.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/medsrv/templates/peer/add.cs')
-rwxr-xr-xsrc/medsrv/templates/peer/add.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/medsrv/templates/peer/add.cs b/src/medsrv/templates/peer/add.cs
new file mode 100755
index 000000000..28a994f7f
--- /dev/null
+++ b/src/medsrv/templates/peer/add.cs
@@ -0,0 +1,24 @@
+<?cs include:"templates/header.cs" ?>
+<form method="post">
+<?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" class="focus" maxlength="30" 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 class="right">
+ <input type="submit" value="Back" name="back"/>
+ <input type="submit" value="Add" name="add"/>
+ </td>
+ </tr>
+</table>
+</form>
+<?cs include:"templates/footer.cs" ?>