summaryrefslogtreecommitdiff
path: root/templates/base.html
blob: 5353fdd9671994cc6351884df13122cee4761b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!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="{{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="{{STATIC_URL}}/js/excanvas.min.js"></script>
    <![endif]-->

	<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 -->
	<![endif]-->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
	<script type="text/javascript" src="{{theme.base}}/theme.js"></script>
	{% block js %}{% endblock %}
	<script type="text/javascript">
	$(function() {
        prettyPrint();
	    {% block widgets %}{% endblock %}
	});
	</script>
	
</head>
<body>
    <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="/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 style="vertical-align: bottom;" class="btn btn-mini" href="/accounts/login-federated"><i class="icon-home"></i> 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="/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">
                <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="/widget/+{{tagstring}}">Meetingtools jQuery widget</a></li>
                    {% else %}
                    <li><a href="/widget/+example">Meetingtools jQuery widget</a></li>
                    {% endif %}
                </ul>
            </div>
            <div class="span3">
					{% block validators %}{% endblock %}
			</div>
		</div>
	</div>
    <script type="text/javascript">
        $(function() {
            location.hash && $(location.hash + '.collapse').collapse('show');
        });
    </script>
</body>
</html>