summaryrefslogtreecommitdiff
path: root/src/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/base.html')
-rw-r--r--src/templates/base.html142
1 files changed, 82 insertions, 60 deletions
diff --git a/src/templates/base.html b/src/templates/base.html
index 5db54d4..0df70d7 100644
--- a/src/templates/base.html
+++ b/src/templates/base.html
@@ -1,27 +1,35 @@
{% load prefix %}
-<!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">
+<!DOCTYPE html>
+<html>
<head>
<title>Meeting Tools</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
- <link type="text/css" href="{% prefix %}/static/css/sunet/jquery-ui-1.8.11.custom.css" rel="stylesheet">
- <link href="{% prefix %}/static/css/style.css" rel="stylesheet" type="text/css" />
- <link href="{% prefix %}/static/css/gs.css" rel="stylesheet" type="text/css" />
+ <link type="text/css" href="{% prefix %}/static/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
+ <link href="{% prefix %}/static/css/prettify.css" rel="stylesheet"/>
+ <!-- link href="{% prefix %}/static/css/lavish.less" rel="stylesheet/less" type="text/css" / -->
+ <link href="{% prefix %}/static/css/style.css" rel="stylesheet" type="text/css" />
+ <!-- link href="{% prefix %}/static/css/gs.css" rel="stylesheet" type="text/css" / -->
+ <!-- link type="text/css" href="{% prefix %}/static/css/sunet/jquery-ui-1.8.11.custom.css" rel="stylesheet" -->
{% block meta %}{% endblock %}
- <script type="text/javascript" src="{% prefix %}/static/js/jquery-1.5.1.min.js"></script>
- <script type="text/javascript" src="{% prefix %}/static/js/jquery-ui-1.8.11.custom.min.js"></script>
+ <script type="text/javascript" src="{% prefix %}/static/js/jquery-1.7.2.min.js"></script>
+ <script type="text/javascript" src="{% prefix %}/static/js/less-1.3.0.min.js"></script>
+ <script type="text/javascript" src="{% prefix %}/static/bootstrap/js/bootstrap.min.js"></script>
+ <!-- script type="text/javascript" src="{% prefix %}/static/js/jquery-ui-1.8.11.custom.min.js"></script -->
<script type="text/javascript" src="{% prefix %}/static/js/jquery.validate.js"></script>
<script type="text/javascript" src="{% prefix %}/static/js/bbq.js"></script>
- <script type="text/javascript" src="{% prefix %}/static/js/jquery.form.wizard-3.0.4.js"></script>
+ <!-- script type="text/javascript" src="{% prefix %}/static/js/jquery.form.wizard-3.0.4.js"></script-->
<script type="text/javascript" src="{% prefix %}/static/js/jquery.meetingtools.js"></script>
- <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="{% prefix %}/static/js/excanvas.min.js"></script><![endif]-->
+
+ <!--[if lte IE 8]>
+ <script language="javascript" type="text/javascript" src="{% prefix %}/static/js/excanvas.min.js"></script>
+ <![endif]-->
<script type="text/javascript" src="{% prefix %}/static/js/jquery.flot.min.js"></script>
<script type="text/javascript" src="{% prefix %}/static/js/spin.min.js"></script>
<script type="text/javascript" src="{% prefix %}/static/js/jquery.spin.js"></script>
+ <script type="text/javascript" src="{% prefix %}/static/js/prettify.js"></script>
<!--[if IE]>
- <link href="css/sunet-ie6.css" rel="stylesheet" type="text/css" />
+ <!-- link href="css/sunet-ie6.css" rel="stylesheet" type="text/css" /-->
<![endif]-->
<!--[if lt IE 8]>
<style>
@@ -30,12 +38,15 @@
}
</style>
<![endif]-->
- <script type="text/javascript" charset="utf-8">
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+ <!-- script type="text/javascript" charset="utf-8">
var is_ssl = ("https:" == document.location.protocol);
var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript" charset="utf-8">
+ </script -->
+ <!-- script type="text/javascript" charset="utf-8">
var feedback_widget_options = {};
feedback_widget_options.display = "overlay";
@@ -51,62 +62,73 @@
GSFN.feedback_widget.prototype.local_ssl_base_url = "https://getsatisfaction.com";
var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
- </script>
+ </script -->
{% block js %}{% endblock %}
<script type="text/javascript">
$(function() {
- $("input:submit, input:button, input:reset, a",".button").button();
+ prettyPrint();
{% block widgets %}{% endblock %}
});
</script>
</head>
<body>
- <div id="container">
- <div id="header">
- <div class="centered">
- <ul class="ilist">
- <li><a href="#"><img src="{% prefix %}/static/img/sunet.jpg" /></a></li>
- <li style="vertical-align: super;"><a href="#"><h1>Meeting Tools</h1></a></li>
- </ul>
- </div>
- </div>
- <div id="content">
- <div class="centered">{% block content %}{% endblock %}</div>
- </div>
- <div class="clear"/>
- <div id="footer">
- <div class="centered">
- <ul class="list-of-lists">
- <li>
- <ul>
- <li><h3>Users</h3></li>
- <li><a class="tip" title="Your list of meeting resources.." href="{% prefix %}/rooms">My Profile</a></li>
- <li><a class="tip" title="Find out how much you use e-meetings..." href="{% prefix %}/stats">Usage Statistics</a></li>
- <li><a class="tip" title="Logout" id="logout" href="{% prefix %}/accounts/logout">Logout</a></li>
- </ul>
- </li>
- <li>
- <ul>
- <li><h3>Support</h3></li>
- <li><a class="tip" title="SUNET" href="http://www.sunet.se">SUNET</a></li>
- <li><a class="tip" title="SUNET Community Support" href="http://community.sunet.se">SUNET Community Support</a></li>
- </ul>
- </li>
- <li>
- <ul>
- <li><h3>Developers</h3></li>
- {% if tagstring %}
- <li><a href="{% prefix %}/widget/+{{tagstring}}">Meetingtools jQuery widget</a></li>
- {% else %}
- <li><a href="{% prefix %}/widget/+example">Meetingtools jQuery widget</a></li>
- {% endif %}
- </ul>
- </li>
- </ul>
- <div style="float: right; margin-top: 10px;">
+ <div class="navbar">
+ <div class="navbar-inner">
+ <a class="brand logo" href="#">Meeting Tools</a>
+ {% if user.is_authenticated %}
+ <div class="login pull-right">
+ <a style="margin-right:10px;" href="/user/home">{{user}}</a>
+ <a style="vertical-align: bottom;" class="btn btn-mini" href="/accounts/logout"><i class="icon-off"></i> Logout</a>
+ </div>
+ {% else %}
+ <div class="login pull-right">
+ <a href="/accounts/login-federated">Login</a>
+ </div>
+ {% endif %}
+ </div>
+ </div>
+
+ <div class="container">
+ <div class="row">
+ <div class="span12">
+ {% block content %}{% endblock %}
+ </div>
+ <!--
+ <div class="span3">
+ {% block sidebar %}hej{% endblock %}
+ </div>
+ -->
+ </div>
+ <div class="clearfix"></div>
+ <div class="row" style="margin-top: 50px; padding-top: 10px; border-top: 1px solid #bbccdd;">
+ <div class="span3">
+ <ul class="unstyled">
+ <li><h3>Users</h3></li>
+ <li><a class="tip" title="Your list of meeting resources.." href="{% prefix %}/rooms">My Profile</a></li>
+ <li><a class="tip" title="Find out how much you use e-meetings..." href="{% prefix %}/stats">Usage Statistics</a></li>
+ <li><a class="tip" title="Logout" id="logout" href="{% prefix %}/accounts/logout">Logout</a></li>
+ </ul>
+ </div>
+ <div class="span3">
+ <ul class="unstyled">
+ <li><h3>Support</h3></li>
+ <li><a class="tip" title="SUNET" href="http://www.sunet.se">SUNET</a></li>
+ <li><a class="tip" title="SUNET Community Support" href="http://community.sunet.se">SUNET Community Support</a></li>
+ </ul>
+ </div>
+ <div class="span3">
+ <ul class="unstyled">
+ <li><h3>Developers</h3></li>
+ {% if tagstring %}
+ <li><a href="{% prefix %}/widget/+{{tagstring}}">Meetingtools jQuery widget</a></li>
+ {% else %}
+ <li><a href="{% prefix %}/widget/+example">Meetingtools jQuery widget</a></li>
+ {% endif %}
+ </ul>
+ </div>
+ <div class="span3">
{% block validators %}{% endblock %}
- </div>
</div>
</div>
</div>