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.html86
1 files changed, 30 insertions, 56 deletions
diff --git a/src/templates/base.html b/src/templates/base.html
index 0df70d7..4bd9d80 100644
--- a/src/templates/base.html
+++ b/src/templates/base.html
@@ -1,68 +1,42 @@
-{% load prefix %}
<!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/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.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.meetingtools.js"></script>
+ <link type="text/css" href="{{STATIC_URL}}/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
+ <link href="{{STATIC_URL}}/css/prettify.css" rel="stylesheet"/>
+ <link href="{{theme.base}}/lavish.less" rel="stylesheet/less" type="text/css" />
+ <link href="{{STATIC_URL}}/css/style.css" rel="stylesheet" type="text/css" />
+ <link href="{{STATIC_URL}}/css/gs.css" rel="stylesheet" type="text/css" />
+
+ <script type="text/javascript" src="{{STATIC_URL}}/js/jquery-1.7.2.min.js"></script>
+ <script type="text/javascript" src="{{STATIC_URL}}/js/less-1.3.0.min.js"></script>
+ <script type="text/javascript" src="{{STATIC_URL}}/bootstrap/js/bootstrap.min.js"></script>
+ <script type="text/javascript" src="{{STATIC_URL}}/js/jquery.validate.js"></script>
+ <script type="text/javascript" src="{{STATIC_URL}}/js/bbq.js"></script>
+ <script type="text/javascript" src="{{STATIC_URL}}/js/jquery.meetingtools.js"></script>
<!--[if lte IE 8]>
- <script language="javascript" type="text/javascript" src="{% prefix %}/static/js/excanvas.min.js"></script>
+ <script language="javascript" type="text/javascript" src="{{STATIC_URL}}/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" /-->
- <![endif]-->
- <!--[if lt IE 8]>
- <style>
+
+ <script type="text/javascript" src="{{STATIC_URL}}/js/jquery.flot.min.js"></script>
+ <script type="text/javascript" src="{{STATIC_URL}}/js/spin.min.js"></script>
+ <script type="text/javascript" src="{{STATIC_URL}}/js/jquery.spin.js"></script>
+ <script type="text/javascript" src="{{STATIC_URL}}/js/prettify.js"></script>
+
+ {% block meta %}{% endblock %}
+ <!-- style>
.menu li {
display: inline;
}
- </style>
+ </style -->
<![endif]-->
<!--[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">
- var feedback_widget_options = {};
-
- feedback_widget_options.display = "overlay";
- feedback_widget_options.company = "sunet";
- feedback_widget_options.placement = "right";
- feedback_widget_options.color = "#222";
- feedback_widget_options.style = "idea";
- feedback_widget_options.product = "sunet_connect";
-
- feedback_widget_options.limit = "3";
-
- GSFN.feedback_widget.prototype.local_base_url = "http://getsatisfaction.com";
- GSFN.feedback_widget.prototype.local_ssl_base_url = "https://getsatisfaction.com";
-
- var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
- </script -->
+ <script type="text/javascript" src="{{theme.base}}/theme.js"></script>
{% block js %}{% endblock %}
<script type="text/javascript">
$(function() {
@@ -78,12 +52,12 @@
<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="margin-right:10px;" href="/rooms">{{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>
+ <a style="vertical-align: bottom;" class="btn btn-mini" href="/accounts/login-federated"><i class="icon-home"></i> Login</a>
</div>
{% endif %}
</div>
@@ -105,9 +79,9 @@
<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>
+ <li><a class="tip" title="Your list of meeting resources.." href="/rooms">My Profile</a></li>
+ <li><a class="tip" title="Find out how much you use e-meetings..." href="/stats">Usage Statistics</a></li>
+ <li><a class="tip" title="Logout" id="logout" href="/accounts/logout">Logout</a></li>
</ul>
</div>
<div class="span3">
@@ -121,9 +95,9 @@
<ul class="unstyled">
<li><h3>Developers</h3></li>
{% if tagstring %}
- <li><a href="{% prefix %}/widget/+{{tagstring}}">Meetingtools jQuery widget</a></li>
+ <li><a href="/widget/+{{tagstring}}">Meetingtools jQuery widget</a></li>
{% else %}
- <li><a href="{% prefix %}/widget/+example">Meetingtools jQuery widget</a></li>
+ <li><a href="/widget/+example">Meetingtools jQuery widget</a></li>
{% endif %}
</ul>
</div>