summaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/404.html7
-rw-r--r--src/templates/500.html7
-rw-r--r--src/templates/base.html28
-rw-r--r--src/templates/login.html8
4 files changed, 50 insertions, 0 deletions
diff --git a/src/templates/404.html b/src/templates/404.html
new file mode 100644
index 0000000..d74f8ca
--- /dev/null
+++ b/src/templates/404.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+
+{% block content %}
+<p>
+404 -- page not found
+</p>
+{% endblock %}
diff --git a/src/templates/500.html b/src/templates/500.html
new file mode 100644
index 0000000..57bed1c
--- /dev/null
+++ b/src/templates/500.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+
+{% block content %}
+<p>
+500 -- server error
+</p>
+{% endblock %}
diff --git a/src/templates/base.html b/src/templates/base.html
new file mode 100644
index 0000000..840024d
--- /dev/null
+++ b/src/templates/base.html
@@ -0,0 +1,28 @@
+{% load static %}
+<!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" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="{% static 'css/NORDUnet.css' %}" type="text/css" media="screen" title="NORDUnet" charset="utf-8" />
+ <title>{% block title %}{% endblock %}</title>
+ {% block js %}
+ {% endblock %}
+</head>
+<body>
+ <div id="container">
+ <div id="top">
+ <table id="top_table">
+ <tr>
+ <td><img src="{% static 'img/NORDUnet2.jpg' %}" width="203" height="46" alt="" /></td>
+ </tr>
+ </table>
+ </div>
+ <div id="content">
+ {% block content %}{% endblock %}
+ </div>
+ <div id="footer">
+ <p>NORDUnet A/S | Kastruplundgade 22 | DK-2770 Kastrup | DENMARK | Phone +45 32 46 25 00 | Fax +45 45 76 23 66 | info@nordu.net</p>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/src/templates/login.html b/src/templates/login.html
new file mode 100644
index 0000000..99aad5d
--- /dev/null
+++ b/src/templates/login.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+{% block title %}Log in via your IdP{% endblock %}
+
+{% block content %}
+<p>
+<a href="https://crowd.nordu.net/Shibboleth.sso/Login/idp.nordu.net?target=https://crowd.nordu.net{% url 'loginfed' %}?next={% url 'index' %}">Click here to login via your Identity Provider</a>
+</p>
+{% endblock %}