summaryrefslogtreecommitdiff
path: root/src/medsrv/templates/header.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/header.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/header.cs')
-rwxr-xr-xsrc/medsrv/templates/header.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/medsrv/templates/header.cs b/src/medsrv/templates/header.cs
new file mode 100755
index 000000000..4ab4afd1e
--- /dev/null
+++ b/src/medsrv/templates/header.cs
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>strongSwan Mediation Service</title>
+ <link rel="stylesheet" type="text/css" href="<?cs var:base ?>/static/style.css"/>
+ <link rel="icon" href="<?cs var:base ?>/static/favicon.ico" type="image/x-icon" />
+ <script type="text/javascript" src="<?cs var:base ?>/static/mootools.js"></script>
+ <script type="text/javascript" src="<?cs var:base ?>/static/script.js"></script>
+ </head>
+ <body>
+ <div class="fleft">
+ <a href="<?cs var:base ?>/peer/list">
+ <img class="fleft" src="<?cs var:base ?>/static/strongswan.png"/>
+ </a>
+ <h1>Mediation Service</h1>
+ </div>
+ <div class="menu">
+ <?cs if:?login ?>
+ Logged in as <i><?cs var:login ?></i>
+ | <a href="<?cs var:base ?>/user/edit">Edit</a>
+ | <a href="<?cs var:base ?>/user/logout">Logout</a>
+ | <a href="<?cs var:base ?>/user/help">Help</a>
+ <?cs else ?>
+ | <a href="<?cs var:base ?>/user/help">Help</a>
+ | <a href="<?cs var:base ?>/user/login">Login</a>
+ | <a href="<?cs var:base ?>/user/add">Register</a>
+ <?cs /if ?>
+ </div>
+ <hr class="cleft"/>
+ <div class="center">
+ <div class="content">