summaryrefslogtreecommitdiff
path: root/src/manager/templates/header.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/templates/header.cs')
-rw-r--r--src/manager/templates/header.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/manager/templates/header.cs b/src/manager/templates/header.cs
new file mode 100644
index 000000000..64a859a9a
--- /dev/null
+++ b/src/manager/templates/header.cs
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title><?cs var:title ?> - strongSwan Manager</title>
+ <link rel="stylesheet" type="text/css" href="<?cs var:base ?>/static/style.css" />
+ <script type="text/javascript" src="<?cs var:base ?>/static/jquery.js" />
+ <script type="text/javascript" src="<?cs var:base ?>/static/script.js" />
+ </head>
+ <body>
+ <div class="fleft">
+ <a href="<?cs var:base ?>/status/ikesalist">
+ <img class="fleft" src="<?cs var:base ?>/static/strongswan.png"/>
+ </a>
+ <h1>strongSwan Manager</h1>
+ <h2><?cs var:title ?></h2>
+ </div>
+ <div class="menu">
+ | <a href="<?cs var:base ?>/gateway/list">Select Gateway</a>
+ | <a href="<?cs var:base ?>/auth/logout">Logout</a>
+ </div>
+ <hr class="cleft"/>
+ <div class="center">
+ <div class="content">